Re: Short writes - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Short writes
Date
Msg-id 17011.1164733393@sss.pgh.pa.us
Whole thread Raw
In response to Re: Short writes  (Martijn van Oosterhout <kleptog@svana.org>)
List pgsql-hackers
Martijn van Oosterhout <kleptog@svana.org> writes:
> What probably *should* happen is that a second write is initiated to
> write the remainder of the block, at which point the system can say
> "disk full".

You are hoping that the second write would return ENOSPC, but field
experience is that it just returns 0, and you still have to make the
assumption about why.  See archives from back around the time that
patch was put in.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Andrew Sullivan
Date:
Subject: Re: Integrating Replication into Core
Next
From: Tom Lane
Date:
Subject: Re: BLCKSZ fun facts