From 3a76f4474de3eb520efdfe4b41918bce2d9576ff Mon Sep 17 00:00:00 2001 From: Paul B Date: Mon, 11 May 2020 15:10:33 +0200 Subject: parameters: allow wal_level customisation This commit allows customisation of the `wal_level` PG config on all supported PG versions --- templates/postgresql.10.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/postgresql.10.conf.j2') diff --git a/templates/postgresql.10.conf.j2 b/templates/postgresql.10.conf.j2 index b07b22b..8085034 100644 --- a/templates/postgresql.10.conf.j2 +++ b/templates/postgresql.10.conf.j2 @@ -184,7 +184,7 @@ bgwriter_delay = 2000ms # 10-10000ms between rounds # - Settings - -wal_level = logical # minimal, replica, or logical +wal_level = {{ postgres_wal_level }} # minimal, replica, or logical # (change requires restart) {% if postgres_fsync_enabled %} #fsync = on # flush data to disk for crash safety -- cgit v1.2.3