From: harada.toshi@po.ntts.co.jp
To: pgsql-bugs@postgresql.org
Subject: BUG #14043: log_line_prefix %h not expand.(RPM only)
Date: Thu, 24 Mar 2016 09:49:44 +0000
Message-ID: <20160324094944.2899.63881@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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?
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: harada.toshi@po.ntts.co.jp
Subject: Re: BUG #14043: log_line_prefix %h not expand.(RPM only)
In-Reply-To: <20160324094944.2899.63881@wrigleys.postgresql.org>
References: <20160324094944.2899.63881@wrigleys.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox