Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id DE939634E35 for ; Thu, 1 Oct 2009 13:14:01 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 05471-02-3 for ; Thu, 1 Oct 2009 16:13:50 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from outmail128077.authsmtp.net (outmail128077.authsmtp.net [62.13.128.77]) by mail.postgresql.org (Postfix) with ESMTP id CE820633CF1 for ; Thu, 1 Oct 2009 13:13:23 -0300 (ADT) Received: from mail-c193.authsmtp.com (mail-c193.authsmtp.com [62.13.128.118]) by punt4.authsmtp.com (8.14.2/8.14.2/Kp) with ESMTP id n91GD76H057022; Thu, 1 Oct 2009 17:13:07 +0100 (BST) Received: from [192.168.0.5] (88-110-190-77.dynamic.dsl.as9105.com [88.110.190.77]) (authenticated bits=0) by mail.authsmtp.com (8.14.2/8.14.2/Kp) with ESMTP id n91GD20I091200; Thu, 1 Oct 2009 17:13:02 +0100 (BST) Subject: Re: Hot Standby on git From: Simon Riggs To: Heikki Linnakangas Cc: pgsql-hackers In-Reply-To: <4AC4CF4D.1000809@enterprisedb.com> References: <1253958559.4449.833.camel@ebony.2ndQuadrant> <4AC49281.2040302@enterprisedb.com> <1254407967.17864.229.camel@ebony.2ndQuadrant> <4AC4CF4D.1000809@enterprisedb.com> Content-Type: text/plain Date: Thu, 01 Oct 2009 17:16:36 +0100 Message-Id: <1254413796.17864.245.camel@ebony.2ndQuadrant> Mime-Version: 1.0 X-Mailer: Evolution 2.12.0 Content-Transfer-Encoding: 7bit X-Server-Quench: 4b9fd378-aea5-11de-90cd-002264978518 X-Report-Spam: If SPAM / abuse - report it at: http://www.authsmtp.com/abuse X-AuthRoute: OCdxZQATClZOTQEd DAteCiN5VAwpPBRK HVkIKg5MJUcNSQVJ NksadBtFaARbYlpF HGQLW11EUVp7WGB/ awgfZQ1DY0tOQQRj UFZORU1QEQdtHhxP WBcfJW1wd3xGcX9y ZUYsXHFcVAp+J08r Fk1THXBXMDZldWEe BBVFfgMHJB5Kfh1H bFR2U3sIYG1JBC9q VzwTFhsSEA9kHWx1 RR1FFk4bR0oBD3Y7 QVgNHClH X-Authentic-SMTP: 61633235383639.1014:706/Kp X-Virus-Status: No virus detected - but ensure you scan with your own anti-virus system. X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.588 tagged_above=-10 required=5 tests=AWL=0.011, BAYES_00=-2.599 X-Spam-Level: X-Archive-Number: 200910/65 X-Sequence-Number: 146877 On Thu, 2009-10-01 at 18:48 +0300, Heikki Linnakangas wrote: > Simon Riggs wrote: > > Hmm, yes. ISTM that I'm still calculating latestRunningXid the old way > > while assuming it is calculated the new way. The new way is just to grab > > nextXid since we have XidGenLock and do TransactionIdRetreat() on it. > > Ok, good, that's what I thought too. I'll fix that. OK, not working on that, so go ahead. Thanks. -- Simon Riggs www.2ndQuadrant.com