* pgpool: a language independent connection pool server for PostgreSQL
* written by Tatsuo Ishii
*
- * Copyright (c) 2003-2024 PgPool Global Development Group
+ * Copyright (c) 2003-2025 PgPool Global Development Group
*
* Permission to use, copy, modify, and distribute this software and
* its documentation for any purpose and without fee is hereby
MemoryContextSwitchTo(oldContext);
if (pool_config->enable_pool_hba)
load_hba(get_hba_file_name());
+
+ if (strcmp("", pool_config->pool_passwd))
+ pool_reopen_passwd_file();
+
reload_config_request = 0;
}
* pgpool: a language independent connection pool server for PostgreSQL
* written by Tatsuo Ishii
*
- * Copyright (c) 2003-2024 PgPool Global Development Group
+ * Copyright (c) 2003-2025 PgPool Global Development Group
*
* Permission to use, copy, modify, and distribute this software and
* its documentation for any purpose and without fee is hereby
/* Initialize per process context */
pool_init_process_context();
+ /*
+ * Open pool_passwd.
+ */
+ if (strcmp("", pool_config->pool_passwd))
+ {
+ pool_reopen_passwd_file();
+ }
+
if (sigsetjmp(local_sigjmp_buf, 1) != 0)
{
pool_signal(SIGALRM, SIG_IGN);
MemoryContextSwitchTo(oldContext);
if (pool_config->enable_pool_hba)
load_hba(get_hba_file_name());
+
+ if (strcmp("", pool_config->pool_passwd))
+ pool_reopen_passwd_file();
+
reload_config_request = 0;
}