BUG #14043: log_line_prefix %h not expand.(RPM only)

Поиск
Список
Период
Сортировка
От harada.toshi@po.ntts.co.jp
Тема BUG #14043: log_line_prefix %h not expand.(RPM only)
Дата
Msg-id 20160324094944.2899.63881@wrigleys.postgresql.org
обсуждение исходный текст
Ответы Re: BUG #14043: log_line_prefix %h not expand.(RPM only)  (Michael Paquier <michael.paquier@gmail.com>)
Список pgsql-bugs
The following bug has been logged on the website:

Bug reference:      14043
Logged by:          Harada Toshi
Email address:      harada.toshi@po.ntts.co.jp
PostgreSQL version: 9.5.0
Operating system:   CentOS 7
Description:

Hi.

* I have installed PostgreSQL 9.5.0 with RPM.
$ rpm -qa | grep postgres
postgresql95-devel-9.5.0-2PGDG.rhel7.x86_64
postgresql95-9.5.0-2PGDG.rhel7.x86_64
postgresql95-contrib-9.5.0-2PGDG.rhel7.x86_64
postgresql95-server-9.5.0-2PGDG.rhel7.x86_64
postgresql95-libs-9.5.0-2PGDG.rhel7.x86_64

* Host name (% h) was set to log_line_prefix.

log_line_prefix='(%h) (%r) :'

* In addition, we set the log_connections = on.

* And, connected by Unix-Domain-Socket to PostgreSQL.

$ psql postgres

* At this time, but confirmed the server log of the (connection revcieved),
host name has become an empty without being expanded.

() (): LOG: connection received: host = [local]

* However, the message itself, that contains the [local].

* In addition, a source from the build (configure --prefix, --with-xml only)
of PostgreSQL 9.5.1 to, when the same operation, the host name is expanded.

([local]) ([local]): LOG: connection received: host = [local]

* Is this a 9.5.0 bug?  Or "RPM version PostgreSQL" specific issues?

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

Предыдущее
От: digoal@126.com
Дата:
Сообщение: BUG #14042: bug, PostgreSQL not cleanup temp table info after crash.
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: BUG #14043: log_line_prefix %h not expand.(RPM only)