diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2017-09-01 16:51:55 +0200 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2017-09-01 16:51:55 +0200 |
commit | ef585de80e29d7f20988ce06fafa58a215f6b122 (patch) | |
tree | ef7fffb37adaaaa0a75639d587732bd11e17a6c7 /src/backend/access/gist/gistxlog.c | |
parent | f15b76a9010dfd6052405d058bf8c0a488cec979 (diff) | |
download | postgresql-ef585de80e29d7f20988ce06fafa58a215f6b122.tar.gz postgresql-ef585de80e29d7f20988ce06fafa58a215f6b122.zip |
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/backend/access/gist/gistxlog.c')
0 files changed, 0 insertions, 0 deletions