summaryrefslogtreecommitdiff
path: root/src/backend/utils
diff options
context:
space:
mode:
authorSimon Riggs <simon@2ndQuadrant.com>2016-09-11 23:27:29 +0100
committerSimon Riggs <simon@2ndQuadrant.com>2016-09-11 23:27:29 +0100
commitf2dba881a5e13abc957f0e692749f89c9288134d (patch)
tree8b8598c9c643def341816951179b6eeabd22bada /src/backend/utils
parentfa7b3a88dd5d7f6d18614eefc6cc0662e31bd451 (diff)
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
Diffstat (limited to 'src/backend/utils')
-rw-r--r--src/backend/utils/misc/guc.c2
-rw-r--r--src/backend/utils/misc/postgresql.conf.sample2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/utils/misc/guc.c b/src/backend/utils/misc/guc.c
index 31172ef3007..7b7352b5cb2 100644
--- a/src/backend/utils/misc/guc.c
+++ b/src/backend/utils/misc/guc.c
@@ -2250,7 +2250,7 @@ static struct config_int ConfigureNamesInt[] =
GUC_UNIT_S
},
&CheckPointTimeout,
- 300, 30, 3600,
+ 300, 30, 86400,
NULL, NULL, NULL
},
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index 9644a667ff8..ed81e64c0b4 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -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