From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Change GetMultiXactInfo() to return the next multixact offset
Date: Tue, 30 Dec 2025 05:04:11 +0000
Message-ID: <E1vaRty-003Qdd-01@gemulon.postgresql.org> (raw)
Change GetMultiXactInfo() to return the next multixact offset
This routine returned a number of members as a MultiXactOffset,
calculated based on the difference between the next-to-be-assigned
offset and the oldest offset. However, this number is not actually an
offset but a number.
This type confusion comes from the original implementation of
MultiXactMemberFreezeThreshold(), in 53bb309d2d5a. The number of
members is now defined as a uint64, large enough for MultiXactOffset.
This change will be used in a follow-up patch.
Reviewed-by: Naga Appani <nagnrik@gmail.com>
Discussion: https://postgr.es/m/aUyTvZMq2CLgNEB4@paquier.xyz
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/9cf746a453c15ffdf652a6d50683bfd82e654950
Modified Files
--------------
src/backend/access/transam/multixact.c | 16 ++++++++--------
src/include/access/multixact.h | 2 +-
2 files changed, 9 insertions(+), 9 deletions(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-committers@postgresql.org
Cc: michael@paquier.xyz, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Change GetMultiXactInfo() to return the next multixact offset
In-Reply-To: <E1vaRty-003Qdd-01@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox