Re: Add 64-bit XIDs into PostgreSQL 15
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Cc: Maxim Orlov <orlovmg@gmail.com>, Thom Brown <thom@linux.com>,
Zhang Mingli <zmlpostgres@gmail.com>,
Michael Paquier <michael@paquier.xyz>,
Justin Pryzby <pryzby@telsasoft.com>,
Dilip Kumar <dilipbalaut@gmail.com>,
Pavel Borisov <pashkin.elfe@gmail.com>,
Aleksander Alekseev <aleksander@timescale.com>,
pgsql-hackers@lists.postgresql.org,
Stephen Frost <sfrost@snowman.net>,
Alexander Korotkov <aekorotkov@gmail.com>,
Andres Freund <andres@anarazel.de>, Ilya Anfimov <ilan@tzirechnoy.com>
Date: 2022-11-21T19:21:35Z
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
Peter Eisentraut <peter.eisentraut@enterprisedb.com> writes: >> To date testing database cluster wraparund was not easy as initdb has always >> inited it with default xid/mxid/mxoff. The option to specify any valid >> xid/mxid/mxoff at cluster startup will make these things easier. > Doesn't pg_resetwal already provide that functionality, or at least some > of it? pg_resetwal does seem like a better, more useful home for this; it'd allow you to adjust these numbers after initial creation which might be useful. I'm not sure how flexible it is right now in terms of where you can set the new values, but that can always be improved. regards, tom lane