AW: PL/pgSQL CURSOR support

From: Zeugswetter Andreas SB <ZeugswetterA(at)wien(dot)spardat(dot)at>
To: "'Jan Wieck'" <JanWieck(at)Yahoo(dot)com>, PostgreSQL HACKERS <pgsql-hackers(at)postgresql(dot)org>
Subject: AW: PL/pgSQL CURSOR support
Date: 2001-05-22 09:32:40
Message-ID: 11C1E6749A55D411A9670001FA6879633682EA@sdexcsrv1.f000.d0188.sd.spardat.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


> Explicit cursor can be declared as:
>
> DECLARE
> ...
> curname CURSOR [(argname type [, ...])]
> IS <select_stmt>;

In esql you would have FOR instead of IS.

DECLARE curname CURSOR ... FOR ....

Thus the question, where is the syntax from ?
There seems to be a standard for "the" SQL stored procedure language:

"Persistent Stored Module definition of the ANSI SQL99 standard" (quote from DB/2)
Anybody know this ?

Andreas

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Sergey E. Volkov 2001-05-22 09:54:22 Re: PL/pgSQL CURSOR support
Previous Message Zeugswetter Andreas SB 2001-05-22 09:27:19 AW: AW: Plans for solving the VACUUM problem