Add options to the streaming replication conf.
This commit is contained in:
parent
44c99e81bd
commit
ac009a330a
|
@ -105,12 +105,14 @@ psql_streaming_replication_config:
|
|||
- { name: 'wal_level', value: 'replica' }
|
||||
- { name: 'max_wal_senders', value: '10' }
|
||||
- { name: 'wal_keep_size', value: '1GB' }
|
||||
- { name: 'max_slot_wal_keep_size', value: '15' }
|
||||
- { name: 'wal_compression', value: 'on' }
|
||||
- { name: 'wal_log_hints', value: 'on' }
|
||||
- { name: 'hot_standby', value: 'on' }
|
||||
- { name: 'archive_mode', value: 'always' }
|
||||
- { name: 'archive_command', value: "cp %p {{ psql_wal_archiving_log_dir }}/%f" }
|
||||
- { name: 'restore_command', value: "cp {{ psql_wal_archiving_log_dir }}/%f %p" }
|
||||
- { name: 'archive_cleanup_command', value: "pg_archivecleanup {{ psql_wal_archiving_log_dir }} %r" }
|
||||
|
||||
# SSL as a special case
|
||||
psql_enable_ssl: False
|
||||
|
|
Loading…
Reference in New Issue