pgpool2.git / summary / log / commit / refs
commit 151e8f54961b1a0394cfc86c2f4ddf715b41ceea
Author: Bo Peng <pengbo@sraoss.co.jp>
Date: Fri Sep 03 05:16:01 2021 +0000
Fix incorrect PGPOOL SHOW option.
Since 4.2 other_pgpool is removed, "PGPOOL SHOW other_pgpool" command should be changed to "PGPOOL SHOW watchdog".
src/config/pool_config_variables.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/config/pool_config_variables.c b/src/config/pool_config_variables.c
index e72f8a144..5b96e39c4 100644
--- a/src/config/pool_config_variables.c
+++ b/src/config/pool_config_variables.c
@@ -1709,7 +1709,7 @@ static struct config_string_array ConfigureNamesStringArray[] =
},
{
- {"hostname", CFGCXT_RELOAD, WATCHDOG_LIFECHECK,
+ {"hostname", CFGCXT_RELOAD, WATCHDOG_CONFIG,
"Hostname of pgpool node for watchdog connection.",
CONFIG_VAR_TYPE_STRING_ARRAY, true, 0, MAX_WATCHDOG_NUM
},
@@ -2260,7 +2260,7 @@ static struct config_grouped_array_var ConfigureVarGroups[] =
NULL
},
{
- {"other_pgpool", CFGCXT_BOOT, WATCHDOG_CONFIG,
+ {"watchdog", CFGCXT_BOOT, WATCHDOG_CONFIG,
"watchdog nodes configuration group.",
CONFIG_VAR_TYPE_GROUP, false, 0
},
[parent: 54b5e729972b]