Re: Add 64-bit XIDs into PostgreSQL 15
Evgeny <evorop@gmail.com>
From: Evgeny <evorop@gmail.com>
To: pgsql-hackers@lists.postgresql.org
Date: 2024-12-16T08:38:17Z
Lists: pgsql-hackers
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
Attachments
- v58-0001-Use-64-bit-format-output-for-multixact-offsets.patch (text/x-patch) patch v58-0001
- v58-0002-Use-64-bit-multixact-offsets.patch (text/x-patch) patch v58-0002
- v58-0003-Make-pg_upgrade-convert-multixact-offsets.patch (text/x-patch) patch v58-0003
- v58-0004-Get-rid-of-MultiXactMemberFreezeThreshold-call.patch (text/x-patch) patch v58-0004
- v58-0005-Support-64-bit-integer-GUCs.patch (text/x-patch) patch v58-0005
- v58-0006-Use-64-bit-format-to-output-XIDs.patch (text/x-patch) patch v58-0006
- v58-0007-Use-64-bit-FullTransactionId-instead-of-Epoch-xi.patch (text/x-patch) patch v58-0007
- v58-0008-Use-64-bit-SLRU-pages-in-callers.patch (text/x-patch) patch v58-0008
- v58-0009-Use-64-bit-XIDs.patch (text/x-patch) patch v58-0009
- v58-0010-Add-initdb-option-to-initialize-cluster-with-non.patch (text/x-patch) patch v58-0010
- v58-0011-README.XID64.patch (text/x-patch) patch v58-0011
- v58-0012-Fixed-the-stale-xid64-problem-at-the-heapam_tupl.patch (text/x-patch) patch v58-0012
Hello hackers! There are several upgrades in the xid64 patch. 1. Refactored functions HeapTupleCopyRawXidsFromPage, HeapTupleCopyXidsFromPage - repeating part of these functions withdrawn into the separated HeapTupleCopyXidsFromPage_Basis in order to avoid code duplication. 2. In the HeapTupleCopyXidsFromPage_Basis, the check, whether the tuple does not belong to the page, has been implemented. It is quite a rough check based upon checking addresses of the page, the tuple and the special, but it is sufficient to detect the problem. 3. Simplified the signature of the convert_page function. Rejected the passing of the Page parameter - it is calculated inside the convert_page function now. Base: current master (39240bcad56, 2024-12-16). Best regards, Evgeny Voropaev, Tantor Labs LLC.