Re: BUG #17504: psql --single-transaction -vON_ERROR_STOP=1 still commits after client-side error

Поиск
Список
Период
Сортировка
Искать
От
Christoph Berg
Тема
Re: BUG #17504: psql --single-transaction -vON_ERROR_STOP=1 still commits after client-side error
Дата
в 15:18:28
Msg-id
YpTgRGknCLBopP8C@msg.df7cb.de
Ответ на
Список
Дерево обсуждения
BUG #17504: psql --single-transaction -vON_ERROR_STOP=1 still commits after client-side error PG Bug reporting form <noreply@postgresql.org>
Re: BUG #17504: psql --single-transaction -vON_ERROR_STOP=1 still commits after client-side error Christoph Berg <christoph.berg@credativ.de>
Re: BUG #17504: psql --single-transaction -vON_ERROR_STOP=1 still commits after client-side error Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Re: BUG #17504: psql --single-transaction -vON_ERROR_STOP=1 still commits after client-side error Michael Paquier <michael@paquier.xyz>
Re: BUG #17504: psql --single-transaction -vON_ERROR_STOP=1 still commits after client-side error Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Re: BUG #17504: psql --single-transaction -vON_ERROR_STOP=1 still commits after client-side error Michael Paquier <michael@paquier.xyz>
Re: BUG #17504: psql --single-transaction -vON_ERROR_STOP=1 still commits after client-side error Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Re: BUG #17504: psql --single-transaction -vON_ERROR_STOP=1 still commits after client-side error Robert Haas <robertmhaas@gmail.com>
Re: BUG #17504: psql --single-transaction -vON_ERROR_STOP=1 still commits after client-side error "David G. Johnston" <david.g.johnston@gmail.com>
Re: BUG #17504: psql --single-transaction -vON_ERROR_STOP=1 still commits after client-side error Michael Paquier <michael@paquier.xyz>
Re: BUG #17504: psql --single-transaction -vON_ERROR_STOP=1 still commits after client-side error Michael Paquier <michael@paquier.xyz>
Re: Re: BUG #17504: psql --single-transaction -vON_ERROR_STOP=1 still commits after client-side error Michael Paquier <michael@paquier.xyz>
Re: BUG #17504: psql --single-transaction -vON_ERROR_STOP=1 still commits after client-side error Michael Paquier <michael@paquier.xyz>
Re: BUG #17504: psql --single-transaction -vON_ERROR_STOP=1 still commits after client-side error Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Re: BUG #17504: psql --single-transaction -vON_ERROR_STOP=1 still commits after client-side error Michael Paquier <michael@paquier.xyz>
Re: BUG #17504: psql --single-transaction -vON_ERROR_STOP=1 still commits after client-side error Michael Paquier <michael@paquier.xyz>
Re: BUG #17504: psql --single-transaction -vON_ERROR_STOP=1 still commits after client-side error Christoph Berg <christoph.berg@credativ.de>
Re: BUG #17504: psql --single-transaction -vON_ERROR_STOP=1 still commits after client-side error Michael Paquier <michael@paquier.xyz>
Re: PG Bug reporting form
> The problem is not limited to \copy; \i has the same problem.
> A workaround is to drop -1, and use an explicit transaction in the script.

\connect correctly aborts the whole operation.

I would suggest that all client-side errors should be handled as fatal
when both --single-transaction and -vON_ERROR_STOP=1 are in effect.

Christoph


В списке pgsql-bugs по дате отправления
От: PG Bug reporting form
Дата:
От: Jeff Janes
Дата:
FAQ