[postgis-devel] shp2pgsql transactions

strk strk at keybit.net
Wed Oct 21 08:53:16 PDT 2009


On Wed, Oct 21, 2009 at 04:03:28PM +0100, Mark Cave-Ayland wrote:
> Michael Orlitzky wrote:
> 
> >I see that the shp2pgsql utility is adding END/BEGIN transaction 
> >delimiters once for every 250 INSERT statements.
> 
> Yeah; I'm not a fan of this since generally you either want everything 
> in a transaction or you don't. I'd like to propose just adding a single 
> transaction block around the whole file, which people can then strip off 
> really easily if they don't want it.

+1

--strk;

 Free GIS & Flash consultant/developer      ()  ASCII Ribbon Campaign
 http://foo.keybit.net/~strk/services.html  /\  Keep it simple! 



More information about the postgis-devel mailing list