Re: Large data sets and FOR LOOP's

From: Bo Lorentsen <bl(at)netgroup(dot)dk>
To: Jan Wieck <janwieck(at)yahoo(dot)com>
Cc: pgsql-sql <pgsql-sql(at)postgresql(dot)org>
Subject: Re: Large data sets and FOR LOOP's
Date: 2002-03-14 07:57:52
Message-ID: 1016092672.878.14.camel@netgroup
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On Wed, 2002-03-13 at 17:29, Jan Wieck wrote:

> You probably want to upgrade to 7.2, because 7.2's PL/pgSQL
> uses the newly available SPI cursors silently in FOR loops.
This sounds good, I like to upgrade anyway, also to take advantage of
the new vaccum.

> Releases before 7.2 loaded the entire result set into memory
> (ahem, swap space) before entering the FOR loop.
This was what I guested, too :-)

Would a cursor have helped any ?

/BL

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Bo Lorentsen 2002-03-14 08:06:39 Re: checking for existence of a table in plpgsql.
Previous Message Bhuvan A 2002-03-14 05:40:35 checking for existence of a table in plpgsql.