pgpool2.git / summary / log / commit / refs
commit d3c2aa756152b731a59e5040c5e093b9c1eefe56
Author: Toshihiro Kitagawa <kitagawa at sraoss.co.jp>
Date: Fri Jan 14 06:58:10 2011 +0000
Remove parameters from pool_status: recovery_password, system_db_password.
pool_process_reporting.c | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/pool_process_reporting.c b/pool_process_reporting.c
index f25dd1e28..9386430d3 100644
--- a/pool_process_reporting.c
+++ b/pool_process_reporting.c
@@ -388,11 +388,6 @@ void config_reporting(POOL_CONNECTION *frontend, POOL_CONNECTION_POOL *backend)
strncpy(status[i].desc, "online recovery user", POOLCONFIG_MAXDESCLEN);
i++;
- strncpy(status[i].name, "recovery_password", POOLCONFIG_MAXNAMELEN);
- snprintf(status[i].value, POOLCONFIG_MAXVALLEN, "%s", pool_config->recovery_password);
- strncpy(status[i].desc, "online recovery password", POOLCONFIG_MAXDESCLEN);
- i++;
-
strncpy(status[i].name, "recovery_1st_stage_command", POOLCONFIG_MAXNAMELEN);
snprintf(status[i].value, POOLCONFIG_MAXVALLEN, "%s", pool_config->recovery_1st_stage_command);
strncpy(status[i].desc, "execute a command in first stage.", POOLCONFIG_MAXDESCLEN);
@@ -478,11 +473,6 @@ void config_reporting(POOL_CONNECTION *frontend, POOL_CONNECTION_POOL *backend)
strncpy(status[i].desc, "user name to access system DB", POOLCONFIG_MAXDESCLEN);
i++;
- strncpy(status[i].name, "system_db_password", POOLCONFIG_MAXNAMELEN);
- snprintf(status[i].value, POOLCONFIG_MAXVALLEN, "%s", pool_config->system_db_password);
- strncpy(status[i].desc, "password to access system DB", POOLCONFIG_MAXDESCLEN);
- i++;
-
for (j = 0; j < NUM_BACKENDS; j++)
{
if (BACKEND_INFO(j).backend_port == 0)
[parent: c546ffdd2f66]