doc: Add note about postgres_fdw.application_name.
authorFujii Masao <fujii@postgresql.org>
Thu, 16 Dec 2021 06:18:30 +0000 (15:18 +0900)
committerFujii Masao <fujii@postgresql.org>
Thu, 16 Dec 2021 06:18:30 +0000 (15:18 +0900)
commit58e2e6eb67fec14c793c74207407e172d7e0291d
tree5b05a947edee4e630b6c39c0f70e92ec4e49763a
parenta13db0e16404ae532fe037071c7fe2576a1f8890
doc: Add note about postgres_fdw.application_name.

postgres_fdw.application_name can be any string of any length
and contain even non-ASCII characters.  However when it's passed
to and used as application_name in a foreign server, it's truncated
to less than NAMEDATALEN characters and any characters
other than printable ASCII ones in it will be replaced with question
marks. This commit adds these notes into the docs.

Author: Hayato Kuroda
Reviewed-by: Kyotaro Horiguchi, Fujii Masao
Discussion: https://postgr.es/m/TYCPR01MB5870D1E8B949DAF6D3B84E02F5F29@TYCPR01MB5870.jpnprd01.prod.outlook.com
doc/src/sgml/postgres-fdw.sgml