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

From Peter Eisentraut
Subject Re: File name as application name in regression tests and elsewhere
Date
Msg-id 5e237e02-21b4-8b74-4abf-c39f35ab1fa7@2ndquadrant.com
Whole thread Raw
In response to File name as application name in regression tests and elsewhere  (Andrew Dunstan <andrew.dunstan@2ndquadrant.com>)
Responses Re: File name as application name in regression tests and elsewhere
List pgsql-hackers
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?

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


pgsql-hackers by date:

Previous
From: Fujii Masao
Date:
Subject: Re: [HACKERS] Assertion failure when the non-exclusive pg_stop_backup aborted.
Next
From: Peter Eisentraut
Date:
Subject: Re: [HACKERS] static assertions in C++