Re: Nested Transactions, Abort All

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Nested Transactions, Abort All
Дата
Msg-id 20040701223841.GD13816@dcc.uchile.cl
обсуждение исходный текст
Ответ на Nested Transactions, Abort All  (Thomas Swan <tswan@idigx.com>)
Ответы Re: Nested Transactions, Abort All
Re: Nested Transactions, Abort All
Список pgsql-hackers
On Thu, Jul 01, 2004 at 02:01:37PM -0500, Thomas Swan wrote:
> Is there going to be an option to abort the complete transaction without 
> knowing how deep you are?  Perhaps something like "ABORT ALL".
> 
> The reason I suggest this, is that I can foresee an application or user 
> leaving nested transactions open inadvertently, or not knowing how 
> deeply nested they are when they are called.  It's just a thought, and I 
> didn't recall any mention of something like it on the list.

If we change the syntax, say by using SUBCOMMIT/SUBABORT for
subtransactions, then using a simple ABORT would abort the whole
transaction tree.

-- 
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
Oh, oh, las chicas galacianas, lo harán por las perlas,
¡Y las de Arrakis por el agua! Pero si buscas damas
Que se consuman como llamas, ¡Prueba una hija de Caladan! (Gurney Halleck)



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

Предыдущее
От: Potemkin Evgen
Дата:
Сообщение: Re: recursive SQL
Следующее
От: "Najib Abi Fadel"
Дата:
Сообщение: Creating a selective aggregate ??