pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Curt Sampson <cjs@cynic.net>
Cc: pgsql-hackers@postgresql.org
Subject: Re: WAL replay logic (was Re: [PERFORM] Mount options for
Date: Tue, 18 Feb 2003 14:08:16 -0500 (EST)
Message-ID: <200302181908.h1IJ8Ge19074@candle.pha.pa.us> (raw)
In-Reply-To: <Pine.NEB.4.51.0302181426040.386@angelic-vtfw.cvpn.cynic.net>


Uh, not sure.  Does it guard against corrupt WAL records?

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

Curt Sampson wrote:
> 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
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
> 
> http://www.postgresql.org/users-lounge/docs/faq.html
> 

-- 
  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



view thread (7+ messages)

Message-ID: <200302181908.h1IJ8Ge19074@candle.pha.pa.us>
Permalink:  ../200302181908.h1IJ8Ge19074@candle.pha.pa.us/
Also on:    postgresql.org/message-id/200302181908.h1IJ8Ge19074@candle.pha.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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: pgman@candle.pha.pa.us, cjs@cynic.net, pgsql-hackers@postgresql.org
  Subject: Re: WAL replay logic (was Re: [PERFORM] Mount options for
  In-Reply-To: <200302181908.h1IJ8Ge19074@candle.pha.pa.us>
  References: <Pine.NEB.4.51.0302181426040.386@angelic-vtfw.cvpn.cynic.net> <200302181908.h1IJ8Ge19074@candle.pha.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