On Monday, February 29, 2016, Aman Rathi <aman(dot)rathi0904(at)gmail(dot)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.