>>> On Tue, Sep 4, 2007 at 4:16 AM, in message
<46DD226F.7060602@enterprisedb.com>, "Heikki Linnakangas"
<heikki@enterprisedb.com> wrote:
>
> FOR READ ONLY is actually part of the SELECT syntax. 13.1 <declare cursor>
Function
Define a cursor.
Format
<declare cursor> ::= DECLARE <cursor name> [ INSENSITIVE ] [ SCROLL ] CURSOR FOR
<cursorspecification>
<cursor specification> ::= <query expression> [ <order by clause> ] [ <updatability
clause>]
<updatability clause> ::= FOR { READ ONLY | UPDATE [ OF <column name list> ] }