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

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Make sure walsender state is only read while holding the spinloc
Date: 2011-01-13 17:53:20
Message-ID: E1PdRMO-0001Uh-U8@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2011-01-13 19:34:13 pgsql: Revert incorrect memory-conservation hack in inheritance_planner
Previous Message Bruce Momjian 2011-01-13 17:09:42 pgsql: More libpq documentation adjustments from Leslie S Satenstein, r