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

From Tom Lane
Subject Re: [DOCS] pg_total_relation_size() and CHECKPOINT
Date
Msg-id 968.1206591222@sss.pgh.pa.us
Whole thread Raw
In response to Re: [DOCS] pg_total_relation_size() and CHECKPOINT  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: [DOCS] pg_total_relation_size() and CHECKPOINT
Re: [DOCS] pg_total_relation_size() and CHECKPOINT
List pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> I suspect that the size reported by stat() is a little delayed here, but 
> the file system is keeping proper track of it, so the lseek that tries 
> to extend the file fails at the right spot.

Hmm.  If it really works that way, one would hope Microsoft would've
documented that someplace.  Can anyone find a statement that Windows'
stat() is not current?
        regards, tom lane


pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: [DOCS] pg_total_relation_size() and CHECKPOINT
Next
From: Tom Raney
Date:
Subject: Planner/optimizer tool