Re: autonomous transactions

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: autonomous transactions
Дата
Msg-id 47A0AE1C.8090200@agliodbs.com
обсуждение исходный текст
Ответ на Re: autonomous transactions  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: autonomous transactions  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-hackers
All,

> 
> Added to TODO:
> 
> * Add anonymous transactions
> 
>   http://archives.postgresql.org/pgsql-hackers/2008-01/msg00893.php
>

IMHO, autonomous transactions should be part of a package with a 
spec-compliant CREATE PROCEDURE statement.    That is, the difference 
between PROCEDURES and FUNCTIONS would be that:

-- PROCs have autonomous transactions
-- PROCs have to be excuted with CALL, and can't go in a query
-- PROCs don't necessarily return a result

--Josh Berkus


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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: Truncate Triggers
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: autonomous transactions