Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 75CE0B5D8C5 for ; Tue, 27 Sep 2011 01:06:02 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 36781-05 for ; Tue, 27 Sep 2011 04:05:52 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0-rc2 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 245A1B5DBC1 for ; Tue, 27 Sep 2011 01:05:52 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id p8R45i4u013862; Tue, 27 Sep 2011 00:05:44 -0400 (EDT) To: Fujii Masao cc: Florian Pflug , Simon Riggs , PostgreSQL-development Subject: Re: bug of recovery? In-reply-to: References: <889.1317069556@sss.pgh.pa.us> Comments: In-reply-to Fujii Masao message dated "Tue, 27 Sep 2011 09:49:51 +0900" Date: Tue, 27 Sep 2011 00:05:44 -0400 Message-ID: <13861.1317096344@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.404 tagged_above=-5 required=5 tests=BAYES_00=-1.9, RP_MATCHES_RCVD=-0.504 X-Spam-Level: X-Archive-Number: 201109/1439 X-Sequence-Number: 195628 Fujii Masao writes: > ISTM that writing an invalid-page table to the disk for every restartpoints is > better approach. I still say that's uncalled-for overkill. The invalid-page table is not necessary for recovery, it's only a debugging cross-check. You're more likely to introduce bugs than fix any by adding a mechanism like that. regards, tom lane