pgsql: Fix startup so that log prefix %h works for the log_connections

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Fix startup so that log prefix %h works for the log_connections
Дата
Msg-id E1aOAO9-0005kJ-Ip@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix startup so that log prefix %h works for the log_connections message.

We entirely randomly chose to initialize port->remote_host just after
printing the log_connections message, when we could perfectly well do it
just before, allowing %h and %r to work for that message.  Per gripe from
Artem Tomyuk.

Branch
------
REL9_4_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/2b3983158726be1b2494208786506dfccd900d47

Modified Files
--------------
src/backend/postmaster/postmaster.c |   14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix startup so that log prefix %h works for the log_connections
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix startup so that log prefix %h works for the log_connections