X-Original-To: pgsql-performance@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 16027475A1F; Tue, 18 Feb 2003 00:16:03 -0500 (EST) Received: from candle.pha.pa.us (momjian.navpoint.com [207.106.42.251]) by postgresql.org (Postfix) with ESMTP id 6C7FF475957; Tue, 18 Feb 2003 00:16:01 -0500 (EST) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.10.1) id h1I5Fhc18116; Tue, 18 Feb 2003 00:15:43 -0500 (EST) From: Bruce Momjian Message-Id: <200302180515.h1I5Fhc18116@candle.pha.pa.us> Subject: Re: [HACKERS] WAL replay logic (was Re: Mount options for In-Reply-To: To: Curt Sampson Date: Tue, 18 Feb 2003 00:15:43 -0500 (EST) Cc: Kevin Brown , pgsql-performance@postgresql.org, pgsql-hackers@postgresql.org X-Mailer: ELM [version 2.4ME+ PL99 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200302/113 X-Sequence-Number: 1169 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 +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