Re: BUG #6291: Xid epoch is not updated properly - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #6291: Xid epoch is not updated properly
Date
Msg-id 28793.1321226831@sss.pgh.pa.us
Whole thread Raw
In response to BUG #6291: Xid epoch is not updated properly  ("Daniel Farina" <daniel@heroku.com>)
Responses Re: BUG #6291: Xid epoch is not updated properly  (Daniel Farina <daniel@heroku.com>)
List pgsql-bugs
"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

pgsql-bugs by date:

Previous
From: "Daniel Farina"
Date:
Subject: BUG #6291: Xid epoch is not updated properly
Next
From: Robert Haas
Date:
Subject: Re: BUG #4335: Error w/ PostgreSQL & EnterpriseDB Stack Builder