Re: automatic restore point

Поиск
Список
Период
Сортировка
От Justin Pryzby
Тема Re: automatic restore point
Дата
Msg-id 20180626043713.GG20857@telsasoft.com
обсуждение исходный текст
Ответ на Re: automatic restore point  (Rui DeSousa <rui@crazybean.net>)
Ответы Re: automatic restore point  (Rui DeSousa <rui@crazybean.net>)
Список pgsql-hackers
On Tue, Jun 26, 2018 at 12:04:59AM -0400, Rui DeSousa wrote:
> Why not use auto commit off in the session or .psqlrc file or begin and then use rollback?  \set AUTOCOMMIT off
> 
> What would be nice is if a syntax error didn’t abort the transaction when auto commit is off — being a bad typist.

I think you'll get that behavior with ON_ERROR_ROLLBACK.

Justin


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

Предыдущее
От: Kyotaro HORIGUCHI
Дата:
Сообщение: Re: Problem while updating a foreign table pointing to apartitioned table on foreign server
Следующее
От: Rui DeSousa
Дата:
Сообщение: Re: automatic restore point