Fix schema quoting

There was a lot of duplicated/unused related to handling the
schema name; consolidated and rationalised.
This commit is contained in:
Ian Barwick
2015-01-09 15:51:34 +09:00
parent dd064cb47c
commit 74a963a10e
5 changed files with 123 additions and 111 deletions

View File

@@ -27,6 +27,7 @@
#include "strutil.h"
#include "dbutils.h"
#include "errcode.h"
#include "config.h"
#define PRIMARY_MODE 0
#define STANDBY_MODE 1
@@ -81,4 +82,5 @@ typedef struct
#define T_RUNTIME_OPTIONS_INITIALIZER { "", "", "", "", "", "", "", DEFAULT_WAL_KEEP_SEGMENTS, false, false, false, false, false, "", "", 0, "" }
extern char repmgr_schema[MAXLEN];
#endif