You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
1.1 KiB
33 lines
1.1 KiB
7 years ago
|
##
|
||
|
## postgresql-repmgr-pgsql.conf
|
||
|
##
|
||
|
|
||
|
# Enable replication connections; set this figure to at least one more
|
||
|
# than the number of standbys which will connect to this server
|
||
|
# (note that repmgr will execute `pg_basebackup` in WAL streaming mode,
|
||
|
# which requires two free WAL senders)
|
||
|
max_wal_senders = 10
|
||
|
|
||
|
# Enable replication slots; set this figure to at least one more
|
||
|
# than the number of standbys which will connect to this server.
|
||
|
# Note that repmgr will only make use of replication slots if
|
||
|
# "use_replication_slots" is set to "true" in repmgr.conf
|
||
|
max_replication_slots = 0
|
||
|
|
||
|
# Ensure WAL files contain enough information to enable read-only queries
|
||
|
# on the standby.
|
||
|
wal_level = 'replica'
|
||
|
|
||
|
# Enable read-only queries on a standby
|
||
|
# (Note: this will be ignored on a primary but we recommend including it anyway)
|
||
|
hot_standby = on
|
||
|
|
||
|
# Enable WAL file archiving
|
||
|
archive_mode = on
|
||
|
|
||
|
# Set archive command to a script or application that will safely store
|
||
|
# you WALs in a secure place. /bin/true is an example of a command that
|
||
|
# ignores archiving. Use something more sensible.
|
||
|
archive_command = '/bin/true'
|
||
|
|