Re: Re: ZeroFill(.../pg_xlog/xlogtemp.20148) failed: No such file or directory

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Ian Lance Taylor <ian(at)airs(dot)com>
Cc: Chris Jones <chris(at)mt(dot)sri(dot)com>, Oliver Elphick <olly(at)lfix(dot)co(dot)uk>, pgsql-general(at)postgresql(dot)org
Subject: Re: Re: ZeroFill(.../pg_xlog/xlogtemp.20148) failed: No such file or directory
Date: 2001-05-23 20:34:07
Message-ID: 17395.990650047@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Ian Lance Taylor <ian(at)airs(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Denis A. Doroshenko 2001-05-23 20:44:57 Re: Re: ZeroFill(.../pg_xlog/xlogtemp.20148) failed: No such file or directory
Previous Message Jim Mercer 2001-05-23 20:33:32 Re: $PGSQL/include/postgres.h