[postgis-devel] shp2pgsql patch

Markus Schaber markus at schabi.de
Fri Apr 1 08:34:37 PST 2005


Hi, Strk,

Refactoring the main loop into its own function makes the patch
noticeably smaller.

I now also moved the deletion of old tables (-d mode) into the
BEGIN;END; block. This protects the user from losing his old table when
the insertion of new data fails.

Or are there any good reasons to exclude this from transaction?

Markus
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: prepare3.diff
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20050401/cb696aa7/attachment.ksh>


More information about the postgis-devel mailing list