More work on "standby clone"

This commit is contained in:
Ian Barwick
2017-05-01 22:22:31 +09:00
parent 675dc5adb3
commit 206a9fd333
5 changed files with 213 additions and 137 deletions

View File

@@ -28,8 +28,13 @@ typedef struct
bool terse;
bool verbose;
/* connection options */
/* standard connection options */
char dbname[MAXLEN];
char host[MAXLEN];
char username[MAXLEN];
char port[MAXLEN];
/* other connection options */
char remote_user[MAXLEN];
char superuser[MAXLEN];
@@ -62,8 +67,10 @@ typedef struct
"", false, "", \
/* logging options */ \
"", false, false, false, \
/* connection options */ \
"", "", "", \
/* database connection options */ \
"", "", "", "", \
/* other connection options */ \
"", "", \
/* node options */ \
UNKNOWN_NODE_ID, "", "", \
/* standby clone options */ \