[postgis-devel] reversible load/dump

strk strk at keybit.net
Wed Apr 21 02:18:02 PDT 2004


I've modified pgsql2shp and shp2pgsql to try at being
reversible processes. The loader will perform
escaping of attributes with reserved names, while
the dumper will unescape attribute names and skip
the enforced 'gid' field.

Since you might be willing to dump a table NOT created
by the dumper pgsql2shp has a -r switch (Raw mode)
which disable gid skip and att names unescaping.

Enjoy,
--strk;



More information about the postgis-devel mailing list