pl/pgsql for loops

From: Tomasz Myrta <jasiek(at)klaster(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: pl/pgsql for loops
Date: 2008-11-15 13:11:54
Message-ID: gfmhqr$1gfr$1@news.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello

I have some "for x in select ..." loops which compares current record
with previous ones. Is it possible to check if such loop is reaching
final pass?

Now, I check "found" variable after the loop and usually duplicate part
of it's code.

--
Regards,
Tomasz Myrta

Browse pgsql-general by date

  From Date Subject
Next Message Scott Ribe 2008-11-15 16:33:13 Re: Database access over the Internet...
Previous Message Craig Ringer 2008-11-15 08:53:12 Re: Res: Archive files growth!!!