diff options
author | Simon Riggs <simon@2ndQuadrant.com> | 2017-12-29 14:30:33 +0000 |
---|---|---|
committer | Simon Riggs <simon@2ndQuadrant.com> | 2017-12-29 14:30:33 +0000 |
commit | 48c9f4926562278a2fd2b85e7486c6d11705f177 (patch) | |
tree | 192626a7b934aef6c19d9521c6845745ad9eb8e5 /src/backend/access/gist/gistproc.c | |
parent | 2958a672b1fed35403b23c2b453aede9f7ef4b39 (diff) | |
download | postgresql-48c9f4926562278a2fd2b85e7486c6d11705f177.tar.gz postgresql-48c9f4926562278a2fd2b85e7486c6d11705f177.zip |
Fix race condition when changing synchronous_standby_names
A momentary window exists when synchronous_standby_names
changes that allows commands issued after the change to
continue to act as async until the change becomes visible.
Remove the race by using more appropriate test in syncrep.c
Author: Asim Rama Praveen and Ashwin Agrawal
Reported-by: Xin Zhang, Ashwin Agrawal, and Asim Rama Praveen
Reviewed-by: Michael Paquier, Masahiko Sawada
Diffstat (limited to 'src/backend/access/gist/gistproc.c')
0 files changed, 0 insertions, 0 deletions