Thread: pgsql: Need to hold ControlFileLock while updating control file.

pgsql: Need to hold ControlFileLock while updating control file.

From
heikki@postgresql.org (Heikki Linnakangas)
Date:
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)