Re: Hot Standby on git - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: Hot Standby on git
Date
Msg-id 4AC5B92A.7090508@enterprisedb.com
Whole thread Raw
In response to Re: Hot Standby on git  (Simon Riggs <simon@2ndQuadrant.com>)
Responses Re: Hot Standby on git  (Simon Riggs <simon@2ndQuadrant.com>)
Re: Hot Standby on git  (Simon Riggs <simon@2ndQuadrant.com>)
List pgsql-hackers
Simon Riggs wrote:
> On Fri, 2009-10-02 at 10:43 +0300, Heikki Linnakangas wrote:
> 
>> It seems dangerous to write a WAL record after the shutdown checkpoint.
>> It will be overwritten by subsequent startup, which is a recipe for trouble.
> 
> I've said its a corner case and not worth spending time on. I'm putting
> it in at your request. If it's not correct before and not correct after,
> where exactly do you want it?

I don't know. Perhaps it should go between the REDO pointer of the
shutdown checkpoint and the checkpoint record itself. Or maybe the
information should be included in the checkpoint record itself.

--  Heikki Linnakangas EnterpriseDB   http://www.enterprisedb.com


pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: Hot Standby on git
Next
From: Jeff Davis
Date:
Subject: Re: Issues for named/mixed function notation patch