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

Поиск
Список
Период
Сортировка
От tgl@postgresql.org (Tom Lane)
Тема pgsql: Don't set recoveryLastXTime when replaying a checkpoint --- that
Дата
Msg-id 20100703221545.93F0C7541D4@cvs.postgresql.org
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Make vacuum_defer_cleanup_age be PGC_SIGHUP level, since it's not
Следующее
От: momjian@postgresql.org (Bruce Momjian)
Дата:
Сообщение: pgsql: Remove SGML tab.