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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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)

Browse pgsql-committers by date

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