Re: feature request: auto savepoint for interactive psql when in transaction.

Поиск
Список
Период
Сортировка
От Marko Tiikkaja
Тема Re: feature request: auto savepoint for interactive psql when in transaction.
Дата
Msg-id 4E835BEF.5070802@2ndquadrant.com
обсуждение исходный текст
Ответ на feature request: auto savepoint for interactive psql when in transaction.  (Will Leinweber <will@heroku.com>)
Ответы Re: feature request: auto savepoint for interactive psql when in transaction.
Список pgsql-hackers
On 28/09/2011 02:57, Will Leinweber wrote:
> psql console, while in a transaction, and while in interactive mode,
> should savepoint for me.

You are lucky, since that feature has been in psql for some time 
already.  Simply add this to your .psqlrc:

\set ON_ERROR_ROLLBACK on


-- 
Marko Tiikkaja                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services


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

Предыдущее
От: Gurjeet Singh
Дата:
Сообщение: Re: feature request: auto savepoint for interactive psql when in transaction.
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: feature request: auto savepoint for interactive psql when in transaction.