pgsql: Fix a problem in my recent patch to initialize cancel_key for

Поиск
Список
Период
Сортировка
От tgl@postgresql.org (Tom Lane)
Тема pgsql: Fix a problem in my recent patch to initialize cancel_key for
Дата
Msg-id 20070804031549.D6DC59FB3F7@postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
Fix a problem in my recent patch to initialize cancel_key for autovac workers
as well as regular backends: if no regular backend launches before the autovac
launcher tries to start an autovac worker, the postmaster would get an Assert
fault due to calling PostmasterRandom before random_seed was initialized.
Cleanest solution seems to be to take the initialization of random_seed out
of ServerLoop and let PostmasterRandom do it for itself.

Modified Files:
--------------
    pgsql/src/backend/postmaster:
        postmaster.c (r1.538 -> r1.539)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/postmaster/postmaster.c.diff?r1=1.538&r2=1.539)

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

Предыдущее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Suppress time zone name (%Z) when logging timestamps in xlog.c
Следующее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Fix crash caused by log_timezone patch if we attempt to emit any