[postgis-users] PATCH: shp2pgsql: \,' escaping, NULL attributes, gid

Steffen Macke sdteffen at web.de
Sat Jul 6 01:41:07 PDT 2002


The attached patch to shp2pgsql.c fixes a number of glitches in
the shapefile importer:

* NULL attributes are imported as NULL now

* The gid field renaming works now (case problem)

* \ and ' are escaped and don't break the import

This should make the import more robust.

Steffen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-shp2pgsql-07july2002.diff.gz
Type: application/x-gzip
Size: 1038 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20020706/582375a6/attachment.bin>


More information about the postgis-users mailing list