</listitem>
</varlistentry>
- <varlistentry id="guc-cluster-name" xreflabel="cluster_name">
- <term><varname>cluster_name</varname> (<type>string</type>)
- <indexterm>
- <primary><varname>cluster_name</> configuration parameter</primary>
- </indexterm>
- </term>
- <listitem>
- <para>
- Sets the cluster name that appears in the process title for all
- processes in this cluster. The name can be any string of less than
- <symbol>NAMEDATALEN</> characters (64 characters in a standard
- build). Only printable ASCII characters may be used in the
- <varname>cluster_name</varname> value. Other characters will be
- replaced with question marks (<literal>?</literal>). No name is shown
- if this parameter is set to the empty string <literal>''</> (which is
- the default). This parameter can only be set at server start.
- </para>
- <para>
- The process title is typically viewed using programs like
- <application>ps</> or, on Windows, <application>Process Explorer</>.
- </para>
- </listitem>
- </varlistentry>
-
<varlistentry>
<term><varname>debug_print_parse</varname> (<type>boolean</type>)
<indexterm>
</listitem>
</orderedlist>
</para>
-
</sect2>
- </sect1>
+
+ <sect2>
+ <title>Process Title</title>
+
+ <para>
+ These settings control how the process title as seen
+ by <command>ps</command> is modified. See <xref linkend="monitoring-ps">
+ for details.
+ </para>
+
+ <variablelist>
+ <varlistentry id="guc-cluster-name" xreflabel="cluster_name">
+ <term><varname>cluster_name</varname> (<type>string</type>)
+ <indexterm>
+ <primary><varname>cluster_name</> configuration parameter</primary>
+ </indexterm>
+ </term>
+ <listitem>
+ <para>
+ Sets the cluster name that appears in the process title for all
+ processes in this cluster. The name can be any string of less than
+ <symbol>NAMEDATALEN</> characters (64 characters in a standard
+ build). Only printable ASCII characters may be used in the
+ <varname>cluster_name</varname> value. Other characters will be
+ replaced with question marks (<literal>?</literal>). No name is shown
+ if this parameter is set to the empty string <literal>''</> (which is
+ the default). This parameter can only be set at server start.
+ </para>
+ <para>
+ The process title is typically viewed using programs like
+ <application>ps</> or, on Windows, <application>Process Explorer</>.
+ </para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry id="guc-update-process-title" xreflabel="update_process_title">
+ <term><varname>update_process_title</varname> (<type>boolean</type>)
+ <indexterm>
+ <primary><varname>update_process_title</> configuration parameter</primary>
+ </indexterm>
+ </term>
+ <listitem>
+ <para>
+ Enables updating of the process title every time a new SQL command
+ is received by the server. The process title is typically viewed
+ by the <command>ps</> command,
+ or in Windows by using the <application>Process Explorer</>.
+ Only superusers can change this setting.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </sect2>
+ </sect1>
<sect1 id="runtime-config-statistics">
<title>Run-time Statistics</title>
</listitem>
</varlistentry>
- <varlistentry id="guc-update-process-title" xreflabel="update_process_title">
- <term><varname>update_process_title</varname> (<type>boolean</type>)
- <indexterm>
- <primary><varname>update_process_title</> configuration parameter</primary>
- </indexterm>
- </term>
- <listitem>
- <para>
- Enables updating of the process title every time a new SQL command
- is received by the server. The process title is typically viewed
- by the <command>ps</> command,
- or in Windows by using the <application>Process Explorer</>.
- Only superusers can change this setting.
- </para>
- </listitem>
- </varlistentry>
-
<varlistentry id="guc-stats-temp-directory" xreflabel="stats_temp_directory">
<term><varname>stats_temp_directory</varname> (<type>string</type>)
<indexterm>
gettext_noop("Reporting and Logging / When to Log"),
/* LOGGING_WHAT */
gettext_noop("Reporting and Logging / What to Log"),
+ /* PROCESS_TITLE */
+ gettext_noop("Process Title"),
/* STATS */
gettext_noop("Statistics"),
/* STATS_MONITORING */
},
{
- {"update_process_title", PGC_SUSET, STATS_COLLECTOR,
+ {"update_process_title", PGC_SUSET, PROCESS_TITLE,
gettext_noop("Updates the process title to show the active SQL command."),
gettext_noop("Enables updating of the process title every time a new SQL command is received by the server.")
},
},
{
- {"cluster_name", PGC_POSTMASTER, LOGGING_WHAT,
+ {"cluster_name", PGC_POSTMASTER, PROCESS_TITLE,
gettext_noop("Sets the name of the cluster which is included in the process title."),
NULL,
GUC_IS_NAME