Skip to content

Commit d97ef75

Browse files
Fix documentation for wal_summary_keep_time.
The documentation for this parameter lists its type as boolean, but it is actually an integer. Furthermore, there is no mention of how the value is interpreted when specified without units. This commit fixes these oversights in commit 174c480. Co-authored-by: Hubert Depesz Lubaczewski Discussion: https://postgr.es/m/ZZwkujFihO2uqKwp%40depesz.com
1 parent 5b1b9bc commit d97ef75

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/src/sgml/config.sgml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4179,7 +4179,7 @@ restore_command = 'copy "C:\\server\\archivedir\\%f" "%p"' # Windows
41794179
</varlistentry>
41804180

41814181
<varlistentry id="guc-wal-summary-keep-time" xreflabel="wal_summary_keep_time">
4182-
<term><varname>wal_summary_keep_time</varname> (<type>boolean</type>)
4182+
<term><varname>wal_summary_keep_time</varname> (<type>integer</type>)
41834183
<indexterm>
41844184
<primary><varname>wal_summary_keep_time</varname> configuration parameter</primary>
41854185
</indexterm>
@@ -4198,6 +4198,7 @@ restore_command = 'copy "C:\\server\\archivedir\\%f" "%p"' # Windows
41984198
know will not be required for future incremental backups.
41994199
This parameter can only be set in the
42004200
<filename>postgresql.conf</filename> file or on the server command line.
4201+
If this value is specified without units, it is taken as minutes.
42014202
The default is 10 days. If <literal>summarize_wal = off</literal>,
42024203
existing WAL summaries will not be removed regardless of the value of
42034204
this parameter, because the WAL summarizer will not run.

0 commit comments

Comments
 (0)