[postgis-devel] [postgis-users] Changing transaction behaviour in shp2pgsql

strk strk at keybit.net
Sun Mar 14 14:35:44 PDT 2010


On Sun, Mar 14, 2010 at 04:58:02PM +0700, Ben Madin wrote:

> in the event I can't work out the encoding, is there any way to turn off the transaction behaviour, ie I'm happy to miss 4 records, but not 1000 as a result of the transactions being aborted. (short of putting it all into a text file and removing all the begin and commit commands...)

Feel like working on a patch to make "transaction policy" selectable
with a switch ?

  -T <policy> transaction policy (single*,none)

Current policy is chunked, dunno for what rationale..

--strk;

  ()   Free GIS & Flash consultant/developer
  /\   http://strk.keybit.net/services.html



More information about the postgis-devel mailing list