Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aj1u4-0005Kv-PK for pgsql-bugs@arkaria.postgresql.org; Thu, 24 Mar 2016 09:50:08 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1aj1u4-0007uB-C0 for pgsql-bugs@arkaria.postgresql.org; Thu, 24 Mar 2016 09:50:08 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1aj1u4-0007tx-29 for pgsql-bugs@postgresql.org; Thu, 24 Mar 2016 09:50:08 +0000 Received: from wrigleys.postgresql.org ([204.145.124.246]) by magus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aj1u0-0001Lp-Ld for pgsql-bugs@postgresql.org; Thu, 24 Mar 2016 09:50:07 +0000 MIME-Version: 1.0 Subject: BUG #14043: log_line_prefix %h not expand.(RPM only) To: pgsql-bugs@postgresql.org From: harada.toshi@po.ntts.co.jp Date: Thu, 24 Mar 2016 09:49:44 +0000 Message-ID: <20160324094944.2899.63881@wrigleys.postgresql.org> X-Pg-Spam-Score: -1.2 (-) Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org 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