Re: Fwd: Psql.exe error logging

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: Fwd: Psql.exe error logging
Дата
Msg-id CAKFQuwa+0O2VKaAfqbR3iOXTEoQKzTR13+6RQ_=hRF0DSVKOHQ@mail.gmail.com
обсуждение исходный текст
Ответ на Fwd: Psql.exe error logging  (Aman Rathi <aman.rathi0904@gmail.com>)
Ответы Re: Fwd: Psql.exe error logging  (Craig Ringer <craig@2ndquadrant.com>)
Список pgsql-www
On Monday, February 29, 2016, Aman Rathi <aman.rathi0904@gmail.com> wrote:
Hi David,

1) I thought that --set command is meant at DB level for all the commands being run. So ran it first. Not sure how to use it within the command.


everyone else is bottom posting. Please do the same.

On the point above: everytime you execute psql you connect to the database using a clean session.  Nothing carries over between sessions.  So while --set alters the session you have to make you specify it on the psql invocation you actually want to have stop on errors.

David J. 

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

Предыдущее
От: Melvin Davidson
Дата:
Сообщение: Re: Fwd: Psql.exe error logging
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: Fwd: Psql.exe error logging