Re: Add 64-bit XIDs into PostgreSQL 15

From: Evgeny <evorop(at)gmail(dot)com>
To: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Add 64-bit XIDs into PostgreSQL 15
Date: 2024-12-16 08:38:17
Message-ID: 5ca56aed-dc69-4c3e-968f-a822ae0937b5@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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.

Attachment Content-Type Size
v58-0001-Use-64-bit-format-output-for-multixact-offsets.patch text/x-patch 9.0 KB
v58-0002-Use-64-bit-multixact-offsets.patch text/x-patch 13.0 KB
v58-0003-Make-pg_upgrade-convert-multixact-offsets.patch text/x-patch 17.9 KB
v58-0004-Get-rid-of-MultiXactMemberFreezeThreshold-call.patch text/x-patch 8.8 KB
v58-0005-Support-64-bit-integer-GUCs.patch text/x-patch 44.9 KB
v58-0006-Use-64-bit-format-to-output-XIDs.patch text/x-patch 138.8 KB
v58-0007-Use-64-bit-FullTransactionId-instead-of-Epoch-xi.patch text/x-patch 22.2 KB
v58-0008-Use-64-bit-SLRU-pages-in-callers.patch text/x-patch 4.0 KB
v58-0009-Use-64-bit-XIDs.patch text/x-patch 707.1 KB
v58-0010-Add-initdb-option-to-initialize-cluster-with-non.patch text/x-patch 38.2 KB
v58-0011-README.XID64.patch text/x-patch 7.2 KB
v58-0012-Fixed-the-stale-xid64-problem-at-the-heapam_tupl.patch text/x-patch 1.6 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2024-12-16 08:40:57 Re: pure parsers and reentrant scanners
Previous Message Michael Paquier 2024-12-16 08:07:52 Re: per backend I/O statistics