Skip to content

Commit 2bfd2fe

Browse files
committed
doc: Move documentation of max_wal_size to better position
1 parent b3967f8 commit 2bfd2fe

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

doc/src/sgml/config.sgml

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2398,27 +2398,6 @@ include_dir 'conf.d'
23982398
<title>Checkpoints</title>
23992399

24002400
<variablelist>
2401-
<varlistentry id="guc-max-wal-size" xreflabel="max_wal_size">
2402-
<term><varname>max_wal_size</varname> (<type>integer</type>)
2403-
<indexterm>
2404-
<primary><varname>max_wal_size</> configuration parameter</primary>
2405-
</indexterm>
2406-
</term>
2407-
<listitem>
2408-
<para>
2409-
Maximum size to let the WAL grow to between automatic WAL
2410-
checkpoints. This is a soft limit; WAL size can exceed
2411-
<varname>max_wal_size</> under special circumstances, like
2412-
under heavy load, a failing <varname>archive_command</>, or a high
2413-
<varname>wal_keep_segments</> setting. The default is 1 GB.
2414-
Increasing this parameter can increase the amount of time needed for
2415-
crash recovery.
2416-
This parameter can only be set in the <filename>postgresql.conf</>
2417-
file or on the server command line.
2418-
</para>
2419-
</listitem>
2420-
</varlistentry>
2421-
24222401
<varlistentry id="guc-checkpoint-timeout" xreflabel="checkpoint_timeout">
24232402
<term><varname>checkpoint_timeout</varname> (<type>integer</type>)
24242403
<indexterm>
@@ -2475,6 +2454,27 @@ include_dir 'conf.d'
24752454
</listitem>
24762455
</varlistentry>
24772456

2457+
<varlistentry id="guc-max-wal-size" xreflabel="max_wal_size">
2458+
<term><varname>max_wal_size</varname> (<type>integer</type>)
2459+
<indexterm>
2460+
<primary><varname>max_wal_size</> configuration parameter</primary>
2461+
</indexterm>
2462+
</term>
2463+
<listitem>
2464+
<para>
2465+
Maximum size to let the WAL grow to between automatic WAL
2466+
checkpoints. This is a soft limit; WAL size can exceed
2467+
<varname>max_wal_size</> under special circumstances, like
2468+
under heavy load, a failing <varname>archive_command</>, or a high
2469+
<varname>wal_keep_segments</> setting. The default is 1 GB.
2470+
Increasing this parameter can increase the amount of time needed for
2471+
crash recovery.
2472+
This parameter can only be set in the <filename>postgresql.conf</>
2473+
file or on the server command line.
2474+
</para>
2475+
</listitem>
2476+
</varlistentry>
2477+
24782478
<varlistentry id="guc-min-wal-size" xreflabel="min_wal_size">
24792479
<term><varname>min_wal_size</varname> (<type>integer</type>)
24802480
<indexterm>

0 commit comments

Comments
 (0)