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

Paul Ramsey pramsey at refractions.net
Sat Jul 6 08:16:49 PDT 2002


Committed.
P.

Steffen Macke wrote:
> 
> 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
> 
>   ------------------------------------------------------------------------
>                                          Name: patch-shp2pgsql-07july2002.diff.gz
>    patch-shp2pgsql-07july2002.diff.gz    Type: application/x-gzip
>                                      Encoding: base64




More information about the postgis-users mailing list