pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Stabilize repack_decode isolation test. 2+ messages / 1 participants [nested] [flat]
* pgsql: Stabilize repack_decode isolation test. @ 2026-10-01 12:53 Masahiko Sawada <msawada@postgresql.org> 0 siblings, 0 replies; 2+ messages in thread From: Masahiko Sawada @ 2026-10-01 12:53 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Stabilize repack_decode isolation test. Commit 7164dcb66532 added the repack_decode isolation test, whose s1_decode step counts every change decoded from the slot. A concurrent autovacuum transaction that modifies only system catalogs is decoded as an empty BEGIN/COMMIT pair, so the count could come out larger than expected. Fix by passing skip-empty-xacts to test_decoding. We pass it, along with include-xids=0, to s1_decode_updates as well so that both steps use the same options for consistency, though that step shows only UPDATE lines and wasn't affected. Per buildfarm animal skink. Reported-by: Alexander Lakhin <exclusion@gmail.com> Discussion: https://postgr.es/m/d704cde4-b1f2-48dc-8c5e-659d1128d286@gmail.com Backpatch-through: 19 Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/adffcab923e1cd3d2a0fd0b21eb4a91f080065a3 Modified Files -------------- src/test/modules/injection_points/expected/repack_decode.out | 8 +++++--- src/test/modules/injection_points/specs/repack_decode.spec | 6 ++++-- 2 files changed, 9 insertions(+), 5 deletions(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
* pgsql: Stabilize repack_decode isolation test. @ 2026-10-01 12:53 Masahiko Sawada <msawada@postgresql.org> 0 siblings, 0 replies; 2+ messages in thread From: Masahiko Sawada @ 2026-10-01 12:53 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Stabilize repack_decode isolation test. Commit 7164dcb66532 added the repack_decode isolation test, whose s1_decode step counts every change decoded from the slot. A concurrent autovacuum transaction that modifies only system catalogs is decoded as an empty BEGIN/COMMIT pair, so the count could come out larger than expected. Fix by passing skip-empty-xacts to test_decoding. We pass it, along with include-xids=0, to s1_decode_updates as well so that both steps use the same options for consistency, though that step shows only UPDATE lines and wasn't affected. Per buildfarm animal skink. Reported-by: Alexander Lakhin <exclusion@gmail.com> Discussion: https://postgr.es/m/d704cde4-b1f2-48dc-8c5e-659d1128d286@gmail.com Backpatch-through: 19 Branch ------ REL_19_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/950a2a19276bc41034eb0d0121234c02a1431f58 Modified Files -------------- src/test/modules/injection_points/expected/repack_decode.out | 8 +++++--- src/test/modules/injection_points/specs/repack_decode.spec | 6 ++++-- 2 files changed, 9 insertions(+), 5 deletions(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2026-10-01 12:53 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2026-10-01 12:53 pgsql: Stabilize repack_decode isolation test. Masahiko Sawada <msawada@postgresql.org> 2026-10-01 12:53 pgsql: Stabilize repack_decode isolation test. Masahiko Sawada <msawada@postgresql.org>
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