pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Fix setting next multixid's offset at offset wraparound 6+ messages / 1 participants [nested] [flat]
* pgsql: Fix setting next multixid's offset at offset wraparound @ 2025-12-05 09:48 Heikki Linnakangas <heikki.linnakangas@iki.fi> 0 siblings, 0 replies; 6+ messages in thread From: Heikki Linnakangas @ 2025-12-05 09:48 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix setting next multixid's offset at offset wraparound In commit 789d65364c, we started updating the next multixid's offset too when recording a multixid, so that it can always be used to calculate the number of members. I got it wrong at offset wraparound: we need to skip over offset 0. Fix that. Discussion: https://www.postgresql.org/message-id/d9996478-389a-4340-8735-bfad456b313c@iki.fi Backpatch-through: 14 Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/4d936c3fff1ac8dead2cc240ba3da2ed6337257c Modified Files -------------- src/backend/access/transam/multixact.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Fix setting next multixid's offset at offset wraparound @ 2025-12-05 09:48 Heikki Linnakangas <heikki.linnakangas@iki.fi> 0 siblings, 0 replies; 6+ messages in thread From: Heikki Linnakangas @ 2025-12-05 09:48 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix setting next multixid's offset at offset wraparound In commit 789d65364c, we started updating the next multixid's offset too when recording a multixid, so that it can always be used to calculate the number of members. I got it wrong at offset wraparound: we need to skip over offset 0. Fix that. Discussion: https://www.postgresql.org/message-id/d9996478-389a-4340-8735-bfad456b313c@iki.fi Backpatch-through: 14 Branch ------ REL_18_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/02ba5e3be4f3520a45f3c9c22f61d62c4eadbb76 Modified Files -------------- src/backend/access/transam/multixact.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Fix setting next multixid's offset at offset wraparound @ 2025-12-05 09:48 Heikki Linnakangas <heikki.linnakangas@iki.fi> 0 siblings, 0 replies; 6+ messages in thread From: Heikki Linnakangas @ 2025-12-05 09:48 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix setting next multixid's offset at offset wraparound In commit 789d65364c, we started updating the next multixid's offset too when recording a multixid, so that it can always be used to calculate the number of members. I got it wrong at offset wraparound: we need to skip over offset 0. Fix that. Discussion: https://www.postgresql.org/message-id/d9996478-389a-4340-8735-bfad456b313c@iki.fi Backpatch-through: 14 Branch ------ REL_17_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/cad40cec24f338a4ac8004b58301c0809df48c03 Modified Files -------------- src/backend/access/transam/multixact.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Fix setting next multixid's offset at offset wraparound @ 2025-12-05 09:48 Heikki Linnakangas <heikki.linnakangas@iki.fi> 0 siblings, 0 replies; 6+ messages in thread From: Heikki Linnakangas @ 2025-12-05 09:48 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix setting next multixid's offset at offset wraparound In commit 789d65364c, we started updating the next multixid's offset too when recording a multixid, so that it can always be used to calculate the number of members. I got it wrong at offset wraparound: we need to skip over offset 0. Fix that. Discussion: https://www.postgresql.org/message-id/d9996478-389a-4340-8735-bfad456b313c@iki.fi Backpatch-through: 14 Branch ------ REL_16_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/4d689a17693ed65461b2f3a02c24c98f30d930d0 Modified Files -------------- src/backend/access/transam/multixact.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Fix setting next multixid's offset at offset wraparound @ 2025-12-05 09:48 Heikki Linnakangas <heikki.linnakangas@iki.fi> 0 siblings, 0 replies; 6+ messages in thread From: Heikki Linnakangas @ 2025-12-05 09:48 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix setting next multixid's offset at offset wraparound In commit 789d65364c, we started updating the next multixid's offset too when recording a multixid, so that it can always be used to calculate the number of members. I got it wrong at offset wraparound: we need to skip over offset 0. Fix that. Discussion: https://www.postgresql.org/message-id/d9996478-389a-4340-8735-bfad456b313c@iki.fi Backpatch-through: 14 Branch ------ REL_15_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/b9a02b9780bc93afef4bc268212960dec2f9c88d Modified Files -------------- src/backend/access/transam/multixact.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Fix setting next multixid's offset at offset wraparound @ 2025-12-05 09:48 Heikki Linnakangas <heikki.linnakangas@iki.fi> 0 siblings, 0 replies; 6+ messages in thread From: Heikki Linnakangas @ 2025-12-05 09:48 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix setting next multixid's offset at offset wraparound In commit 789d65364c, we started updating the next multixid's offset too when recording a multixid, so that it can always be used to calculate the number of members. I got it wrong at offset wraparound: we need to skip over offset 0. Fix that. Discussion: https://www.postgresql.org/message-id/d9996478-389a-4340-8735-bfad456b313c@iki.fi Backpatch-through: 14 Branch ------ REL_14_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/48969555447f17d8dc944e94746769105680e627 Modified Files -------------- src/backend/access/transam/multixact.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
end of thread, other threads:[~2025-12-05 09:48 UTC | newest] Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2025-12-05 09:48 pgsql: Fix setting next multixid's offset at offset wraparound Heikki Linnakangas <heikki.linnakangas@iki.fi> 2025-12-05 09:48 pgsql: Fix setting next multixid's offset at offset wraparound Heikki Linnakangas <heikki.linnakangas@iki.fi> 2025-12-05 09:48 pgsql: Fix setting next multixid's offset at offset wraparound Heikki Linnakangas <heikki.linnakangas@iki.fi> 2025-12-05 09:48 pgsql: Fix setting next multixid's offset at offset wraparound Heikki Linnakangas <heikki.linnakangas@iki.fi> 2025-12-05 09:48 pgsql: Fix setting next multixid's offset at offset wraparound Heikki Linnakangas <heikki.linnakangas@iki.fi> 2025-12-05 09:48 pgsql: Fix setting next multixid's offset at offset wraparound Heikki Linnakangas <heikki.linnakangas@iki.fi>
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