Re: File name as application name in regression tests and elsewhere - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: File name as application name in regression tests and elsewhere
Date
Msg-id 8e6c438b-9b6e-66d0-2234-7b3a8d3e144f@2ndQuadrant.com
Whole thread Raw
In response to Re: File name as application name in regression tests and elsewhere  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
List 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



pgsql-hackers by date:

Previous
From: Mark Dilger
Date:
Subject: Re: Boolean partitions syntax
Next
From: Erik Rijkers
Date:
Subject: TRAP: FailedAssertion("!(TransactionIdPrecedesOrEquals