Re: isolationtester: add session name to application name - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: isolationtester: add session name to application name
Date
Msg-id 1d15d656-af2f-86ef-a0d6-97a52202b6b5@dunslane.net
Whole thread Raw
In response to isolationtester: add session name to application name  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
On 12/10/21 20:20, Andres Freund wrote:
> The attached patch executes
>   SELECT set_config('application_name', current_setting('application_name') || '/' || $1, false);
> when establishing connections to deal with that.


Sounds good


>
> As attached this appends "control connection" for the control connection, but
> perhaps we should just not append anything for that?
>



"control connection" seems reasonable.


cheers


andrew

--
Andrew Dunstan
EDB: https://www.enterprisedb.com




pgsql-hackers by date:

Previous
From: Guillaume Lelarge
Date:
Subject: Re: Probable memory leak with ECPG and AIX
Next
From: Masahiko Sawada
Date:
Subject: Re: parallel vacuum comments