PL/pgSQL & Cursors

Поиск
Список
Период
Сортировка
От Dwelle, Timothy
Тема PL/pgSQL & Cursors
Дата
Msg-id 0C95935DA0D5D3118E9800A0C9824CD02B8A19@mail.xperts.com
обсуждение исходный текст
Ответы Re: PL/pgSQL & Cursors  (wieck@debis.com (Jan Wieck))
Список pgsql-sql
I have been playing around with the PL/pgSQL stuff, and I have
been having trouble getting cursors to work inside my PL/pgSQL
functions.  Reading through the documentation, I see that:

(1) cursors must occur inside a transaction, and
(2) PL/pgSQL functions cannot start or end a transaction

Does this mean there is no way to use cursors inside a
PL/pgSQL function?

Any help would be appreciated.


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Maxima per row
Следующее
От: Andy Lewis
Дата:
Сообщение: Cursors and PHP