Re: Does psql use nested transactions?

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Does psql use nested transactions?
Дата
Msg-id 200408171714.i7HHEjR23200@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: Does psql use nested transactions?  (Philip Warner <pjw@rhyme.com.au>)
Ответы Re: Does psql use nested transactions?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Philip Warner wrote:
> At 01:47 AM 12/08/2004, Tom Lane wrote:
> >It might be reasonable to offer that behavior as an option, but I think
> >I'd only want it on for interactive input.
> 
> My preference would be for something like:
> 
>     set savepoint_per_statement=true
> 
> then interactive & scripts could choose to use either feature.

Added to TODO list:

* Add an option to automatically use savepoints for each statement in a multi-statement transaction.
 When enabled, this would allow errors in multi-statement transactions to be automatically ignored.


--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: pg_restore (libpq? parser?) bug in 8
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Does psql use nested transactions?