Skip to content

Commit a2e17a2

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 49b4599 commit a2e17a2

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

doc/src/sgml/config.sgml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1667,7 +1667,8 @@ include_dir 'conf.d'
16671667
<para>
16681668
Controls whether huge pages are requested for the main shared memory
16691669
area. Valid values are <literal>try</literal> (the default),
1670-
<literal>on</literal>, and <literal>off</literal>. With
1670+
<literal>on</literal>, and <literal>off</literal>.
1671+
This parameter can only be set at server start. With
16711672
<varname>huge_pages</varname> set to <literal>try</literal>, the
16721673
server will try to request huge pages, but fall back to the default if
16731674
that fails. With <literal>on</literal>, failure to request huge pages
@@ -2021,6 +2022,7 @@ include_dir 'conf.d'
20212022
platform, is generally discouraged because it typically requires
20222023
non-default kernel settings to allow for large allocations (see <xref
20232024
linkend="sysvipc"/>).
2025+
This parameter can only be set at server start.
20242026
</para>
20252027
</listitem>
20262028
</varlistentry>
@@ -2048,6 +2050,7 @@ include_dir 'conf.d'
20482050
however, it may be useful for debugging, when the
20492051
<literal>pg_dynshmem</literal> directory is stored on a RAM disk, or when
20502052
other shared memory facilities are not available.
2053+
This parameter can only be set at server start.
20512054
</para>
20522055
</listitem>
20532056
</varlistentry>
@@ -3731,6 +3734,7 @@ include_dir 'conf.d'
37313734
blocks to prefetch. If this value is specified without units, it is
37323735
taken as bytes.
37333736
The default is 512kB.
3737+
This parameter can only be set at server start.
37343738
</para>
37353739
</listitem>
37363740
</varlistentry>
@@ -4334,9 +4338,9 @@ restore_command = 'copy "C:\\server\\archivedir\\%f" "%p"' # Windows
43344338
</term>
43354339
<listitem>
43364340
<para>
4337-
Record commit time of transactions. This parameter
4338-
can only be set in <filename>postgresql.conf</filename> file or on the server
4339-
command line. The default value is <literal>off</literal>.
4341+
Record commit time of transactions.
4342+
This parameter can only be set at server start.
4343+
The default value is <literal>off</literal>.
43404344
</para>
43414345
</listitem>
43424346
</varlistentry>
@@ -6523,8 +6527,7 @@ local0.* /var/log/postgresql
65236527
determines the program name used to identify
65246528
<productname>PostgreSQL</productname> messages in
65256529
the log. The default is <literal>PostgreSQL</literal>.
6526-
This parameter can only be set in the <filename>postgresql.conf</filename>
6527-
file or on the server command line.
6530+
This parameter can only be set at server start.
65286531
</para>
65296532
</listitem>
65306533
</varlistentry>

0 commit comments

Comments
 (0)