pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Stabilize xid_wraparound tests 2+ messages / 1 participants [nested] [flat]
* pgsql: Stabilize xid_wraparound tests @ 2024-07-30 10:27 Andrew Dunstan <andrew@dunslane.net> 0 siblings, 0 replies; 2+ messages in thread From: Andrew Dunstan @ 2024-07-30 10:27 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Stabilize xid_wraparound tests The tests had a race condition if autovacuum was set to off. Instead we create all the tables we are interested in with autovacuum disabled, so they are only ever touched when in danger of wraparound. Discussion: https://postgr.es/m/3e2cbd24-f45e-4b2b-ba83-8149214f0a4d@dunslane.net Masahiko Sawada (slightly tweaked by me) Backpatch to release 17 where these tests were introduced. Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/800cd3e923597172a29aba49da45753f52996ee8 Modified Files -------------- .../xid_wraparound/t/001_emergency_vacuum.pl | 28 ++++++++++------------ src/test/modules/xid_wraparound/t/002_limits.pl | 6 ++--- .../modules/xid_wraparound/t/003_wraparounds.pl | 6 ++--- 3 files changed, 19 insertions(+), 21 deletions(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
* pgsql: Stabilize xid_wraparound tests @ 2024-07-30 10:27 Andrew Dunstan <andrew@dunslane.net> 0 siblings, 0 replies; 2+ messages in thread From: Andrew Dunstan @ 2024-07-30 10:27 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Stabilize xid_wraparound tests The tests had a race condition if autovacuum was set to off. Instead we create all the tables we are interested in with autovacuum disabled, so they are only ever touched when in danger of wraparound. Discussion: https://postgr.es/m/3e2cbd24-f45e-4b2b-ba83-8149214f0a4d@dunslane.net Masahiko Sawada (slightly tweaked by me) Backpatch to release 17 where these tests were introduced. Branch ------ REL_17_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/787ea8c9d812e5ae76b7a8981e5f93cee80c8a36 Modified Files -------------- .../xid_wraparound/t/001_emergency_vacuum.pl | 28 ++++++++++------------ src/test/modules/xid_wraparound/t/002_limits.pl | 6 ++--- .../modules/xid_wraparound/t/003_wraparounds.pl | 6 ++--- 3 files changed, 19 insertions(+), 21 deletions(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2024-07-30 10:27 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2024-07-30 10:27 pgsql: Stabilize xid_wraparound tests Andrew Dunstan <andrew@dunslane.net> 2024-07-30 10:27 pgsql: Stabilize xid_wraparound tests Andrew Dunstan <andrew@dunslane.net>
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