@@ -4345,30 +4345,6 @@ local0.* /var/log/postgresql
4345
4345
</listitem>
4346
4346
</varlistentry>
4347
4347
4348
- <varlistentry id="guc-cluster-name" xreflabel="cluster_name">
4349
- <term><varname>cluster_name</varname> (<type>string</type>)
4350
- <indexterm>
4351
- <primary><varname>cluster_name</> configuration parameter</primary>
4352
- </indexterm>
4353
- </term>
4354
- <listitem>
4355
- <para>
4356
- Sets the cluster name that appears in the process title for all
4357
- processes in this cluster. The name can be any string of less than
4358
- <symbol>NAMEDATALEN</> characters (64 characters in a standard
4359
- build). Only printable ASCII characters may be used in the
4360
- <varname>cluster_name</varname> value. Other characters will be
4361
- replaced with question marks (<literal>?</literal>). No name is shown
4362
- if this parameter is set to the empty string <literal>''</> (which is
4363
- the default). This parameter can only be set at server start.
4364
- </para>
4365
- <para>
4366
- The process title is typically viewed using programs like
4367
- <application>ps</> or, on Windows, <application>Process Explorer</>.
4368
- </para>
4369
- </listitem>
4370
- </varlistentry>
4371
-
4372
4348
<varlistentry>
4373
4349
<term><varname>debug_print_parse</varname> (<type>boolean</type>)
4374
4350
<indexterm>
@@ -4956,9 +4932,61 @@ COPY postgres_log FROM '/full/path/to/logfile.csv' WITH csv;
4956
4932
</listitem>
4957
4933
</orderedlist>
4958
4934
</para>
4959
-
4960
4935
</sect2>
4961
- </sect1>
4936
+
4937
+ <sect2>
4938
+ <title>Process Title</title>
4939
+
4940
+ <para>
4941
+ These settings control how the process title as seen
4942
+ by <command>ps</command> is modified. See <xref linkend="monitoring-ps">
4943
+ for details.
4944
+ </para>
4945
+
4946
+ <variablelist>
4947
+ <varlistentry id="guc-cluster-name" xreflabel="cluster_name">
4948
+ <term><varname>cluster_name</varname> (<type>string</type>)
4949
+ <indexterm>
4950
+ <primary><varname>cluster_name</> configuration parameter</primary>
4951
+ </indexterm>
4952
+ </term>
4953
+ <listitem>
4954
+ <para>
4955
+ Sets the cluster name that appears in the process title for all
4956
+ processes in this cluster. The name can be any string of less than
4957
+ <symbol>NAMEDATALEN</> characters (64 characters in a standard
4958
+ build). Only printable ASCII characters may be used in the
4959
+ <varname>cluster_name</varname> value. Other characters will be
4960
+ replaced with question marks (<literal>?</literal>). No name is shown
4961
+ if this parameter is set to the empty string <literal>''</> (which is
4962
+ the default). This parameter can only be set at server start.
4963
+ </para>
4964
+ <para>
4965
+ The process title is typically viewed using programs like
4966
+ <application>ps</> or, on Windows, <application>Process Explorer</>.
4967
+ </para>
4968
+ </listitem>
4969
+ </varlistentry>
4970
+
4971
+ <varlistentry id="guc-update-process-title" xreflabel="update_process_title">
4972
+ <term><varname>update_process_title</varname> (<type>boolean</type>)
4973
+ <indexterm>
4974
+ <primary><varname>update_process_title</> configuration parameter</primary>
4975
+ </indexterm>
4976
+ </term>
4977
+ <listitem>
4978
+ <para>
4979
+ Enables updating of the process title every time a new SQL command
4980
+ is received by the server. The process title is typically viewed
4981
+ by the <command>ps</> command,
4982
+ or in Windows by using the <application>Process Explorer</>.
4983
+ Only superusers can change this setting.
4984
+ </para>
4985
+ </listitem>
4986
+ </varlistentry>
4987
+ </variablelist>
4988
+ </sect2>
4989
+ </sect1>
4962
4990
4963
4991
<sect1 id="runtime-config-statistics">
4964
4992
<title>Run-time Statistics</title>
@@ -5076,23 +5104,6 @@ COPY postgres_log FROM '/full/path/to/logfile.csv' WITH csv;
5076
5104
</listitem>
5077
5105
</varlistentry>
5078
5106
5079
- <varlistentry id="guc-update-process-title" xreflabel="update_process_title">
5080
- <term><varname>update_process_title</varname> (<type>boolean</type>)
5081
- <indexterm>
5082
- <primary><varname>update_process_title</> configuration parameter</primary>
5083
- </indexterm>
5084
- </term>
5085
- <listitem>
5086
- <para>
5087
- Enables updating of the process title every time a new SQL command
5088
- is received by the server. The process title is typically viewed
5089
- by the <command>ps</> command,
5090
- or in Windows by using the <application>Process Explorer</>.
5091
- Only superusers can change this setting.
5092
- </para>
5093
- </listitem>
5094
- </varlistentry>
5095
-
5096
5107
<varlistentry id="guc-stats-temp-directory" xreflabel="stats_temp_directory">
5097
5108
<term><varname>stats_temp_directory</varname> (<type>string</type>)
5098
5109
<indexterm>
0 commit comments