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

pgsql: Check RecoveryInProgress() while holding ProcArrayLock during

From: sriggs(at)postgresql(dot)org (Simon Riggs)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Check RecoveryInProgress() while holding ProcArrayLock during
Date: 2010-04-19 18:03:38
Message-ID: 20100419180338.B9A9B7541D0@cvs.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
Check RecoveryInProgress() while holding ProcArrayLock during snapshots.
This prevents a rare, yet possible race condition at the exact moment
of transition from recovery to normal running.

Modified Files:
--------------
    pgsql/src/backend/storage/ipc:
        procarray.c (r1.63 -> r1.64)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/storage/ipc/procarray.c?r1=1.63&r2=1.64)

pgsql-committers by date

Next:From: Simon RiggsDate: 2010-04-19 18:17:56
Subject: Re: Re: [COMMITTERS] pgsql: Tune GetSnapshotData() during Hot Standby by avoiding loop
Previous:From: Tom LaneDate: 2010-04-19 17:54:48
Subject: pgsql: Fix uninitialized local variables.

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