summaryrefslogtreecommitdiff
path: root/trove/templates
diff options
context:
space:
mode:
authorzhanggang <zhanggang@cmss.chinamobile.com>2018-01-17 16:03:44 +0800
committerLuke Browning <lukebrowning@us.ibm.com>2018-01-19 17:00:01 -0600
commit75bc5a48df89c9f8396bbe18665109d65ee89490 (patch)
treed692b00121caa15aaa65fa83c82accef4643e451 /trove/templates
parentc34ea13f84984e02aac7b1846f648474673f0019 (diff)
downloadtrove-75bc5a48df89c9f8396bbe18665109d65ee89490.tar.gz
Upgrade Postgresql support to v9.6
Modified existing Postgresql elements to support v9.6. This change will no longer support pg<9.6, so "wal_log_hints" is supported by default. Remove "checkpoint_segments" from config.template because the parameter is no longer supported from 9.5. By defult, "trovestack kick-start postgresql" will create a pg-9.6 image. The steps in "30-postgresql" has been tested in ubuntu trusty. Since yum.postgresql.org is no longer support fedora-22[1], trovestack use fedora-27 by default, and steps in "10-postgresql" has been tested too. Releated commits: https://review.openstack.org/#/c/409524/ [1] https://yum.postgresql.org/9.6/fedora/ Closes-bug: 1649084 Change-Id: I65d93635ad45838522abed014825d1f7e567c30c
Diffstat (limited to 'trove/templates')
-rw-r--r--trove/templates/postgresql/config.template7
1 files changed, 1 insertions, 6 deletions
diff --git a/trove/templates/postgresql/config.template b/trove/templates/postgresql/config.template
index 92e8dd02..848330dc 100644
--- a/trove/templates/postgresql/config.template
+++ b/trove/templates/postgresql/config.template
@@ -218,11 +218,6 @@ wal_level = minimal # minimal, archive, hot_standby, or logical
# - Checkpoints -
-checkpoint_segments = {{ (shared_buffers_mb[0] / 16 + 1)|int }} # in logfile segments, min 1, 16MB each
- # Each segment is normally 16MB long.
- # The number of segments should be enough to
- # span the 'shared_buffers' size.
- # We set the default to (shared_buffers / 16 + 1).
#checkpoint_timeout = 5min # range 30s-1h
#checkpoint_completion_target = 0.5 # checkpoint target duration, 0.0 - 1.0
#checkpoint_warning = 30s # 0 disables
@@ -645,4 +640,4 @@ update_process_title = off # (controlled by Trove)
# CUSTOMIZED OPTIONS
#------------------------------------------------------------------------------
-# Add settings for extensions here \ No newline at end of file
+# Add settings for extensions here