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

pgsql: Don't set recoveryLastXTime when replaying a checkpoint --- that

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Don't set recoveryLastXTime when replaying a checkpoint --- that
Date: 2010-07-03 22:15:45
Message-ID: 20100703221545.93F0C7541D4@cvs.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
Don't set recoveryLastXTime when replaying a checkpoint --- that was a bogus
idea from the start since the variable is only meant to track commit/abort
events.  This patch reverts the logic around the variable to what it was in
8.4, except that the value is now kept in shared memory rather than a static
variable, so that it can be reported correctly by CreateRestartPoint (which is
executed in the bgwriter).

Modified Files:
--------------
    pgsql/src/backend/access/transam:
        xlog.c (r1.428 -> r1.429)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/transam/xlog.c?r1=1.428&r2=1.429)

pgsql-committers by date

Next:From: Bruce MomjianDate: 2010-07-03 22:52:26
Subject: pgsql: Remove SGML tab.
Previous:From: Tom LaneDate: 2010-07-03 21:23:58
Subject: pgsql: Make vacuum_defer_cleanup_age be PGC_SIGHUP level, since it's not

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