Skip site navigation (1) Skip section navigation (2)

Re: Short writes

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Martijn van Oosterhout <kleptog(at)svana(dot)org>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Short writes
Date: 2006-11-28 17:03:13
Message-ID: 17011.1164733393@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers
Martijn van Oosterhout <kleptog(at)svana(dot)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

In response to

pgsql-hackers by date

Next:From: Tom LaneDate: 2006-11-28 17:08:59
Subject: Re: BLCKSZ fun facts
Previous:From: Andrew SullivanDate: 2006-11-28 16:58:25
Subject: Re: Integrating Replication into Core

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group