pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Simon Riggs <simon@2ndQuadrant.com>
To: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Subject: Re: Hot Standby on git
Date: Fri, 02 Oct 2009 13:40:47 +0100
Message-ID: <1254487247.17864.377.camel@ebony.2ndQuadrant> (raw)
In-Reply-To: <4AC5DB71.7000105@enterprisedb.com>
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>
	<4AC5B92A.7090508@enterprisedb.com>
	<1254480411.17864.368.camel@ebony.2ndQuadrant>
	<4AC5DB71.7000105@enterprisedb.com>


On Fri, 2009-10-02 at 13:52 +0300, Heikki Linnakangas wrote:
> Simon Riggs wrote:
> > I'd rather just skip this for now. It's a minor case anyway and there's
> > nothing stopping writing their own RunningXactData records with a
> > function, if it is needed. I can add a function for that.
> 
> That won't help. There's no way to have it in a right place wrt. the
> shutdown checkpoint if it's triggered by a user-callable function.

I notice that you avoid saying "yes, I agree we should remove the two
checks".

I will add code to make a shutdown checkpoint be a valid starting place
for Hot Standby, as long as there are no in-doubt prepared transactions.
That way we know there are no xids still running and no locks, without
needing to write a record to say so.

-- 
 Simon Riggs           www.2ndQuadrant.com




view thread (48+ messages)  latest in thread

Message-ID: <1254487247.17864.377.camel@ebony.2ndQuadrant>
Permalink:  ../1254487247.17864.377.camel@ebony.2ndQuadrant/
Also on:    postgresql.org/message-id/1254487247.17864.377.camel@ebony.2ndQuadrant

 · 

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: simon@2ndQuadrant.com, heikki.linnakangas@enterprisedb.com
  Subject: Re: Hot Standby on git
  In-Reply-To: <1254487247.17864.377.camel@ebony.2ndQuadrant>

* 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