cursors - Mailing list pgsql-general

From Cesar Alvarez
Subject cursors
Date
Msg-id 4748A119.1060607@gmail.com
Whole thread Raw
Responses Re: cursors  ("Pavel Stehule" <pavel.stehule@gmail.com>)
List 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

pgsql-general by date:

Previous
From: Steve Atkins
Date:
Subject: Re: Disk arrangement in a cheap server
Next
From: "Pavel Stehule"
Date:
Subject: Re: cursors