Skip to content

Commit

Permalink
Updates to defaults to fix ANXS#484
Browse files Browse the repository at this point in the history
  • Loading branch information
gclough committed Mar 11, 2021
1 parent 1ef5b63 commit f4835ea
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ postgresql_backend_flush_after: 0 # (>= 9.6) 0 disables, default

# - Settings -

postgresql_wal_level: "minimal" # minimal, archive (<= 9.5), hot_standby (<= 9.5), replica (>= 9.6), or logical
postgresql_wal_level: "replica " # minimal, archive (<= 9.5), hot_standby (<= 9.5), replica (>= 9.6), or logical
postgresql_fsync: on # flush data to disk for crash safety
# (turning this off can cause
# unrecoverable data corruption)
Expand Down Expand Up @@ -344,7 +344,7 @@ postgresql_recovery_min_apply_delay: 0 # (>= 12)
# Set these on the master and on any standby that will send replication data.

# max number of walsender processes
postgresql_max_wal_senders: 0
postgresql_max_wal_senders: 10
postgresql_wal_sender_delay: 1s # walsender cycle time, 1-10000 milliseconds (<= 9.1)

postgresql_wal_keep_segments: 0 # in logfile segments, 16MB each; 0 disables
Expand Down
2 changes: 2 additions & 0 deletions vars/postgresql_9.5.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@
# PostgreSQL vars for v9.5

postgresql_autovacuum_vacuum_cost_delay: 20ms
postgresql_max_wal_senders: 0
postgresql_wal_level: "minimal"
2 changes: 2 additions & 0 deletions vars/postgresql_9.6.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@
# PostgreSQL vars for v9.6

postgresql_autovacuum_vacuum_cost_delay: 20ms
postgresql_max_wal_senders: 0
postgresql_wal_level: "minimal"

0 comments on commit f4835ea

Please sign in to comment.