[postgis-devel] loader incompatibility

strk at refractions.net strk at refractions.net
Fri Apr 1 01:54:28 PST 2005


On Fri, Apr 01, 2005 at 10:49:36AM +0100, Mark Cave-Ayland wrote:
...
> > ROWBUFLEN=1000 pgsql2shp db table
> > ROWBUFLEN=100 pgsql2shp db table
> > ROWBUFLEN=10 pgsql2shp db table
> > ROWBUFLEN=1 pgsql2shp db table
> 
> Hmmm but as I see it the while() loop cycles through each of the 100 fetched
> records and not each *set* of 100 records? I'd expect there to be an outer
> loop somewhere with the "FETCH %d FROM cur" inside it, i.e. there should be
> another outer while() loop somewhere around line 256....?

Mark, does spring have this effect on you ? :P
Comment on line 268 states what happen at each while(1) loop (on line 264).
Loop on line 285 scans the fetched records.

--strk;

> 
> 
> Kind regards,
> 
> Mark.
> 
> ------------------------
> WebBased Ltd
> South West Technology Centre
> Tamar Science Park
> Plymouth
> PL6 8BT 
> 
> T: +44 (0)1752 791021
> F: +44 (0)1752 791023
> W: http://www.webbased.co.uk
> 
> 
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-devel



More information about the postgis-devel mailing list