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

From: harada(dot)toshi(at)po(dot)ntts(dot)co(dot)jp
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #14043: log_line_prefix %h not expand.(RPM only)
Date: 2016-03-24 09:49:44
Message-ID: 20160324094944.2899.63881@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 14043
Logged by: Harada Toshi
Email address: harada(dot)toshi(at)po(dot)ntts(dot)co(dot)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?

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Michael Paquier 2016-03-24 12:28:02 Re: BUG #14043: log_line_prefix %h not expand.(RPM only)
Previous Message digoal 2016-03-24 08:45:08 BUG #14042: bug, PostgreSQL not cleanup temp table info after crash.