64-bit XIDs
Moving transaction ids to 64 bits, with groundwork such as long SLRU file names and int64 GUCs.
Versions
- PostgreSQL 20 · worked-on · improved · minor
- PostgreSQL 19 · worked-on · new · major
- PostgreSQL 18 · worked-on · new · major
- PostgreSQL 17 · shipped · new · major · 4 commits · +583 / -299 lines
- PostgreSQL 16 · worked-on · new · major
- PostgreSQL 15 · worked-on · new · major
Threads
- Prepared transaction lost after restoring a base backup or after a crash during a checkpoint, with data corruption (17, 18)
- [PATCH] Refactor SLRU to always use long file names
- Use pg_current_xact_id() instead of deprecated txid_current()
- Add 64-bit XIDs into PostgreSQL 15
- Using MyDatabaseId in SET_LOCKTAG_APPLY_TRANSACTION
- XLogCtl->ckptFullXid is unused
- Issues with 2PC at recovery: CLOG lookups and GlobalTransactionData
- An improvement of ProcessTwoPhaseBuffer logic
- Remove XLogRecGetFullXid() in xlogreader.c?
- [PATCH] Support Int64 GUCs
- FullTransactionIdAdvance question
- XID formatting and SLRU refactorings (was: Add 64-bit XIDs into PostgreSQL 15)
- Assertion failure with epoch when replaying standby records for 2PC
- Next step towards 64bit XIDs: Switch to FullTransactionId for PGPROC->xid and XLogRecord->xl_xid
- [PATCH] Add initial xid/mxid/mxoff to initdb
- 回复: Add 64-bit XIDs into PostgreSQL 15
- Unit tests for SLRU
- Is monotonous xid8 is a right way to do?
- Challenges preventing us moving to 64 bit transaction id (XID)?
- Re: Challenges preventing us moving to 64 bit transaction id (XID)?
- Should we add xid_current() or a int8->xid cast?
- 64 bit transaction id
- XLogRecGetFullXid()
- Usage of epoch in txid_current