Re: try to find out the checkpoint record?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: try to find out the checkpoint record?
Date: 2004-03-14 17:36:26
Message-ID: 23240.1079285786@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp> writes:
> What's wrong with improving one of fragile parts of the system?

My opinion is that pg_control is the *least* fragile part of the logging
datastructures. If we had infinite manpower, I'd say sure, go implement
a fallback mechanism for pg_control. But we don't, and I honestly think
your time would be better spent elsewhere.

BTW, you'd not be able to automatically reconstruct pg_control from the
contents of xlog anyway (no way to find out the locale settings, for
instance). So it will still require some manual intervention. If
you're really set on working on this, it might pay to think of it as
an additional behavioral mode for pg_resetxlog, rather than something
that's going to happen deep inside the backend.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2004-03-14 17:45:08 Re: listening addresses
Previous Message Tom Lane 2004-03-14 17:19:06 Re: Log rotation