Re: Add 64-bit XIDs into PostgreSQL 15
Aleksander Alekseev <aleksander@timescale.com>
From: Aleksander Alekseev <aleksander@timescale.com>
To: Andres Freund <andres@anarazel.de>
Cc: Pavel Borisov <pashkin.elfe@gmail.com>,
Ilya Anfimov <ilan@tzirechnoy.com>, Postgres hackers <pgsql-hackers@lists.postgresql.org>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2022-03-03T11:07:25Z
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
- v10-0001-64-bit-GUCs.patch (application/octet-stream) patch v10-0001
- v10-0002-README.XID64.patch (application/octet-stream) patch v10-0002
- v10-0003-Add-64bit-xid.patch (application/octet-stream) patch v10-0003
Hi hackers, > The patch doesn't apply - I suppose the patch is relative a forked postgres No, the authors just used a little outdated `master` branch. I successfully applied it against 31d8d474 and then rebased to the latest master (62ce0c75). The new version is attached. Not 100% sure if my rebase is correct since I didn't invest too much time into reviewing the code. But at least it passes `make installcheck` locally. Let's see what cfbot will tell us. > I encourage trying to break down the patch into smaller incrementally useful > pieces. E.g. making all the SLRUs 64bit would be a substantial and > independently committable piece. Completely agree. And the changes like: +#if 0 /* XXX remove unit tests */ ... suggest that the patch is pretty raw in its current state. Pavel, Maxim, don't you mind me splitting the patchset, or would you like to do it yourself and/or maybe include more changes? I don't know how actively you are working on this. -- Best regards, Aleksander Alekseev