pgsql: Awhile back I added some code to StartupCLOG() to forcibly zero

Поиск
Список
Период
Сортировка
От tgl@svr1.postgresql.org (Tom Lane)
Тема pgsql: Awhile back I added some code to StartupCLOG() to forcibly zero
Дата
Msg-id 20041222184609.8FC4C3ABC62@svr1.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
Awhile back I added some code to StartupCLOG() to forcibly zero out
the remainder of the current clog page during system startup.  While
this was a good idea, it turns out the code fails if nextXid is
exactly at a page boundary, because we won't have created the "current"
clog page yet in that case.  Since the page will be correctly zeroed
when we execute the first transaction on it, the solution is just to
do nothing when exactly at a page boundary.  Per trouble report from
Dave Hartwig.

Modified Files:
--------------
    pgsql/src/backend/access/transam:
        clog.c (r1.26 -> r1.27)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/transam/clog.c.diff?r1=1.26&r2=1.27)

В списке pgsql-committers по дате отправления:

Предыдущее
От: momjian@svr1.postgresql.org (Bruce Momjian)
Дата:
Сообщение: pgsql: Add mention that pg_ctl will return an accurate exit code when
Следующее
От: tgl@svr1.postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Remove extra parenthesis.