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.
Also, this is on the pgsql-www mailing list. Shouldn't it really be on -general?
'psql' could really use a flag that was shorthand for -v ON_ERROR_STOP=1 since it's an obvious and desirable thing that's horrid to specify and not quite as easy to discover as it could be.