Re: How to *really* quit psql?

Поиск
Список
Период
Сортировка
От Fabien COELHO
Тема Re: How to *really* quit psql?
Дата
Msg-id e1bc99e-5726-2133-adac-faff8b802213@mines-paristech.fr
обсуждение исходный текст
Ответ на Re: How to *really* quit psql?  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список pgsql-hackers
Hello David,

> vagrant@vagrant:~$ /usr/local/pgsql/bin/psql -v ON_ERROR_STOP=1 -f two.psql
> -f three.psql postgres
> ?column?
> ----------
>        2
> (1 row)
>
> ?column?
> ----------
>        3
> (1 row)
>
> (there is a \quit at the end of two.psql)

Yep, that summarizes my issues!

ON_ERROR_STOP is only of SQL errors, so a script can really stop by having 
an intentional SQL error.

-- 
Fabien.
Вложения

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

Предыдущее
От: Fabien COELHO
Дата:
Сообщение: Re: How to *really* quit psql?
Следующее
От: Fabien COELHO
Дата:
Сообщение: Re: How to *really* quit psql?