pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Fujii Masao <masao.fujii@gmail.com>
Cc: Florian Pflug <fgp@phlo.org>
Cc: Simon Riggs <simon@2ndquadrant.com>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Subject: Re: bug of recovery?
Date: Tue, 27 Sep 2011 00:05:44 -0400
Message-ID: <13861.1317096344@sss.pgh.pa.us> (raw)
In-Reply-To: <CAHGQGwH2O=-1etYFzE10ftsOsJQEU_RbGcD8PuE4w5CSqkvMMg@mail.gmail.com>
References: <CAHGQGwEEn13awaWZA-fMb76fNXASLLpqmUY8N-sK55ApZy-ErA@mail.gmail.com>
	<CA+U5nML8aK6iMpnaXf=vGYLCRkdqKUFJ6nTLTjEVpLj6oYYTRA@mail.gmail.com>
	<889.1317069556@sss.pgh.pa.us>
	<F4BDC274-D382-4BC2-A093-282E29523DD8@phlo.org>
	<CAHGQGwH2O=-1etYFzE10ftsOsJQEU_RbGcD8PuE4w5CSqkvMMg@mail.gmail.com>

Fujii Masao <masao.fujii@gmail.com> 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



view thread (24+ messages)  latest in thread

Message-ID: <13861.1317096344@sss.pgh.pa.us>
Permalink:  ../13861.1317096344@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/13861.1317096344@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, masao.fujii@gmail.com, fgp@phlo.org, simon@2ndquadrant.com
  Subject: Re: bug of recovery?
  In-Reply-To: <13861.1317096344@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox