pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bo Lorentsen <bl@netgroup.dk>
To: Jan Wieck <janwieck@yahoo.com>
Cc: pgsql-sql <pgsql-sql@postgresql.org>
Subject: Re: Large data sets and FOR LOOP's
Date: 14 Mar 2002 08:57:52 +0100
Message-ID: <1016092672.878.14.camel@netgroup> (raw)
In-Reply-To: <200203131629.g2DGTRp31887@saturn.janwieck.net>
References: <200203131629.g2DGTRp31887@saturn.janwieck.net>

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




view thread (7+ messages)  latest in thread

Message-ID: <1016092672.878.14.camel@netgroup>
Permalink:  ../1016092672.878.14.camel@netgroup/
Also on:    postgresql.org/message-id/1016092672.878.14.camel@netgroup

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: bl@netgroup.dk, janwieck@yahoo.com
  Subject: Re: Large data sets and FOR LOOP's
  In-Reply-To: <1016092672.878.14.camel@netgroup>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox