Raise max setting of checkpoint_timeout to 1d

Previously checkpoint_timeout was capped at 3600s
New max setting is 86400s = 24h = 1d

Discussion: 32558.1454471895@sss.pgh.pa.us
This commit is contained in:
Simon Riggs 2016-09-11 23:26:18 +01:00
parent 52803098ab
commit c3c0d7bd70
3 changed files with 3 additions and 3 deletions

View File

@ -2614,7 +2614,7 @@ include_dir 'conf.d'
<listitem>
<para>
Maximum time between automatic WAL checkpoints, in seconds.
The valid range is between 30 seconds and one hour.
The valid range is between 30 seconds and one day.
The default is five minutes (<literal>5min</>).
Increasing this parameter can increase the amount of time needed
for crash recovery.

View File

@ -2250,7 +2250,7 @@ static struct config_int ConfigureNamesInt[] =
GUC_UNIT_S
},
&CheckPointTimeout,
300, 30, 3600,
300, 30, 86400,
NULL, NULL, NULL
},

View File

@ -203,7 +203,7 @@
# - Checkpoints -
#checkpoint_timeout = 5min # range 30s-1h
#checkpoint_timeout = 5min # range 30s-1d
#max_wal_size = 1GB
#min_wal_size = 80MB
#checkpoint_completion_target = 0.5 # checkpoint target duration, 0.0 - 1.0