Parse "recovery_min_apply_delay" from recovery.conf

This commit is contained in:
Ian Barwick
2017-08-25 21:47:14 +09:00
parent 5ee1eb6bf7
commit 5208655a35
3 changed files with 22 additions and 14 deletions

View File

@@ -204,7 +204,7 @@ typedef struct
char primary_conninfo[MAXLEN];
char primary_slot_name[MAXLEN];
char trigger_file[MAXLEN];
int recovery_min_apply_delay;
char recovery_min_apply_delay[MAXLEN];
} t_recovery_conf;
#define T_RECOVERY_CONF_INITIALIZER { \
@@ -216,7 +216,7 @@ typedef struct
RTA_PAUSE, \
/* standby server settings */ \
true, \
"", "", "", 0 \
"", "", "", "" \
}