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 b0bfed0495
commit d963558baf
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 the notification types can be filtered to explicitly named ones using the
<varname>event_notifications</varname> parameter, e.g.: <varname>event_notifications</varname> parameter, e.g.:
<programlisting> <programlisting>
event_notifications=primary_register,standby_register,witness_register</programlisting> event_notifications='primary_register,standby_register,witness_register;</programlisting>
</para> </para>

View File

@@ -94,7 +94,7 @@
replication_type='bdr' replication_type='bdr'
# Event notification configuration # 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' event_notification_command='/path/to/bdr-pgbouncer.sh %n %e %s "%c" "%a" >> /tmp/bdr-failover.log 2>&amp;1'
# repmgrd options # 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 Finally, set `promote_command` in `repmgr.conf` on each node to
point to the custom promote script: 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 and reload/restart any running `repmgrd` instances for the changes to take
effect. effect.