Skip site navigation (1) Skip section navigation (2)

pgsql: Make sure walsender state is only read while holding thespinloc

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 thespinloc
Date: 2011-01-13 17:53:20
Message-ID: E1PdRMO-0001Uh-U8@gemulon.postgresql.org (view raw or flat)
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(-)

pgsql-committers by date

Next:From: Tom LaneDate: 2011-01-13 19:34:13
Subject: pgsql: Revert incorrect memory-conservation hack ininheritance_planner
Previous:From: Bruce MomjianDate: 2011-01-13 17:09:42
Subject: pgsql: More libpq documentation adjustments from Leslie S Satenstein,r

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group