From: Tom Lane <tgl@sss.pgh.pa.us>
To: Daniel Farina <daniel@heroku.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #6291: Xid epoch is not updated properly
Date: Sun, 13 Nov 2011 18:27:11 -0500
Message-ID: <28793.1321226831@sss.pgh.pa.us> (raw)
In-Reply-To: <201111132215.pADMFgvH080387@wwwmaster.postgresql.org>
References: <201111132215.pADMFgvH080387@wwwmaster.postgresql.org>
"Daniel Farina" <daniel@heroku.com> writes:
> We have on hand a database that makes heavy use of the txid_snapshot family
> of functions, and recently it just passed its 4^32 transaction mark.
> Unfortunately, upon wraparound the xid epoch appears to not have been
> incremented, remaining at 0.
I failed to reproduce this here, and a look at the code responsible for
xid epoch maintenance reveals no obvious way that it could have been
bypassed. So there's some fairly critical piece of context that you're
not telling us ...
regards, tom lane
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: tgl@sss.pgh.pa.us, daniel@heroku.com
Subject: Re: BUG #6291: Xid epoch is not updated properly
In-Reply-To: <28793.1321226831@sss.pgh.pa.us>
References: <201111132215.pADMFgvH080387@wwwmaster.postgresql.org> <28793.1321226831@sss.pgh.pa.us>
* 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