Re: [HACKERS] Standards question

From: "Thomas G(dot) Lockhart" <lockhart(at)alumni(dot)caltech(dot)edu>
To: "Dr(dot) Michael Meskes" <meskes(at)online-club(dot)de>
Cc: PostgreSQL Hacker <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: [HACKERS] Standards question
Date: 1998-08-05 01:39:54
Message-ID: 35C7B7EA.D7DFF5C3@alumni.caltech.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Roland Roberts 1998-08-05 02:00:09 Re: [HACKERS] Standards question
Previous Message Bruce Momjian 1998-08-05 01:18:28 OR clause status