Re: Does psql use nested transactions?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Does psql use nested transactions?
Дата
Msg-id 8608.1092768979@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Does psql use nested transactions?  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: Does psql use nested transactions?  (Honza Pazdziora <adelton@informatics.muni.cz>)
Список pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Doing it only for interactive mode seems too error-prone to me (it works
> in psql, but not from my script).

You're missing the point: a script cannot safely work this way.  A human
typing at the terminal can notice that his command failed and react to
that, but a psql script cannot.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Does psql use nested transactions?
Следующее
От: "Marc G. Fournier"
Дата:
Сообщение: 7.3.7 packaged ...