mirror of
https://github.com/zulip/zulip.git
synced 2025-11-14 19:06:09 +00:00
puppet: Add more postgresql.conf settings for streaming replication
(imported from commit 6cc6180053e038777b65c6bbdac1944d30bcc93b)
This commit is contained in:
@@ -578,8 +578,13 @@ log_min_duration_statement = 500
|
||||
log_line_prefix = '%m [%c]: [%l-1] '
|
||||
log_lock_waits = on
|
||||
|
||||
# Master replication settings (ignored on standby)
|
||||
wal_level = hot_standby
|
||||
max_wal_senders = 2
|
||||
archive_mode = on
|
||||
archive_command = 'cp -f %p /var/lib/postgresql/9.1/main/archive/%f </dev/null'
|
||||
|
||||
# Standby replication settings (ignored on master)
|
||||
hot_standby = on
|
||||
|
||||
# Temporary settings
|
||||
|
||||
Reference in New Issue
Block a user