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

PostGIS trac at osgeo.org
Thu Jun 9 09:10:46 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 joshjordan):

 Exporting a dbf that is out of spec may well cause a crash, but this crash
 is caused by query string length, not dbf record length.  It will crash
 even when the exported dbf meets dbf spec when the select statement is
 over 2048 chars.  I changed my buffer to 8192 and no problems since then.

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