mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-26 16:46:28 +00:00
Add logging and repmgr command sanity checks
This commit is contained in:
@@ -3,13 +3,12 @@
|
||||
* Copyright (c) 2ndQuadrant, 2010-2017
|
||||
*/
|
||||
|
||||
#include <getopt_long.h>
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#ifndef _REPMGR_CLIENT_H_
|
||||
#define _REPMGR_CLIENT_H_
|
||||
|
||||
#include <getopt_long.h>
|
||||
#include "log.h"
|
||||
|
||||
#ifndef RECOVERY_COMMAND_FILE
|
||||
#define RECOVERY_COMMAND_FILE "recovery.conf"
|
||||
#endif
|
||||
@@ -117,4 +116,7 @@ typedef struct
|
||||
|
||||
static void do_help(void);
|
||||
|
||||
static void exit_with_errors(void);
|
||||
static void print_error_list(ItemList *error_list, int log_level);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user