mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-26 16:46:28 +00:00
Misc updates and fixes
This commit is contained in:
@@ -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"'
|
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`:
|
type `bdr_failover`:
|
||||||
|
|
||||||
%c - conninfo string of the next available node
|
%c - conninfo string of the next available node
|
||||||
|
|||||||
@@ -981,7 +981,7 @@ get_recovery_type(PGconn *conn)
|
|||||||
|
|
||||||
res = PQexec(conn, sqlquery);
|
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"),
|
log_error(_("unable to determine if server is in recovery:\n %s"),
|
||||||
PQerrorMessage(conn));
|
PQerrorMessage(conn));
|
||||||
|
|||||||
@@ -79,7 +79,8 @@
|
|||||||
# syslog integration, one of LOCAL0, LOCAL1, ..., LOCAL7, USER
|
# syslog integration, one of LOCAL0, LOCAL1, ..., LOCAL7, USER
|
||||||
|
|
||||||
#log_file='' # stderr can be redirected to an arbitrary file:
|
#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
|
# Event notification settings
|
||||||
|
|||||||
Reference in New Issue
Block a user