Re: Updatable cursor doubt

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: "Heikki Linnakangas" <heikki(at)enterprisedb(dot)com>, "FAST PostgreSQL" <fastpgs(at)fast(dot)fujitsu(dot)com(dot)au>
Cc: "PostgreSQL-development" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Updatable cursor doubt
Date: 2007-09-04 13:38:48
Message-ID: 46DD1998.EE98.0025.0@wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

>>> On Tue, Sep 4, 2007 at 4:16 AM, in message
<46DD226F(dot)7060602(at)enterprisedb(dot)com>, "Heikki Linnakangas"
<heikki(at)enterprisedb(dot)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 <cursor specification>

<cursor specification> ::=
<query expression> [ <order by clause> ]
[ <updatability clause> ]

<updatability clause> ::=
FOR { READ ONLY | UPDATE [ OF <column name list> ] }

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2007-09-04 13:53:01 Re: tsearch filenames unlikes special symbols and numbers
Previous Message Pavel Stehule 2007-09-04 12:43:04 Re: integrated tsearch has different results than tsearch2