pgsql: Make sure walsender state is only read while holding the spinloc

Started by Magnus Haganderover 15 years ago1 messagescomitters
Jump to latest
#1Magnus Hagander
magnus@hagander.net

Make sure walsender state is only read while holding the spinlock

Noted by Robert Haas.

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=9eacd427e811a97337de1fdd61a3cb90604981ad

Modified Files
--------------
src/backend/replication/walsender.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)