From 9a36becf20b646afa8d17e6a84af4bc901b35007 Mon Sep 17 00:00:00 2001 From: Doug Aaser Date: Thu, 18 Jul 2019 14:00:08 +0000 Subject: [PATCH] Cleanup unused Postgres config values This patch is part of an effort to cleanup the values.yaml file for Postgres, which has gotten messy since the introduction of Patroni. This patch specifically removes unused configuration values which were causing unnecessary bloat and complexity. Change-Id: I96180fd9c91200ba7558e58bd503b4ef9ebc183e --- postgresql/values.yaml | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/postgresql/values.yaml b/postgresql/values.yaml index 796ac3d1ec..b67362d630 100644 --- a/postgresql/values.yaml +++ b/postgresql/values.yaml @@ -239,31 +239,20 @@ conf: use_pg_rewind: true parameters: archive_mode: 'off' - checkpoint_completion_target: 0.9 datestyle: 'iso, mdy' - default_text_search_config: 'pg_catalog.english' external_pid_file: '/tmp/postgres.pid' hot_standby: 'on' - lc_messages: 'en_US.utf8' - lc_monetary: 'en_US.utf8' - lc_numeric: 'en_US.utf8' - lc_time: 'en_US.utf8' - log_autovacuum_min_duration: 0 log_checkpoints: 'on' log_connections: 'on' log_disconnections: 'on' log_line_prefix: 'postgresql: %t [%p]: [%l-1] %c %x %d %u %a %h %m ' log_lock_waits: 'on' - log_min_duration_statement: 500 - log_statement: none log_temp_files: 0 log_timezone: 'UTC' max_connections: {{ .Values.conf.postgresql.max_connections }} max_replication_slots: 10 max_wal_senders: 10 max_worker_processes: 10 - tcp_keepalives_idle: 900 - tcp_keepalives_interval: 100 timezone: 'UTC' track_commit_timestamp: 'on' track_functions: all @@ -297,31 +286,20 @@ conf: use_pg_rewind: true parameters: archive_mode: 'off' - checkpoint_completion_target: 0.9 datestyle: 'iso, mdy' - default_text_search_config: 'pg_catalog.english' external_pid_file: '/tmp/postgres.pid' hot_standby: 'on' - lc_messages: 'en_US.utf8' - lc_monetary: 'en_US.utf8' - lc_numeric: 'en_US.utf8' - lc_time: 'en_US.utf8' - log_autovacuum_min_duration: 0 log_checkpoints: 'on' log_connections: 'on' log_disconnections: 'on' log_line_prefix: 'postgresql: %t [%p]: [%l-1] %c %x %d %u %a %h %m ' log_lock_waits: 'on' - log_min_duration_statement: 500 - log_statement: none log_temp_files: 0 log_timezone: 'UTC' max_connections: {{ .Values.conf.postgresql.max_connections }} max_replication_slots: 10 max_wal_senders: 10 max_worker_processes: 10 - tcp_keepalives_idle: 900 - tcp_keepalives_interval: 100 timezone: 'UTC' track_commit_timestamp: 'on' track_functions: all