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

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

From
Magnus Hagander
Date:
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(-)