Re: WAL replay logic (was Re: [PERFORM] Mount options for

Curt Sampson <cjs@cynic.net>

From: Curt Sampson <cjs@cynic.net>
To: Bruce Momjian <pgman@candle.pha.pa.us>
Cc: pgsql-hackers@postgresql.org
Date: 2003-02-18T05:26:46Z
Lists: pgsql-hackers, pgsql-performance
On Tue, 18 Feb 2003, Bruce Momjian wrote:

>
> Added to TODO:
>
> 	* Allow WAL information to recover corrupted pg_controldata
>...
> >      Using pg_control to get the checkpoint position speeds up the
> >      recovery process, but to handle possible corruption of pg_control,
> >      we should actually implement the reading of existing log segments
> >      in reverse order -- newest to oldest -- in order to find the last
> >      checkpoint. This has not been implemented, yet.

So if you do this, do you still need to store that information in
pg_control at all?

cjs
-- 
Curt Sampson  <cjs@cynic.net>   +81 90 7737 2974   http://www.netbsd.org
    Don't you know, in this new Dark Age, we're all light.  --XTC