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

Commit950e236

Browse files
committed
doc: Fix descriptions related to the handling of non-ASCII characters
Since45b1a67, non-printable ASCII characters do not show up invarious configuration paths as question marks, but as hexadecimalescapes. The documentation was not updated to reflect that.Author: Hayato KurodaReviewed-by: Jian He, Tom Lane, Karl O. Pinc, Peter SmithDiscussion:https://postgr.es/m/TYAPR01MB586631D0961BF9C44893FAB1F523A@TYAPR01MB5866.jpnprd01.prod.outlook.comBackpatch-through: 16
1 parent3fa81b6 commit950e236

File tree

2 files changed

+12
-9
lines changed

2 files changed

+12
-9
lines changed

‎doc/src/sgml/config.sgml‎

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7012,8 +7012,9 @@ local0.* /var/log/postgresql
70127012
and included in CSV log entries. It can also be included in regular
70137013
log entries via the <xref linkend="guc-log-line-prefix"/> parameter.
70147014
Only printable ASCII characters may be used in the
7015-
<varname>application_name</varname> value. Other characters will be
7016-
replaced with question marks (<literal>?</literal>).
7015+
<varname>application_name</varname> value.
7016+
Other characters are replaced with <link
7017+
linkend="sql-syntax-strings-escape">C-style hexadecimal escapes</link>.
70177018
</para>
70187019
</listitem>
70197020
</varlistentry>
@@ -8009,10 +8010,12 @@ COPY postgres_log FROM '/full/path/to/logfile.csv' WITH csv;
80098010
The name can be any string of less
80108011
than <symbol>NAMEDATALEN</symbol> characters (64 characters in a standard
80118012
build). Only printable ASCII characters may be used in the
8012-
<varname>cluster_name</varname> value. Other characters will be
8013-
replaced with question marks (<literal>?</literal>). No name is shown
8014-
if this parameter is set to the empty string <literal>''</literal> (which is
8015-
the default). This parameter can only be set at server start.
8013+
<varname>cluster_name</varname> value.
8014+
Other characters are replaced with <link
8015+
linkend="sql-syntax-strings-escape">C-style hexadecimal escapes</link>.
8016+
No name is shown if this parameter is set to the empty string
8017+
<literal>''</literal> (which is the default).
8018+
This parameter can only be set at server start.
80168019
</para>
80178020
</listitem>
80188021
</varlistentry>

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1067,9 +1067,9 @@ postgres=# SELECT postgres_fdw_disconnect_all();
10671067
of any length and contain even non-ASCII characters. However when
10681068
it's passed to and used as <varname>application_name</varname>
10691069
in a foreign server, note that it will be truncated to less than
1070-
<symbol>NAMEDATALEN</symbol> characters and anything other than
1071-
printable ASCII characterswill bereplaced withquestion
1072-
marks (<literal>?</literal>).
1070+
<symbol>NAMEDATALEN</symbol> characters.
1071+
Anything other thanprintable ASCII charactersarereplaced with<link
1072+
linkend="sql-syntax-strings-escape">C-style hexadecimal escapes</link>.
10731073
See <xref linkend="guc-application-name"/> for details.
10741074
</para>
10751075

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp