@@ -34,13 +34,15 @@ static void show_configure_json(ConfigOption *opt);
3434
3535#define OPTION_INSTANCE_GROUP "Backup instance information"
3636#define OPTION_CONN_GROUP "Connection parameters"
37- #define OPTION_REPLICA_GROUP "Replica parameters"
3837#define OPTION_ARCHIVE_GROUP "Archive parameters"
3938#define OPTION_LOG_GROUP "Logging parameters"
4039#define OPTION_RETENTION_GROUP "Retention parameters"
4140#define OPTION_COMPRESS_GROUP "Compression parameters"
4241#define OPTION_REMOTE_GROUP "Remote access parameters"
4342
43+ /* dummy placeholder for obsolete options to store in following instance_options[] */
44+ static char * obsolete_option_placeholder = NULL ;
45+
4446/*
4547 * Short name should be non-printable ASCII character.
4648 */
@@ -90,6 +92,27 @@ ConfigOption instance_options[] =
9092 & instance_config .conn_opt .pguser , SOURCE_CMD , 0 ,
9193 OPTION_CONN_GROUP , 0 , option_get_value
9294 },
95+ /* Obsolete options */
96+ {
97+ 's' , 202 , "master-db" ,
98+ & obsolete_option_placeholder , SOURCE_FILE_STRICT , SOURCE_CONST , "" , 0 , option_get_value
99+ },
100+ {
101+ 's' , 203 , "master-host" ,
102+ & obsolete_option_placeholder , SOURCE_FILE_STRICT , SOURCE_CONST , "" , 0 , option_get_value
103+ },
104+ {
105+ 's' , 204 , "master-port" ,
106+ & obsolete_option_placeholder , SOURCE_FILE_STRICT , SOURCE_CONST , "" , 0 , option_get_value
107+ },
108+ {
109+ 's' , 205 , "master-user" ,
110+ & obsolete_option_placeholder , SOURCE_FILE_STRICT , SOURCE_CONST , "" , 0 , option_get_value
111+ },
112+ {
113+ 's' , 206 , "replica-timeout" ,
114+ & obsolete_option_placeholder , SOURCE_FILE_STRICT , SOURCE_CONST , "" , 0 , option_get_value
115+ },
93116 /* Archive options */
94117 {
95118 'u' , 207 , "archive-timeout" ,
0 commit comments