> > A different and more important issue (IMO) is that the xlog record > header currently only supports 32-bit xids -- long-running > transactions can reasonably see a xid4 wraparound in their lifetime.
You're completely right. This is a first of making xid's 64-bit proposed [1] i.e, making SLRU 64-bit [2] [1] https://www.postgresql.org/message-id/flat/CACG%3DezZe1NQSCnfHOr78AtAZxJZeCvxrts0ygrxYwe%3DpyyjVWA%40mail.gmail.com [2] https://www.postgresql.org/message-id/flat/CALT9ZEEf1uywYN%2BVaRuSwNMGE5%3DeFOy7ZTwtP2g%2BW9oJDszqQw%40mail.gmail.com#bd4f64b73cb3b969e119da7e5a7b1f30 -- Best regards, Pavel Borisov Postgres Professional: http://postgrespro.com <http://www.postgrespro.com>