agora inbox for pgsql-committers@postgresql.org
help / color / mirror / Atom feedFrom: Heikki Linnakangas <heikki.linnakangas@iki.fi>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix multixact members truncation at page boundary
Date: Wed, 16 Sep 2026 12:30:35 +0000
Message-ID: <E1x6omZ-00000000aPy-0Yaj@gemulon.postgresql.org> (raw)
Fix multixact members truncation at page boundary
Like in PerformOffsetsTruncation() and e.g. in TruncateSUBTRANS(),
need to step back to previous page at page boundary, to avoid passing
a cutoff page to SimpleLruTruncate() that hasn't been created
yet. Otherwise you can get a bogus 'LOG: could not truncate directory
"pg_multixact/members": apparent wraparound' message in the log.
Reported-by: Noah Misch <noah@leadboat.com>
Discussion: https://www.postgresql.org/message-id/20260827231757.78.noahmisch@microsoft.com
Backpatch-through: 19
Branch
------
REL_19_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/d8408e8d6823036bb88310b36eed8d9607220847
Modified Files
--------------
src/backend/access/transam/multixact.c | 17 +++++++++++------
1 file changed, 11 insertions(+), 6 deletions(-)
view thread (2+ messages)
Message-ID: <E1x6omZ-00000000aPy-0Yaj@gemulon.postgresql.org>
Permalink: ../E1x6omZ-00000000aPy-0Yaj@gemulon.postgresql.org/
Also on: postgresql.org/message-id/E1x6omZ-00000000aPy-0Yaj@gemulon.postgresql.org
reply
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: heikki.linnakangas@iki.fi, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Fix multixact members truncation at page boundary
In-Reply-To: <E1x6omZ-00000000aPy-0Yaj@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 agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox