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

From Fujii Masao
Subject Support escape sequence for cluster_name in postgres_fdw.application_name
Date
Msg-id 1041dc9a-c976-049f-9f14-e7d94c29c4b2@oss.nttdata.com
Whole thread Raw
Responses Re: Support escape sequence for cluster_name in postgres_fdw.application_name
List pgsql-hackers
Hi,

Commit 6e0cb3dec1 allowed postgres_fdw.application_name to include escape sequences %a (application name), %d (database
name),%u (user name) and %p (pid). In addition to them, I'd like to support the escape sequence (e.g., %C) for cluster
namethere. This escape sequence is helpful to investigate where each remote transactions came from. Thought?
 

Patch attached.

Regards,

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

pgsql-hackers by date:

Previous
From: Fujii Masao
Date:
Subject: Re: CREATEROLE and role ownership hierarchies
Next
From: David Rowley
Date:
Subject: Re: Fix BUG #17335: Duplicate result rows in Gather node