Re: Re: ZeroFill(.../pg_xlog/xlogtemp.20148) failed: No such file or directory - Mailing list pgsql-general

From Tom Lane
Subject Re: Re: ZeroFill(.../pg_xlog/xlogtemp.20148) failed: No such file or directory
Date
Msg-id 17395.990650047@sss.pgh.pa.us
Whole thread Raw
In response to Re: ZeroFill(.../pg_xlog/xlogtemp.20148) failed: No such file or directory  ("Oliver Elphick" <olly@lfix.co.uk>)
Responses Re: Re: ZeroFill(.../pg_xlog/xlogtemp.20148) failed: No such file or directory  (Ian Lance Taylor <ian@airs.com>)
List pgsql-general
Ian Lance Taylor <ian@airs.com> writes:
> Probably true, but on Unix you certainly can't assume that write will
> set errno if it does not return -1.

Right.  The code you propose is isomorphic to what I suggested
originally.  The question is which error condition should we assume
if errno has not been set; is disk-full sufficiently likely to be the
cause that we should just say that, or are there plausible alternatives?

            regards, tom lane

pgsql-general by date:

Previous
From: Chris Jones
Date:
Subject: Re: Re: ZeroFill(.../pg_xlog/xlogtemp.20148) failed: No such file or directory
Next
From: Ian Lance Taylor
Date:
Subject: Re: Re: ZeroFill(.../pg_xlog/xlogtemp.20148) failed: No such file or directory