diff --git a/doc/src/sgml/postgres-fdw.sgml b/doc/src/sgml/postgres-fdw.sgml
index 41c952fbe3..e71d2b4eea 100644
--- a/doc/src/sgml/postgres-fdw.sgml
+++ b/doc/src/sgml/postgres-fdw.sgml
@@ -933,6 +933,16 @@ postgres=# SELECT postgres_fdw_disconnect_all();
configuration parameter used when postgres_fdw
establishes a connection to a foreign server. This overrides
application_name option of the server object.
+
+
+ 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, note that it will be truncated to less than
+ NAMEDATALEN characters and any characters other
+ than printable ASCII ones in it will be replaced with question
+ marks (?).
+
Note that change of this parameter doesn't affect any existing
connections until they are re-established.