Hi,
Following last week's commit 344cdff :
Author: Tom Lane
Date: Thu Dec 3 14:28:58 2015 -0500
Clean up some psql issues around handling of the query output file.
Formerly, if "psql -o foo" failed to open the output file "foo", it would
print an error
"Daniel Verite" writes:
> I notice that --log-file also reports an error but continues nonetheless
> if the file can't be opened.
> The attached trivial patch makes it fail and exit instead.
I agree with doing that.
> Also there's the fact that once opened, psql