Re: isolationtester: add session name to application name

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Andres Freund <andres(at)anarazel(dot)de>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: isolationtester: add session name to application name
Date: 2021-12-11 13:12:55
Message-ID: 1d15d656-af2f-86ef-a0d6-97a52202b6b5@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Masahiko Sawada 2021-12-11 14:59:31 Re: parallel vacuum comments
Previous Message Guillaume Lelarge 2021-12-11 07:49:25 Re: Probable memory leak with ECPG and AIX