Re: Add 64-bit XIDs into PostgreSQL 15
Maxim Orlov <orlovmg@gmail.com>
From: Maxim Orlov <orlovmg@gmail.com>
To: Bruce Momjian <bruce@momjian.us>
Cc: Robert Haas <robertmhaas@gmail.com>, Heikki Linnakangas <hlinnaka@iki.fi>, Andres Freund <andres@anarazel.de>, Yura Sokolov <y.sokolov@postgrespro.ru>, Evgeny Voropaev <evgeny.voropaev@tantorlabs.com>, PostgreSQL Hackers <pgsql-hackers@postgresql.org>,
Andrey Borodin <x4mmm@yandex-team.ru>
Date: 2026-02-27T14:21:48Z
Lists: pgsql-hackers
Attachments
- 0001-Swicth-TransamVariables-oldestClogXid-to-FullTransac.patch (application/octet-stream) patch 0001
- 0002-Convert-macros-to-static-inline-functions-clog.c.patch (application/octet-stream) patch 0002
- 0003-WIP-make-clog-64-bit.patch (application/octet-stream) patch 0003
I just wanted to share my work-in-progress on switching the clog to 64 bits. So far, I've only dealt with the clog itself. Right now, support for the x86 platform is lacking. But the first two patches are refactorings and can be committed promptly. What are your thoughts on this? -- Best regards, Maxim Orlov.
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Add SLRU tests for 64-bit page case
- a60b8a58f435 17.0 landed
-
Make use FullTransactionId in 2PC filenames
- 5a1dfde8334b 17.0 landed
-
Use larger segment file names for pg_notify
- 2cdf131c46e6 17.0 landed
-
Index SLRUs by 64-bit integers rather than by 32-bit integers
- 4ed8f0913bfd 17.0 landed