postgresql/contrib/postgres_fdw
Fujii Masao 94c49d5340 postgres_fdw: Make postgres_fdw.application_name support more escape sequences.
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, this commit makes it support
the escape sequences for session ID (%c) and cluster name (%C).
These are helpful to investigate where each remote transactions came from.

Author: Fujii Masao
Reviewed-by: Ryohei Takahashi, Kyotaro Horiguchi
Discussion: https://postgr.es/m/1041dc9a-c976-049f-9f14-e7d94c29c4b2@oss.nttdata.com
2022-02-18 11:38:12 +09:00
..
expected postgres_fdw: Make postgres_fdw.application_name support more escape sequences. 2022-02-18 11:38:12 +09:00
sql postgres_fdw: Make postgres_fdw.application_name support more escape sequences. 2022-02-18 11:38:12 +09:00
.gitignore Add postgres_fdw contrib module. 2013-02-21 05:27:16 -05:00
Makefile postgres_fdw: Add function to list cached connections to foreign servers. 2021-01-18 15:11:08 +09:00
connection.c Remove all traces of tuplestore_donestoring() in the C code 2022-02-17 09:52:02 +09:00
deparse.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
option.c postgres_fdw: Make postgres_fdw.application_name support more escape sequences. 2022-02-18 11:38:12 +09:00
postgres_fdw--1.0--1.1.sql postgres_fdw: Add functions to discard cached connections. 2021-01-26 15:35:54 +09:00
postgres_fdw--1.0.sql Add postgres_fdw contrib module. 2013-02-21 05:27:16 -05:00
postgres_fdw.c postgres_fdw: Fix handling of a pending asynchronous request in postgresReScanForeignScan(). 2022-01-27 16:15:00 +09:00
postgres_fdw.control postgres_fdw: Add function to list cached connections to foreign servers. 2021-01-18 15:11:08 +09:00
postgres_fdw.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
shippable.c Update copyright for 2022 2022-01-07 19:04:57 -05:00