[postgis-devel] [PostGIS] #1008: Too many columns in select crashes pgsql2shp

PostGIS trac at osgeo.org
Sat Jul 2 06:46:19 PDT 2011


#1008: Too many columns in select crashes pgsql2shp
---------------------------+------------------------------------------------
 Reporter:  joshjordan     |       Owner:  mcayland     
     Type:  defect         |      Status:  new          
 Priority:  medium         |   Milestone:  PostGIS 2.0.0
Component:  loader/dumper  |     Version:  trunk        
 Keywords:  pgsql2shp      |  
---------------------------+------------------------------------------------

Comment(by mcayland):

 Rather than keep MAX_QUERY_LEN static, it would make more sense to be a
 bit more intelligent about allocating space for the main query. Does the
 attached patch solve your problem?

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1008#comment:6>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-devel mailing list