pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
To: tarvip@gmail.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #6710: txid_current() provides incorrect txid after server startup
Date: Fri, 29 Jun 2012 19:34:48 +0300
Message-ID: <4FEDD928.7080200@enterprisedb.com> (raw)
In-Reply-To: <E1SjmMP-0002E5-0N@wrigleys.postgresql.org>
References: <E1SjmMP-0002E5-0N@wrigleys.postgresql.org>

On 27.06.2012 10:08, tarvip@gmail.com wrote:
> The following bug has been logged on the website:
>
> Bug reference:      6710
> Logged by:          Tarvi Pillessaar
> Email address:      tarvip@gmail.com
> PostgreSQL version: 9.1.4
> Operating system:   linux
> Description:
>
> This happens when epoch is greater than 0.
> After a checkpoint it starts providing correct txid.
>
> It seems that this regression is caused by following commit:
> 20d98ab6e4110087d1816cd105a40fcc8ce0a307 Correct epoch of txid_current()
> when executed on a Hot Standby server.
>
> When reverting this commit, txid_current() works as expected.

Fixed, thanks for the report!

-- 
   Heikki Linnakangas
   EnterpriseDB   http://www.enterprisedb.com



view thread (2+ messages)

Message-ID: <4FEDD928.7080200@enterprisedb.com>
Permalink:  ../4FEDD928.7080200@enterprisedb.com/
Also on:    postgresql.org/message-id/4FEDD928.7080200@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 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: heikki.linnakangas@enterprisedb.com, tarvip@gmail.com
  Subject: Re: BUG #6710: txid_current() provides incorrect txid after server startup
  In-Reply-To: <4FEDD928.7080200@enterprisedb.com>
  References: <E1SjmMP-0002E5-0N@wrigleys.postgresql.org> <4FEDD928.7080200@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