diff options
author | Noah Misch <noah@leadboat.com> | 2020-09-13 23:13:44 -0700 |
---|---|---|
committer | Noah Misch <noah@leadboat.com> | 2020-09-13 23:13:44 -0700 |
commit | b6a5b766b3e5b7bd25e9d0db60a60657df2aa97e (patch) | |
tree | d067e794d7f7800e1408e997f044fb2acf1dc6de /src/backend/access/transam/commit_ts.c | |
parent | 783a21eff37ec2cbe44b6e88aa4edb15a151155e (diff) | |
download | postgresql-b6a5b766b3e5b7bd25e9d0db60a60657df2aa97e.tar.gz postgresql-b6a5b766b3e5b7bd25e9d0db60a60657df2aa97e.zip |
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.
Diffstat (limited to 'src/backend/access/transam/commit_ts.c')
0 files changed, 0 insertions, 0 deletions