Re: Cursor

Поиск
Список
Период
Сортировка
От Klint Gore
Тема Re: Cursor
Дата
Msg-id 488FACE5.5040401@une.edu.au
обсуждение исходный текст
Ответ на Re: Cursor  (Christophe <xof@thebuild.com>)
Ответы Re: Cursor  (Christophe <xof@thebuild.com>)
Список pgsql-general
Christophe wrote:
> On Jul 29, 2008, at 2:35 PM, Tom Lane wrote:
> > No, he does need an OPEN.
>
> Really?  I thought that PG didn't use OPEN:
>
> "The PostgreSQL server does not implement an OPEN statement for
> cursors; a cursor is considered to be open when it is declared."
>
>     http://www.postgresql.org/docs/8.3/interactive/sql-declare.html
>
It's different in PL/pgSQL.

"Before a cursor can be used to retrieve rows, it must be opened. (This
is the equivalent action to the SQL command DECLARE CURSOR.)"

http://www.postgresql.org/docs/8.3/interactive/plpgsql-cursors.html


klint.

--
Klint Gore
Database Manager
Sheep CRC
A.G.B.U.
University of New England
Armidale NSW 2350

Ph: 02 6773 3789
Fax: 02 6773 3266
EMail: kgore4@une.edu.au


В списке pgsql-general по дате отправления:

Предыдущее
От: "Scott Marlowe"
Дата:
Сообщение: Re: How do I set up automatic backups?
Следующее
От: Christophe
Дата:
Сообщение: Re: Cursor