Re: XID formatting and SLRU refactorings (was: Add 64-bit XIDs into PostgreSQL 15)

From: Maxim Orlov <orlovmg(at)gmail(dot)com>
To: Japin Li <japinli(at)hotmail(dot)com>
Cc: Aleksander Alekseev <aleksander(at)timescale(dot)com>, Postgres hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Pavel Borisov <pashkin(dot)elfe(at)gmail(dot)com>, Alexander Korotkov <aekorotkov(at)gmail(dot)com>, Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>, Ilya Anfimov <ilan(at)tzirechnoy(dot)com>, Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>
Subject: Re: XID formatting and SLRU refactorings (was: Add 64-bit XIDs into PostgreSQL 15)
Date: 2022-03-24 14:43:51
Message-ID: CACG=ezaQgwmEjcJnWpXHnTUXgHuOtbbO8jSNv0Fp1GSLnbGz5A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi!

Here is the v26 patchset. Main changes:
- back to signed int in SLRU pages
- fix printing epoch and xid as single value
- SlruFileName is not changed, thus no need special procedure in pg_upgrade
- remove cast from SlruFileName
- refactoring macro SlruFileName into inline function

Reviews are very welcome!

--
Best regards,
Maxim Orlov.

Attachment Content-Type Size
v26-0001-Use-64-bit-numbering-of-SLRU-pages.patch application/octet-stream 25.8 KB
v26-0002-Use-64-bit-format-to-output-XIDs.patch application/octet-stream 119.7 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2022-03-24 14:49:18 Re: Remove an unnecessary errmsg_plural in dependency.c
Previous Message Alvaro Herrera 2022-03-24 14:32:49 Re: turn fastgetattr and heap_getattr to inline functions