Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit58e2e6e

Browse files
committed
doc: Add note about postgres_fdw.application_name.
postgres_fdw.application_name can be any string of any lengthand contain even non-ASCII characters. However when it's passedto and used as application_name in a foreign server, it's truncatedto less than NAMEDATALEN characters and any charactersother than printable ASCII ones in it will be replaced with questionmarks. This commit adds these notes into the docs.Author: Hayato KurodaReviewed-by: Kyotaro Horiguchi, Fujii MasaoDiscussion:https://postgr.es/m/TYCPR01MB5870D1E8B949DAF6D3B84E02F5F29@TYCPR01MB5870.jpnprd01.prod.outlook.com
1 parenta13db0e commit58e2e6e

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

‎doc/src/sgml/postgres-fdw.sgml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -936,6 +936,16 @@ postgres=# SELECT postgres_fdw_disconnect_all();
936936
Note that change of this parameter doesn't affect any existing
937937
connections until they are re-established.
938938
</para>
939+
<para>
940+
<varname>postgres_fdw.application_name</varname> can be any string
941+
of any length and contain even non-ASCII characters. However when
942+
it's passed to and used as <varname>application_name</varname>
943+
in a foreign server, note that it will be truncated to less than
944+
<symbol>NAMEDATALEN</symbol> characters and any characters other
945+
than printable ASCII ones in it will be replaced with question
946+
marks (<literal>?</literal>).
947+
See <xref linkend="guc-application-name"/> for details.
948+
</para>
939949
</listitem>
940950
</varlistentry>
941951
</variablelist>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp