pgsql: Need to hold ControlFileLock while updating control file.

From: heikki(at)postgresql(dot)org (Heikki Linnakangas)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Need to hold ControlFileLock while updating control file.
Date: 2010-05-03 11:17:53
Message-ID: 20100503111753.347AC7541D2@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Need to hold ControlFileLock while updating control file. Update
minRecoveryPoint in control file when replaying a parameter change record,
to ensure that we don't allow hot standby on WAL generated without
wal_level='hot_standby' after a standby restart.

Modified Files:
--------------
pgsql/src/backend/access/transam:
xlog.c (r1.408 -> r1.409)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/transam/xlog.c?r1=1.408&r2=1.409)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2010-05-03 15:35:30 pgsql: Remove spurious dot, per bug #5446 reported by
Previous Message Heikki Linnakangas 2010-05-03 10:31:29 pgsql: Change wording so that you don't need to understand that