]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix race in test of pg_switch_wal().
authorNoah Misch <noah@leadboat.com>
Mon, 14 Sep 2020 06:13:44 +0000 (23:13 -0700)
committerNoah Misch <noah@leadboat.com>
Mon, 14 Sep 2020 06:14:56 +0000 (23:14 -0700)
commite09391a0a042a631de05faa195aea86acc66ba43
treefb99e0df4f32600b48bad7545c1d5bb9060c536e
parent1a9c93ec3b9ae2766b60e97957d07028e2828796
Fix race in test of pg_switch_wal().

The test failed when something added WAL between pg_switch_wal() and
pg_current_wal_lsn(), seen on buildfarm members hornet and sungazer.
Fix v10, v9.6 and v9.5 by making this code mirror its v13+ counterpart.
v12 and v11 lack a counterpart.
src/test/recovery/t/020_archive_status.pl