Re: Fwd: Psql.exe error logging - Mailing list pgsql-www

From David G. Johnston
Subject Re: Fwd: Psql.exe error logging
Date
Msg-id CAKFQuwa+0O2VKaAfqbR3iOXTEoQKzTR13+6RQ_=hRF0DSVKOHQ@mail.gmail.com
Whole thread Raw
In response to Fwd: Psql.exe error logging  (Aman Rathi <aman.rathi0904@gmail.com>)
Responses Re: Fwd: Psql.exe error logging
List 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 by date:

Previous
From: Melvin Davidson
Date:
Subject: Re: Fwd: Psql.exe error logging
Next
From: Craig Ringer
Date:
Subject: Re: Fwd: Psql.exe error logging