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

PostGIS trac at osgeo.org
Wed Jun 8 11:43:32 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 strk):

 The code uses a lot of 'strcat' where 'strncat' should be used instead.
 Also, the current limit should be raised for this case to be supported.

 #define MAX_QUERY_LEN   2048

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1008#comment:1>
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