Re: transactions and cursors......

Поиск
Список
Период
Сортировка
От Dan Langille
Тема Re: transactions and cursors......
Дата
Msg-id 200202272015.g1RKExk94176@lists.unixathome.org
обсуждение исходный текст
Ответ на transactions and cursors......  (Chris Pesko <cpesko@organic.com>)
Список pgsql-admin
On 27 Feb 2002 at 9:30, Chris Pesko wrote:

> Can I put transactions and cursors into functions?

No.

> As soon as I put BEGIN;
> and COMMIT; wrapping an insert statement within a function, I get errors.
> Do these programs need to reside outside of the database?

AFAIK, yes.
--
Dan Langille
The FreeBSD Diary - http://freebsddiary.org/ - practical examples


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

Предыдущее
От: Chris Pesko
Дата:
Сообщение: transactions and cursors......
Следующее
От: "Zhang, Anna"
Дата:
Сообщение: optimizer