Re: Support escape sequence for cluster_name in postgres_fdw.application_name

From: Fujii Masao <masao(dot)fujii(at)oss(dot)nttdata(dot)com>
To: "r(dot)takahashi_2(at)fujitsu(dot)com" <r(dot)takahashi_2(at)fujitsu(dot)com>, Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>
Cc: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Support escape sequence for cluster_name in postgres_fdw.application_name
Date: 2022-02-10 14:42:11
Message-ID: 0fbc8eb3-f5b9-33ed-9cf2-dceef9a3658f@oss.nttdata.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2022/02/09 9:19, r(dot)takahashi_2(at)fujitsu(dot)com wrote:
> Hi,
>
>
> Thank you for updating the patch.
> I agree with the documentation and program.
>
> How about adding the test for %c (Session ID)?
> (Adding the test for %C (cluster_name) seems difficult.)

Ok, I added the tests for %c and %C escape sequences.
Attached is the updated version of the patch.

Regards,

--
Fujii Masao
Advanced Computing Technology Center
Research and Development Headquarters
NTT DATA CORPORATION

Attachment Content-Type Size
pgfdw_appname_cluster_name_v3.patch text/plain 4.0 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Josef Šimánek 2022-02-10 14:48:29 Re: faulty link
Previous Message Ranier Vilela 2022-02-10 14:36:22 Re: Plug minor memleak in pg_dump