Re: Support escape sequence for cluster_name in postgres_fdw.application_name - Mailing list pgsql-hackers

From Fujii Masao
Subject Re: Support escape sequence for cluster_name in postgres_fdw.application_name
Date
Msg-id 87a9be5a-ff59-47ff-ac7f-fad7891a46e3@oss.nttdata.com
Whole thread Raw
In response to RE: Support escape sequence for cluster_name in postgres_fdw.application_name  ("r.takahashi_2@fujitsu.com" <r.takahashi_2@fujitsu.com>)
Responses RE: Support escape sequence for cluster_name in postgres_fdw.application_name
List pgsql-hackers

On 2022/01/28 14:07, r.takahashi_2@fujitsu.com wrote:
> I think %c of log_line_prefix (Session ID) is also useful for postgres_fdw.application_name.
> Therefore, how about adding both %c (Session ID) and %C (cluster_name)?

+1

Attached is the updated version of the patch. It adds those escape sequences %c and %C.

Regards,

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

pgsql-hackers by date:

Previous
From: Julien Rouhaud
Date:
Subject: Re: Database-level collation version tracking
Next
From: Robert Haas
Date:
Subject: Re: Removing more vacuumlazy.c special cases, relfrozenxid optimizations