pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
To: Simon Riggs <simon@2ndQuadrant.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Subject: Re: Hot Standby on git
Date: Fri, 02 Oct 2009 11:26:18 +0300
Message-ID: <4AC5B92A.7090508@enterprisedb.com> (raw)
In-Reply-To: <1254470874.17864.309.camel@ebony.2ndQuadrant>
References: <1253958559.4449.833.camel@ebony.2ndQuadrant>
	<4AC2FBB9.7060304@enterprisedb.com>
	<1254408330.17864.233.camel@ebony.2ndQuadrant>
	<4AC4CF18.50309@enterprisedb.com>
	<1254413624.17864.243.camel@ebony.2ndQuadrant>
	<4AC5A60F.5050503@enterprisedb.com>
	<1254468966.17864.301.camel@ebony.2ndQuadrant>
	<4AC5AF36.3020900@enterprisedb.com>
	<1254470874.17864.309.camel@ebony.2ndQuadrant>

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



view thread (48+ messages)  latest in thread

Message-ID: <4AC5B92A.7090508@enterprisedb.com>
Permalink:  ../4AC5B92A.7090508@enterprisedb.com/
Also on:    postgresql.org/message-id/4AC5B92A.7090508@enterprisedb.com

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: heikki.linnakangas@enterprisedb.com, simon@2ndQuadrant.com
  Subject: Re: Hot Standby on git
  In-Reply-To: <4AC5B92A.7090508@enterprisedb.com>

* 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