agora inbox for pgsql-committers@postgresql.orghelp / color / mirror / Atom feed
pgsql: Fix multixact members truncation at page boundary 2+ messages / 1 participants [nested] [flat]
* pgsql: Fix multixact members truncation at page boundary @ 2026-09-16 12:30 Heikki Linnakangas <heikki.linnakangas@iki.fi> 0 siblings, 0 replies; 2+ messages in thread From: Heikki Linnakangas @ 2026-09-16 12:30 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 ------ master Details ------- https://git.postgresql.org/pg/commitdiff/fcc0e27f45e2d8dc6046435908a48626c91d3d84 Modified Files -------------- src/backend/access/transam/multixact.c | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
* pgsql: Fix multixact members truncation at page boundary @ 2026-09-16 12:30 Heikki Linnakangas <heikki.linnakangas@iki.fi> 0 siblings, 0 replies; 2+ messages in thread From: Heikki Linnakangas @ 2026-09-16 12:30 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2026-09-16 12:30 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2026-09-16 12:30 pgsql: Fix multixact members truncation at page boundary Heikki Linnakangas <heikki.linnakangas@iki.fi> 2026-09-16 12:30 pgsql: Fix multixact members truncation at page boundary Heikki Linnakangas <heikki.linnakangas@iki.fi>
This inbox is served by agora; see mirroring instructions for how to clone and mirror all data and code used for this inbox