Misc updates and fixes

This commit is contained in:
Ian Barwick
2017-07-20 21:15:55 +09:00
parent b99443b0c8
commit 1a45287e76
3 changed files with 4 additions and 3 deletions

View File

@@ -162,7 +162,7 @@ so should be quoted in the provided command configuration, e.g.:
event_notification_command='/path/to/some/script %n %e %s "%t" "%d"'
Additionally the following format placeholders are available for the even
Additionally the following format placeholders are available for the event
type `bdr_failover`:
%c - conninfo string of the next available node

View File

@@ -981,7 +981,7 @@ get_recovery_type(PGconn *conn)
res = PQexec(conn, sqlquery);
if (res == NULL || PQresultStatus(res) != PGRES_TUPLES_OK)
if (PQresultStatus(res) != PGRES_TUPLES_OK)
{
log_error(_("unable to determine if server is in recovery:\n %s"),
PQerrorMessage(conn));

View File

@@ -79,7 +79,8 @@
# syslog integration, one of LOCAL0, LOCAL1, ..., LOCAL7, USER
#log_file='' # stderr can be redirected to an arbitrary file:
#log_status_interval=300 # interval (in seconds) for repmgrd to log a message confirming
#log_status_interval=300 # interval (in seconds) for repmgrd to log a status message
#------------------------------------------------------------------------------
# Event notification settings