]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Make new replication slot test code even less racy
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Mon, 19 Jul 2021 21:21:07 +0000 (17:21 -0400)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Mon, 19 Jul 2021 21:21:07 +0000 (17:21 -0400)
commit1e8751380836056fdf546433dcf0328bc18c9313
tree0aa06c929569239fa812aab5a553a9922d8d6543
parent40295d158fd4d462c55e6debae19dcd43ab530a6
Make new replication slot test code even less racy

Further fix the test code in ead9e51e8236, this time by waiting until
the checkpoint has completed before moving on; this ensures that the
WAL segment removal has already happened when we create the next slot.

Author: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Discussion: https://postgr.es/m/20210719.111318.2042379313472032754.horikyota.ntt@gmail.com
src/test/recovery/t/019_replslot_limit.pl