添加dolphin_hot_standby参数

This commit is contained in:
li-qinlang
2024-01-16 17:28:46 +08:00
committed by totaj
parent 5521fe83b6
commit 688a187f4a
3 changed files with 13 additions and 0 deletions

View File

@ -741,6 +741,7 @@ ss_scrlock_worker_bind_core|string|0,0|NULL|NULL|
ss_scrlock_server_bind_core|string|0,0|NULL|NULL|
dolphin_server_port|int|1024,65535|NULL|NULL|
enable_dolphin_proto|bool|0,0|NULL|NULL|
dolphin_hot_standby|bool|0,0,|NULL|NULL|
enable_remote_excute|bool|0,0|NULL|NULL|
light_comm|bool|0,0|NULL|NULL|
ignore_standby_lsn_window|int|0,2147483647|ms|NULL|

View File

@ -366,6 +366,17 @@ static void InitNetworkConfigureNamesBool()
NULL,
NULL,
NULL},
{{"dolphin_hot_standby",
PGC_POSTMASTER,
NODE_ALL,
CONN_AUTH_SECURITY,
gettext_noop("Enables connectivity of the standby dolphin protocol"),
NULL},
&g_instance.attr.attr_network.dolphin_hot_standby,
true,
NULL,
NULL,
NULL},
/* End-of-list marker */
{{NULL,

View File

@ -80,6 +80,7 @@ typedef struct knl_instance_attr_network {
#endif
bool enable_dolphin_proto;
int dolphin_server_port;
bool dolphin_hot_standby;
} knl_instance_attr_network;
#endif /* SRC_INCLUDE_KNL_KNL_INSTANCE_ATTR_NETWORK_H_ */