[COMMITTERS] pgsql: Fix two-phase commit test for recovery mode

2017-09-01 Thread Alvaro Herrera
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+ui

[COMMITTERS] pgsql: Fix two-phase commit test for recovery mode

2017-09-01 Thread Alvaro Herrera
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+ui