[postgis-tickets] [PostGIS] #4994: shp2pgsql is sometimes missing the INSERT statements

PostGIS trac at osgeo.org
Tue Sep 28 04:14:36 PDT 2021


#4994: shp2pgsql is sometimes missing the INSERT statements
----------------------------+---------------------------
  Reporter:  myon           |      Owner:  robe
      Type:  defect         |     Status:  new
  Priority:  medium         |  Milestone:  PostGIS 3.1.5
 Component:  loader/dumper  |    Version:  2.5.x
Resolution:                 |   Keywords:
----------------------------+---------------------------
Changes (by strk):

 * cc: pramsey (added)


Comment:

 Actually I'm wrong: using the latest dbfopen.c does fix the valgrind error
 but results in no records being used.

 Rerting commit [595f840ebc479657adac9143cfaf890faba72f99/git] instead
 fixes the valgrind reported error while still passing testsuite.
 Paul: that commit was yours

 Note that when reverting the above commit we get on stderr this printed:
 fread(1) failed on DBF file

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4994#comment:12>
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-tickets mailing list