Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TewoE-0004ID-Le for pgsql-bugs@arkaria.postgresql.org; Sat, 01 Dec 2012 23:49:22 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1TewoD-0006G2-WF for pgsql-bugs@arkaria.postgresql.org; Sat, 01 Dec 2012 23:49:22 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TewoC-0006Ft-1w for pgsql-bugs@postgresql.org; Sat, 01 Dec 2012 23:49:20 +0000 Received: from moutng.kundenserver.de ([212.227.17.10]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Tewo9-0000la-Gh for pgsql-bugs@postgresql.org; Sat, 01 Dec 2012 23:49:19 +0000 Received: from anarazel.de (p5DDC5823.dip.t-dialin.net [93.220.88.35]) by mrelayeu.kundenserver.de (node=mreu1) with ESMTP (Nemesis) id 0MFwx8-1TSJCy07Gw-00EWN5; Sun, 02 Dec 2012 00:49:10 +0100 Received: by anarazel.de (Postfix, from userid 1000) id 1390D1C0173; Sun, 2 Dec 2012 00:49:08 +0100 (CET) Date: Sun, 2 Dec 2012 00:49:08 +0100 From: Andres Freund To: Tom Lane Cc: tarvip@gmail.com, pgsql-bugs@postgresql.org, Simon Riggs Subject: Re: BUG #7710: Xid epoch is not updated properly during checkpoint Message-ID: <20121201234908.GA24090@awork2.anarazel.de> References: <24367.1354402593@sss.pgh.pa.us> <20121201231022.GB25134@awork2.anarazel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20121201231022.GB25134@awork2.anarazel.de> X-Provags-ID: V02:K0:jC9s6wc2weteDrO7OiBtzc9/0ePOmeVVmCfkE1OEbxl QEVUejZg+q1U3H/kPJCr9+fcRMklxHvTZyhhGq17lWGTTk2NRs 5resTzY6GiD1UyOnONvU4Klu1ctl/KwrbMS+9mh5WSH8VwS81i XOhYKEj+FCW+bdkvWxAOc7S+WgzVZ9NsH7w+hNISe0Fex8YI1u 9BVJG2JeFQZc003cD9WCseeBW3QKE6OolrDNo5T6qBGl8ahnEp 0FPHczsBkj0TwZnmlrphcWitZuRFhsPwmhcTRuLGyCFjKQRtST Dxx6kd8LWBH2egmDc1hPW+L+rPTUrKLTliAk2jH3ba34rHyFNU qm0VHFR2B8m5nun6/F4rfRixpm2nIsLXuy2MxmWOZ X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org 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