Skip to content

Commit 2dfda09

Browse files
committed
doc: Fix descriptions of some PGC_POSTMASTER parameters.
The following parameters can only be set at server start because their context is PGC_POSTMASTER, but this information was missing or incorrectly documented. This commit adds or corrects that information for the following parameters: * debug_io_direct * dynamic_shared_memory_type * event_source * huge_pages * io_max_combine_limit * max_notify_queue_pages * shared_memory_type * track_commit_timestamp * wal_decode_buffer_size Backpatched to all supported branches. Author: Karina Litskevich <litskevichkarina@gmail.com> Reviewed-by: Chao Li <lic@highgo.com> Reviewed-by: Fujii Masao <masao.fujii@gmail.com> Discussion: https://postgr.es/m/CAHGQGwGfPzcin-_6XwPgVbWTOUFVZgHF5g9ROrwLUdCTfjy=0A@mail.gmail.com Backpatch-through: 13
1 parent 20bafb0 commit 2dfda09

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

doc/src/sgml/config.sgml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1562,7 +1562,8 @@ include_dir 'conf.d'
15621562
<para>
15631563
Controls whether huge pages are requested for the main shared memory
15641564
area. Valid values are <literal>try</literal> (the default),
1565-
<literal>on</literal>, and <literal>off</literal>. With
1565+
<literal>on</literal>, and <literal>off</literal>.
1566+
This parameter can only be set at server start. With
15661567
<varname>huge_pages</varname> set to <literal>try</literal>, the
15671568
server will try to request huge pages, but fall back to the default if
15681569
that fails. With <literal>on</literal>, failure to request huge pages
@@ -1889,6 +1890,7 @@ include_dir 'conf.d'
18891890
platform, is generally discouraged because it typically requires
18901891
non-default kernel settings to allow for large allocations (see <xref
18911892
linkend="sysvipc"/>).
1893+
This parameter can only be set at server start.
18921894
</para>
18931895
</listitem>
18941896
</varlistentry>
@@ -1916,6 +1918,7 @@ include_dir 'conf.d'
19161918
however, it may be useful for debugging, when the
19171919
<literal>pg_dynshmem</literal> directory is stored on a RAM disk, or when
19181920
other shared memory facilities are not available.
1921+
This parameter can only be set at server start.
19191922
</para>
19201923
</listitem>
19211924
</varlistentry>
@@ -4038,9 +4041,9 @@ restore_command = 'copy "C:\\server\\archivedir\\%f" "%p"' # Windows
40384041
</term>
40394042
<listitem>
40404043
<para>
4041-
Record commit time of transactions. This parameter
4042-
can only be set in <filename>postgresql.conf</filename> file or on the server
4043-
command line. The default value is <literal>off</literal>.
4044+
Record commit time of transactions.
4045+
This parameter can only be set at server start.
4046+
The default value is <literal>off</literal>.
40444047
</para>
40454048
</listitem>
40464049
</varlistentry>
@@ -6216,8 +6219,7 @@ local0.* /var/log/postgresql
62166219
determines the program name used to identify
62176220
<productname>PostgreSQL</productname> messages in
62186221
the log. The default is <literal>PostgreSQL</literal>.
6219-
This parameter can only be set in the <filename>postgresql.conf</filename>
6220-
file or on the server command line.
6222+
This parameter can only be set at server start.
62216223
</para>
62226224
</listitem>
62236225
</varlistentry>

0 commit comments

Comments
 (0)