PL/PGSQL CURSOR looping/iteration - PG 8.3

From: <cyw(at)dls(dot)net>
To: "Postgres General List" <pgsql-general(at)postgresql(dot)org>
Subject: PL/PGSQL CURSOR looping/iteration - PG 8.3
Date: 2008-10-08 15:48:22
Message-ID: 1865C9721FF546CB9BCF5304BE8C078A@nc05072019
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I see some proposal for implementing FOR loop for cursor in PG 8.4, but I could not found documentaion on how to loop or iterate thru a cursor in PG 8.3 or earler versions?

I guess I could do a FOR loop if I know the size of a cursor? How to find the size of a cursor?

Thanks,
CYW

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2008-10-08 15:55:09 Re: PL/PGSQL CURSOR looping/iteration - PG 8.3
Previous Message Grzegorz Jaśkiewicz 2008-10-08 15:36:35 Re: Understanding 8.4 new WITH syntax