pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@2ndquadrant.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: tarvip@gmail.com
Cc: pgsql-bugs@postgresql.org
Cc: Simon Riggs <simon@2ndquadrant.com>
Subject: Re: BUG #7710: Xid epoch is not updated properly during checkpoint
Date: Sun, 2 Dec 2012 00:49:08 +0100
Message-ID: <20121201234908.GA24090@awork2.anarazel.de> (raw)
In-Reply-To: <20121201231022.GB25134@awork2.anarazel.de>
References: <E1TdRCT-00008s-Tc@wrigleys.postgresql.org>
	<24367.1354402593@sss.pgh.pa.us>
	<20121201231022.GB25134@awork2.anarazel.de>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

On 2012-12-02 00:10:22 +0100, Andres Freund wrote:
> On 2012-12-01 17:56:33 -0500, Tom Lane wrote:
> > So barring objections, I'm going to remove LogStandbySnapshot's behavior
> > of returning the updated nextXid.
>
> I don't see any reason why it would be bad to remove this. I think the
> current behaviour could actually even delay getting to an active state
> slightly in the presence of prepared transactions because its used to
> create to initialize the KnownAssignedXid machinery in xlog_redo. If the
> prepared xacts are suboverflown its a *good* thing to have an old
> ->nextXid.

That doesn't hold true btw, due to the fact LogStandbySnapshot isn't
called in the shutdown case.

Greetings,

Andres Freund

--
 Andres Freund	                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (14+ messages)  latest in thread

Message-ID: <20121201234908.GA24090@awork2.anarazel.de>
Permalink:  ../20121201234908.GA24090@awork2.anarazel.de/
Also on:    postgresql.org/message-id/20121201234908.GA24090@awork2.anarazel.de

 · 

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-bugs@postgresql.org
  Cc: andres@2ndquadrant.com, tgl@sss.pgh.pa.us, tarvip@gmail.com, simon@2ndquadrant.com
  Subject: Re: BUG #7710: Xid epoch is not updated properly during checkpoint
  In-Reply-To: <20121201234908.GA24090@awork2.anarazel.de>
  References: <E1TdRCT-00008s-Tc@wrigleys.postgresql.org> <24367.1354402593@sss.pgh.pa.us> <20121201231022.GB25134@awork2.anarazel.de> <20121201234908.GA24090@awork2.anarazel.de>

* 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