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

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: Andrew Dunstan <andrew(dot)dunstan(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-18 20:00:14
Message-ID: 5e237e02-21b4-8b74-4abf-c39f35ab1fa7@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2017-12-18 20:04:57 Re: [HACKERS] static assertions in C++
Previous Message Fujii Masao 2017-12-18 18:52:54 Re: [HACKERS] Assertion failure when the non-exclusive pg_stop_backup aborted.