pgsql: postmaster: Start syslogger earlier

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема pgsql: postmaster: Start syslogger earlier
Дата
Msg-id E1gowFj-0000nz-5B@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
postmaster: Start syslogger earlier

When the syslogger was originally
added (bdf8ef6925de6ea1a9330fa1ce32e1a315d07eb2), nothing was normally
logged before the point where it was started.  But since
f9dfa5c9776649f769d537dd0923003b35f128de, the creation of sockets
causes messages of level LOG to be written routinely, so those don't
go to the syslogger now.

To improve that, arrange the sequence in PostmasterMain() slightly so
that the syslogger is started early enough to capture those messages.

Discussion: https://www.postgresql.org/message-id/d5d50936-20b9-85f1-06bc-94a01c5040c1%402ndquadrant.com
Reviewed-by: Christoph Berg <christoph.berg@credativ.de>

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/57431a911d3a650451d198846ad3194900666152

Modified Files
--------------
src/backend/postmaster/postmaster.c | 120 ++++++++++++++++++------------------
1 file changed, 60 insertions(+), 60 deletions(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pgsql: Change error handling of out of scope variables in ecpg.
Следующее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: Log PostgreSQL version number on startup