Re: Feature discussion: Should syntax errors abort a transaction?

Поиск
Список
Период
Сортировка
Искать
От
Jeff Davis
Тема
Re: Feature discussion: Should syntax errors abort a transaction?
Дата
Msg-id
1340406472.16713.38.camel@sussancws0025
Ответ на
Список
Дерево обсуждения
Re: Feature discussion: Should syntax errors abort a transaction? Jasen Betts <jasen@xnet.co.nz>
Re: Feature discussion: Should syntax errors abort a transaction? Rafal Pietrak <rafal@zorro.isa-geek.com>
Re: Feature discussion: Should syntax errors abort a transaction? Chris Travers <chris.travers@gmail.com>
On Wed, 2012-06-20 at 00:24 -0700, Chris Travers wrote:
> I guess it seems to me that I would not object to a new option for
> transaction behavior where one could do something like SET TRANSACTION
> INTERACTIVE; and have no errors abort the transaction at all (explicit
> commit or rollback required) but I would complain loudly if this were
> to be the default, and I don't see a real need for it.

It's already available in psql. See ON_ERROR_ROLLBACK:

http://www.postgresql.org/docs/9.2/static/app-psql.html

Regards,
	Jeff Davis

В списке pgsql-general по дате отправления
От: Tom Lane
Дата:
От: Jeff Davis
Дата:
FAQ