Re: [HACKERS] Standards question - Mailing list pgsql-hackers

From Thomas G. Lockhart
Subject Re: [HACKERS] Standards question
Date
Msg-id 35C7B7EA.D7DFF5C3@alumni.caltech.edu
Whole thread Raw
In response to Standards question  ("Dr. Michael Meskes" <meskes@online-club.de>)
List pgsql-hackers
> i=1;
> exec sql declare C cursor for select name from table where nr=:i;
> i=2;
> exec sql open C;
> Which row will be selected?

Things should evaluate at the "open". I recall that the cursor
declaration is allowed to happen up in the declarations section of the
program or routine (at least on my old Ingres installation)...

                   - Tom

pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: OR clause status
Next
From: Roland Roberts
Date:
Subject: Re: [HACKERS] Standards question