Re: [DOCS] pg_total_relation_size() and CHECKPOINT - Mailing list pgsql-hackers

From Gregory Stark
Subject Re: [DOCS] pg_total_relation_size() and CHECKPOINT
Date
Msg-id 87myp1f9a7.fsf@oxford.xeocode.com
Whole thread Raw
In response to Re: [DOCS] pg_total_relation_size() and CHECKPOINT  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [DOCS] pg_total_relation_size() and CHECKPOINT
List pgsql-hackers
"Tom Lane" <tgl@sss.pgh.pa.us> writes:

> "Zubkovsky, Sergey" <Sergey.Zubkovsky@transas.com> writes:
>> The previous results were received on PG 8.3 version:
>>     "PostgreSQL 8.3.0, compiled by Visual C++ build 1400"
>
> Hmm.  I find the whole thing fairly worrisome, because what it suggests
> is that Windows isn't actually allocating file space during smgrextend,
> which would mean that we'd be prone to running out of disk space at
> unfortunate times --- like during a checkpoint, after we've already
> promised the client the data is committed.

Surely we can't lose after the fsync? Losing at commit rather than at the time
of insert might still be poor, but how could we lose after we've promised the
data is committed?

--  Gregory Stark EnterpriseDB          http://www.enterprisedb.com Ask me about EnterpriseDB's Slony Replication
support!


pgsql-hackers by date:

Previous
From: Devrim GÜNDÜZ
Date:
Subject: Re: [COMMITTERS] pgsql: Fix vacuum so that autovacuum is really not cancelled when doing
Next
From: Gregory Stark
Date:
Subject: Re: Commit fest?