Re: Add 64-bit XIDs into PostgreSQL 15

From: Maxim Orlov <orlovmg(at)gmail(dot)com>
To: Michael Paquier <michael(at)paquier(dot)xyz>
Cc: Zhang Mingli <zmlpostgres(at)gmail(dot)com>, Justin Pryzby <pryzby(at)telsasoft(dot)com>, Dilip Kumar <dilipbalaut(at)gmail(dot)com>, Pavel Borisov <pashkin(dot)elfe(at)gmail(dot)com>, Aleksander Alekseev <aleksander(at)timescale(dot)com>, pgsql-hackers(at)lists(dot)postgresql(dot)org, Stephen Frost <sfrost(at)snowman(dot)net>, Alexander Korotkov <aekorotkov(at)gmail(dot)com>, Andres Freund <andres(at)anarazel(dot)de>, Ilya Anfimov <ilan(at)tzirechnoy(dot)com>
Subject: Re: Add 64-bit XIDs into PostgreSQL 15
Date: 2022-10-21 16:09:15
Message-ID: CACG=ezZSx2UNhaSyV9DPWfHK230E2_Rg87Uef8KHokRsAE_Wfw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

>
> This patch set needs a rebase, as far as I can see.
>

Done! Thanks! Here is the rebased version.

This version has bug fix for multixact replication. Previous versions of
the patch set does not write pd_multi_base in WAL. Thus, this field was set
to 0 upon WAL reply on replica.
This caused replica to panic. Fix this by adding pd_multi_base of a page
into WAL. Appropriate tap test is added.

Also, add refactoring and improvements in heapam.c in order to reduce diff
and make it more "tidy".

Reviews and opinions are very welcome!

--
Best regards,
Maxim Orlov.

Attachment Content-Type Size
v48-0004-Use-64-bit-pages-representation-in-SLRU-callers.patch application/octet-stream 23.7 KB
v48-0001-Use-64-bit-numbering-of-SLRU-pages.patch application/octet-stream 24.5 KB
v48-0003-Use-64-bit-FullTransactionId-instead-of-Epoch-xi.patch application/octet-stream 18.8 KB
v48-0005-Add-initdb-option-to-initialize-cluster-with-non.patch application/octet-stream 24.4 KB
v48-0002-Use-64-bit-format-to-output-XIDs.patch application/octet-stream 122.7 KB
v48-0006-README.XID64.patch application/octet-stream 7.2 KB
v48-0007-Use-64-bit-GUCs.patch application/octet-stream 25.7 KB
v48-0008-Use-64-bit-XIDs.patch application/octet-stream 748.4 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tomas Vondra 2022-10-21 16:44:17 Re: Missing update of all_hasnulls in BRIN opclasses
Previous Message Bharath Rupireddy 2022-10-21 16:00:16 Re: thinko in basic_archive.c