<div dir="ltr"><div>You can have this in both scenario,<br></div>you can put a transaction on top of everything.<br>Insert on multiple line is faster, yet copy is even faster. <br>Does shp2pgsql uses it?<br>Cheers,<br>RĂ©mi-C<br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-07-18 11:36 GMT+02:00 Mark Cave-Ayland <span dir="ltr"><<a href="mailto:mark.cave-ayland@ilande.co.uk" target="_blank">mark.cave-ayland@ilande.co.uk</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On 18/07/14 10:17, Sandro Santilli wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
It looks like shp2pgsql doesn't do INSERT in multiple<br>
transactions anymore, but I couldn't figure out since when.<br>
<br>
It used to do 250 inserts per transaction around 2004, do<br>
you know when was that changed and why ?<br>
</blockquote>
<br></div>
Not sure - check the history? However I would definitely have argued to remove this, given as I have personal experience that the time cost of manually sorting through a partial committed shapefile is exponentially larger than failing individual queued shapefiles so you easily know which files you need to retry.<br>

<br>
<br>
ATB,<br>
<br>
Mark.<div class="HOEnZb"><div class="h5"><br>
<br>
______________________________<u></u>_________________<br>
postgis-devel mailing list<br>
<a href="mailto:postgis-devel@lists.osgeo.org" target="_blank">postgis-devel@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-devel" target="_blank">http://lists.osgeo.org/cgi-<u></u>bin/mailman/listinfo/postgis-<u></u>devel</a><br>
</div></div></blockquote></div><br></div>