[Newbies] PostgresV2 and bulk resultsets

Franz Josef Konrad franzl at fjkonrad.de
Tue Nov 27 16:01:53 UTC 2007


This should help you...
<http://article.gmane.org/gmane.comp.lang.smalltalk.squeak.general/109157>
I don't know if there is an API in newer versions from Postgresql where 
you can query the number in the result set.

Regards,
Franz Josef

Petr Fischer schrieb:
> Hi,
>
> if I call:
> conn execute: 'select * from one_milion_table'
> it seems that all table rows are loaded into memory - right?
>
> Is there an easy way to only iterate (do:) result set records without 
> internal loading bulky resultset into some sort of internal arrays?
>
> Thanks, pf
> ------------------------------------------------------------------------
>
> _______________________________________________
> Beginners mailing list
> Beginners at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/mailman/listinfo/beginners
>   



More information about the Beginners mailing list