diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2024-12-16 15:56:38 +0200 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2024-12-16 15:59:27 +0200 |
commit | d1253c67fa29a8cfd15874f9154ddf86e05921a9 (patch) | |
tree | 426487fcfd70e953394c16505770fd8b3f6effda /src/tutorial/funcs.c | |
parent | ff9dc96f370aa33a5c1c578c43c598473705d82f (diff) | |
download | postgresql-d1253c67fa29a8cfd15874f9154ddf86e05921a9.tar.gz postgresql-d1253c67fa29a8cfd15874f9154ddf86e05921a9.zip |
Make 009_twophase.pl test pass with recovery_min_apply_delay set
The test failed if you ran the regression tests with TEMP_CONFIG with
recovery_min_apply_delay = '500ms'. Fix the race condition by waiting
for transaction to be applied in the replica, like in a few other
tests.
The failing test was introduced in commit cbfbda7841. Backpatch to all
supported versions like that commit (except v12, which is no longer
supported).
Reported-by: Alexander Lakhin
Discussion: https://www.postgresql.org/message-id/09e2a70a-a6c2-4b5c-aeae-040a7449c9f2@gmail.com
Diffstat (limited to 'src/tutorial/funcs.c')
0 files changed, 0 insertions, 0 deletions