cursors

From: Cesar Alvarez <c(dot)alvarezx66(at)gmail(dot)com>
To: PGSQL GEneral Mailing list <pgsql-general(at)postgresql(dot)org>
Subject: cursors
Date: 2007-11-24 22:09:29
Message-ID: 4748A119.1060607@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello every one.
im trying to make a Loop and i found in the manual this.

FOR <target> IN <query> LOOP
<statements>
END LOOP

Can i use cursor instead of the Query in the loop?? ,
this es more legible than using the open/fetch/close of the cursor.

Regard Cesar Alvarez.

Attachment Content-Type Size
c_alvarezx66.vcf text/x-vcard 120 bytes

Responses

  • Re: cursors at 2007-11-24 22:23:32 from Pavel Stehule

Browse pgsql-general by date

  From Date Subject
Next Message Pavel Stehule 2007-11-24 22:23:32 Re: cursors
Previous Message Steve Atkins 2007-11-24 17:06:23 Re: Disk arrangement in a cheap server