Disable any configuration settings not compatible with PostgreSQL 9.3

And emit a warning while we're at it.
This commit is contained in:
Ian Barwick
2017-09-18 13:12:38 +09:00
parent 750a776f1d
commit 30b11c08e6
6 changed files with 65 additions and 9 deletions

View File

@@ -88,6 +88,7 @@ typedef struct
char restore_command[MAXLEN];
TablespaceList tablespace_mapping;
char recovery_min_apply_delay[MAXLEN];
bool recovery_min_apply_delay_provided;
bool use_primary_conninfo_password;
/* node check settings */
@@ -152,7 +153,7 @@ typedef struct
/* log settings */ \
"", "", "", DEFAULT_LOG_STATUS_INTERVAL, \
/* standby action settings */ \
false, "", "", { NULL, NULL }, "", false, \
false, "", "", { NULL, NULL }, "", false, false, \
/* node check settings */ \
DEFAULT_ARCHIVE_READY_WARNING, DEFAULT_ARCHIVE_READY_CRITICAL, \
DEFAULT_REPLICATION_LAG_WARNING, DEFAULT_REPLICATION_LAG_CRITICAL, \