Re: psql ignores failure to open -o target file - Mailing list pgsql-hackers

From Tom Lane
Subject Re: psql ignores failure to open -o target file
Date
Msg-id 31470.1449080689@sss.pgh.pa.us
Whole thread Raw
In response to Re: psql ignores failure to open -o target file  ("David G. Johnston" <david.g.johnston@gmail.com>)
Responses Re: psql ignores failure to open -o target file  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
"David G. Johnston" <david.g.johnston@gmail.com> writes:
> On Wed, Dec 2, 2015 at 11:04 AM, Robert Haas <robertmhaas@gmail.com> wrote:
>> On Wed, Dec 2, 2015 at 11:07 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>>> This seems surprising to me: any other program in the world would do
>>> exit(1) after discovering that it couldn't write where it had been
>>> told to.  Should we change this?

>> I assume this is a rhetorical question.

> How about this one: do we change this behavior in the back branches?

I don't think we should change this in stable branches.  I would vote
for fixing it in 9.5, though, mainly because the fix is going to interact
with the extended-mode-wrap fixes I'm also working on.
        regards, tom lane



pgsql-hackers by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: psql ignores failure to open -o target file
Next
From: Robert Haas
Date:
Subject: Re: psql ignores failure to open -o target file