Re: Named transaction

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: Named transaction
Дата
Msg-id 4A3928ED.2010407@dunslane.net
обсуждение исходный текст
Ответ на Re: Named transaction  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Named transaction  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-hackers

Tom Lane wrote:
> Pavel Golub <pavel@microolap.com> writes:
>   
>> Is there any possibility that Postgres will have named transaction
>> ever, like Firebird?
>>     
>
> What in heck is a named transaction, and why should we care?
>
>             
>   

Isn't this just another name for a subtransaction or inner transaction 
that can be separately committed?
   begin transaction bar;   ...   begin transaction foo;   ...   commit foo;   ...   rollback bar;



foo's work is still committed.

People have been hacking this up using dblink calls, I believe, but 
that's a horrid kludge.

cheers

andrew


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: GRANT ON ALL IN schema
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Named transaction