Re: Fun with Cursors- how to rewind a cursor

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Fun with Cursors- how to rewind a cursor
Дата
Msg-id 1646.1172813624@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Fun with Cursors- how to rewind a cursor  ("Postgres User" <postgres.developer@gmail.com>)
Ответы Re: Fun with Cursors- how to rewind a cursor
Список pgsql-general
"Postgres User" <postgres.developer@gmail.com> writes:
> So I added the following code:

> <before opening cursor>     ref_entry = 'c_entry';
> <after looping thru cursor>  MOVE Backward All In c_entry;

You have to use EXECUTE for the latter.

            regards, tom lane

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

Предыдущее
От: "Eddy D. Sanchez"
Дата:
Сообщение: Re: Add items to a record variable
Следующее
От: "Postgres User"
Дата:
Сообщение: Re: Fun with Cursors- how to rewind a cursor