Re: Rollback on include error in psql

Поиск
Список
Период
Сортировка
От Viktor Shitkovskiy
Тема Re: Rollback on include error in psql
Дата
Msg-id CAK7FUCwa4++RzW7y0chFm+0tdZS4dzgwE8GWhfjStooqatmfeA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Rollback on include error in psql  (David G Johnston <david.g.johnston@gmail.com>)
Список pgsql-general
So should I report a bug somewhere?

As a workaround I'm currently using a wrapper bash script that parses the source psql script and checks if the 'include' and 'copy-from' files do really exist.


On Mon, Dec 29, 2014 at 4:04 AM, David G Johnston <david.g.johnston@gmail.com> wrote:
I would suggest an enhancement whereby psql will send a guaranteed-to-fail
command to the server upon failing to find an included file - at least in
non-interactive mode; in interactive mode the warning is likely sufficient
though the interplay with auto-commit would be concerning.


--
View this message in context: http://postgresql.nabble.com/Rollback-on-include-error-in-psql-tp5832192p5832233.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.


--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

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

Предыдущее
От: David G Johnston
Дата:
Сообщение: Re: Rollback on include error in psql
Следующее
От: Kevin Grittner
Дата:
Сообщение: Re: help troubleshooting invalid page header error