repmgr: add "cluster_cleanup" event

GitHub #492.
This commit is contained in:
Ian Barwick
2018-08-20 16:47:24 +09:00
parent 6fc79470fc
commit e1e59e85d7
6 changed files with 49 additions and 3 deletions

View File

@@ -1760,7 +1760,6 @@ vacuum_table(PGconn *primary_conn, const char *table)
res = PQexec(primary_conn, query.data);
termPQExpBuffer(&query);
log_debug("%i", (int) PQresultStatus(res));
if (PQresultStatus(res) != PGRES_COMMAND_OK)
{
success = false;
@@ -3336,7 +3335,7 @@ _create_event(PGconn *conn, t_configuration_options *options, int node_id, char
*/
if (notify_ok == false)
{
log_debug(_("Not executing notification script for event type \"%s\""), event);
log_debug(_("not executing notification script for event type \"%s\""), event);
return success;
}
}