Add logging and repmgr command sanity checks

This commit is contained in:
Ian Barwick
2017-04-20 00:32:04 +09:00
parent 76e8c4624e
commit 8968cfe735
10 changed files with 745 additions and 11 deletions

View File

@@ -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