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

Bruce Momjian <pgman@candle.pha.pa.us>

From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Curt Sampson <cjs@cynic.net>
Cc: Kevin Brown <kevin@sysexperts.com>, pgsql-performance@postgresql.org, pgsql-hackers@postgresql.org
Date: 2003-02-18T05:15:43Z
Lists: pgsql-hackers, pgsql-performance
Added to TODO:

	* Allow WAL information to recover corrupted pg_controldata

---------------------------------------------------------------------------

Curt Sampson wrote:
> On Fri, 14 Feb 2003, Bruce Momjian wrote:
> 
> > Is there a TODO here, like "Allow recovery from corrupt pg_control via
> > WAL"?
> 
> Isn't that already in section 12.2.1 of the documentation?
> 
>      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.
> 
> 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
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
> 

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073