@@ -4394,30 +4394,6 @@ local0.* /var/log/postgresql
4394
4394
</listitem>
4395
4395
</varlistentry>
4396
4396
4397
- <varlistentry id="guc-cluster-name" xreflabel="cluster_name">
4398
- <term><varname>cluster_name</varname> (<type>string</type>)
4399
- <indexterm>
4400
- <primary><varname>cluster_name</> configuration parameter</primary>
4401
- </indexterm>
4402
- </term>
4403
- <listitem>
4404
- <para>
4405
- Sets the cluster name that appears in the process title for all
4406
- processes in this cluster. The name can be any string of less than
4407
- <symbol>NAMEDATALEN</> characters (64 characters in a standard
4408
- build). Only printable ASCII characters may be used in the
4409
- <varname>cluster_name</varname> value. Other characters will be
4410
- replaced with question marks (<literal>?</literal>). No name is shown
4411
- if this parameter is set to the empty string <literal>''</> (which is
4412
- the default). This parameter can only be set at server start.
4413
- </para>
4414
- <para>
4415
- The process title is typically viewed using programs like
4416
- <application>ps</> or, on Windows, <application>Process Explorer</>.
4417
- </para>
4418
- </listitem>
4419
- </varlistentry>
4420
-
4421
4397
<varlistentry>
4422
4398
<term><varname>debug_print_parse</varname> (<type>boolean</type>)
4423
4399
<indexterm>
@@ -5010,9 +4986,61 @@ COPY postgres_log FROM '/full/path/to/logfile.csv' WITH csv;
5010
4986
</listitem>
5011
4987
</orderedlist>
5012
4988
</para>
5013
-
5014
4989
</sect2>
5015
- </sect1>
4990
+
4991
+ <sect2>
4992
+ <title>Process Title</title>
4993
+
4994
+ <para>
4995
+ These settings control how the process title as seen
4996
+ by <command>ps</command> is modified. See <xref linkend="monitoring-ps">
4997
+ for details.
4998
+ </para>
4999
+
5000
+ <variablelist>
5001
+ <varlistentry id="guc-cluster-name" xreflabel="cluster_name">
5002
+ <term><varname>cluster_name</varname> (<type>string</type>)
5003
+ <indexterm>
5004
+ <primary><varname>cluster_name</> configuration parameter</primary>
5005
+ </indexterm>
5006
+ </term>
5007
+ <listitem>
5008
+ <para>
5009
+ Sets the cluster name that appears in the process title for all
5010
+ processes in this cluster. The name can be any string of less than
5011
+ <symbol>NAMEDATALEN</> characters (64 characters in a standard
5012
+ build). Only printable ASCII characters may be used in the
5013
+ <varname>cluster_name</varname> value. Other characters will be
5014
+ replaced with question marks (<literal>?</literal>). No name is shown
5015
+ if this parameter is set to the empty string <literal>''</> (which is
5016
+ the default). This parameter can only be set at server start.
5017
+ </para>
5018
+ <para>
5019
+ The process title is typically viewed using programs like
5020
+ <application>ps</> or, on Windows, <application>Process Explorer</>.
5021
+ </para>
5022
+ </listitem>
5023
+ </varlistentry>
5024
+
5025
+ <varlistentry id="guc-update-process-title" xreflabel="update_process_title">
5026
+ <term><varname>update_process_title</varname> (<type>boolean</type>)
5027
+ <indexterm>
5028
+ <primary><varname>update_process_title</> configuration parameter</primary>
5029
+ </indexterm>
5030
+ </term>
5031
+ <listitem>
5032
+ <para>
5033
+ Enables updating of the process title every time a new SQL command
5034
+ is received by the server. The process title is typically viewed
5035
+ by the <command>ps</> command,
5036
+ or in Windows by using the <application>Process Explorer</>.
5037
+ Only superusers can change this setting.
5038
+ </para>
5039
+ </listitem>
5040
+ </varlistentry>
5041
+ </variablelist>
5042
+ </sect2>
5043
+ </sect1>
5016
5044
5017
5045
<sect1 id="runtime-config-statistics">
5018
5046
<title>Run-time Statistics</title>
@@ -5130,23 +5158,6 @@ COPY postgres_log FROM '/full/path/to/logfile.csv' WITH csv;
5130
5158
</listitem>
5131
5159
</varlistentry>
5132
5160
5133
- <varlistentry id="guc-update-process-title" xreflabel="update_process_title">
5134
- <term><varname>update_process_title</varname> (<type>boolean</type>)
5135
- <indexterm>
5136
- <primary><varname>update_process_title</> configuration parameter</primary>
5137
- </indexterm>
5138
- </term>
5139
- <listitem>
5140
- <para>
5141
- Enables updating of the process title every time a new SQL command
5142
- is received by the server. The process title is typically viewed
5143
- by the <command>ps</> command,
5144
- or in Windows by using the <application>Process Explorer</>.
5145
- Only superusers can change this setting.
5146
- </para>
5147
- </listitem>
5148
- </varlistentry>
5149
-
5150
5161
<varlistentry id="guc-stats-temp-directory" xreflabel="stats_temp_directory">
5151
5162
<term><varname>stats_temp_directory</varname> (<type>string</type>)
5152
5163
<indexterm>
0 commit comments