diff options
author | Alvaro Herrera | 2017-09-01 14:51:55 +0000 |
---|---|---|
committer | Alvaro Herrera | 2017-09-01 14:51:55 +0000 |
commit | 89c59b742a7f89eb598a25b70aaa3ab97381f67d (patch) | |
tree | 41c0493188137859467dab900b393797c66b6234 /src/include/c.h | |
parent | a6979c3a68e2caa6696021f7a15278a99e7409a1 (diff) |
Fix two-phase commit test for recovery mode
The original code had a race condition because it never ensured the
standby was caught up before proceeding; add a wait similar to every
other place that does this.
Author: Michaƫl Paquier
Discussion: https://postgr.es/m/CAB7nPqTm9p+LCm1mVJYvgpwagRK+uibT-pKq0O2-paOWxT62jw@mail.gmail.com
Diffstat (limited to 'src/include/c.h')
0 files changed, 0 insertions, 0 deletions