On Tue, Aug 16, 2016 at 10:15 AM, Craig Ringer <cr...@2ndquadrant.com> wrote: > I'm surprised the 32-bit xid was ever exposed to the user, rather than a > 64-bit epoch-extended xid.
Once upon a time we didn't have epoch counting at all. I don't think it would be a bad idea to clean up everything to do with xids so that everything user-facing is epoch-aware. Of course you don't always have the epoch but if we're careful about where users can see xids they should never see an xid from an old epoch. That could be a problem for internal tools like pageinspect or xlogdump but shouldn't be a problem for any real production api. -- greg -- Sent via pgsql-hackers mailing list (email@example.com) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers