Re: File name as application name in regression tests and elsewhere

From: Andrew Dunstan <andrew(dot)dunstan(at)2ndquadrant(dot)com>
To: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: File name as application name in regression tests and elsewhere
Date: 2017-12-19 22:10:14
Message-ID: 8e6c438b-9b6e-66d0-2234-7b3a8d3e144f@2ndQuadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 12/18/2017 03:00 PM, Peter Eisentraut wrote:
> On 12/18/17 06:59, Andrew Dunstan wrote:
>> I was doing some work over the weekend and it occurred to me that it
>> would be quite nice to have the input file name from regression tests
>> set as the application name, and then use a log_line_prefix setting
>> including %a, so that this would appear on the logs.
> It does do that already, as of commit
> a4327296df7366ecc657b706a9b5e87aa921311a. Is it not working for you?
>

Hah! Totally missed that! It's not working for me because the buildfarm
is carefully overriding the log_line_prefix without including %a - it's
been like that for ages. I will change the default and go around and
change all my machine settings.

cheers

andrew

--

Andrew Dunstan https://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Alex Shulgin 2017-12-19 22:32:33 Re: Estimate maintenance_work_mem for CREATE INDEX
Previous Message Mark Dilger 2017-12-19 21:46:03 Re: Boolean partitions syntax