Re: bug on log generation ? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: bug on log generation ?
Date
Msg-id 381259.1659969142@sss.pgh.pa.us
Whole thread Raw
In response to Re: bug on log generation ?  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: bug on log generation ?
List pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> What platform is this on? Is it possible that on some platform the chunk
> size we're using is not doing an atomic write?

Another idea is that some of the write() calls are failing --- elog.c
doesn't check for that.  Eyeing the POSIX spec for write(), I wonder
if somehow the pipe has gotten set into O_NONBLOCK mode and we're
not retrying EAGAIN failures.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: bug on log generation ?
Next
From: Peter Geoghegan
Date:
Subject: Re: Remaining case where reltuples can become distorted across multiple VACUUM operations