Received: from localhost (unknown [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id E3B7E2E016E for ; Fri, 14 Mar 2008 15:30:44 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 45217-06 for ; Fri, 14 Mar 2008 15:30:35 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from oxford.xeocode.com (unknown [87.127.95.194]) by postgresql.org (Postfix) with ESMTP id 4C76E2E00D5 for ; Fri, 14 Mar 2008 15:30:38 -0300 (ADT) Received: from localhost ([127.0.0.1] helo=oxford.xeocode.com) by oxford.xeocode.com with esmtp (Exim 4.69) (envelope-from ) id 1JaEfl-0001ZJ-RS; Fri, 14 Mar 2008 18:30:29 +0000 To: "Tom Lane" Cc: "Zubkovsky\, Sergey" , Subject: Re: [DOCS] pg_total_relation_size() and CHECKPOINT In-Reply-To: <21561.1205515308@sss.pgh.pa.us> (Tom Lane's message of "Fri\, 14 Mar 2008 13\:21\:48 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) X-Draft-From: ("nnimap+mail01.enterprisedb.com:INBOX.hackers" 19638) References: <528853D3C5ED2C4AA8990B504BA7FB850106DF14@sol.transas.com> <21561.1205515308@sss.pgh.pa.us> From: Gregory Stark Organization: EnterpriseDB Date: Fri, 14 Mar 2008 18:30:24 +0000 Message-ID: <87myp1f9a7.fsf@oxford.xeocode.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200803/495 X-Sequence-Number: 115296 "Tom Lane" writes: > "Zubkovsky, Sergey" 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!