doc: ensure various repmgr.conf values are quoted appropriately

This commit is contained in:
Ian Barwick
2019-11-08 11:50:29 +09:00
parent ce85ba6df5
commit ac753c2ba1
3 changed files with 3 additions and 3 deletions

View File

@@ -148,7 +148,7 @@
the notification types can be filtered to explicitly named ones using the
<varname>event_notifications</varname> parameter, e.g.:
<programlisting>
event_notifications=primary_register,standby_register,witness_register</programlisting>
event_notifications='primary_register,standby_register,witness_register;</programlisting>
</para>

View File

@@ -94,7 +94,7 @@
replication_type='bdr'
# Event notification configuration
event_notifications=bdr_failover
event_notifications='bdr_failover'
event_notification_command='/path/to/bdr-pgbouncer.sh %n %e %s "%c" "%a" >> /tmp/bdr-failover.log 2>&amp;1'
# repmgrd options

View File

@@ -146,7 +146,7 @@ Script and template file should be installed on each node where `repmgrd` is run
Finally, set `promote_command` in `repmgr.conf` on each node to
point to the custom promote script:
promote_command=/var/lib/postgres/repmgr/promote.sh
promote_command='/var/lib/postgres/repmgr/promote.sh'
and reload/restart any running `repmgrd` instances for the changes to take
effect.