[pgpool-committers: 8438] pgpool: Allow to specify duplicated entry in listen_addresses.

Tatsuo Ishii ishii at sraoss.co.jp
Thu Feb 24 17:34:09 JST 2022

Allow to specify duplicated entry in listen_addresses.

If duplicated entry exists in listen_addresses, pgpool did not
start. On the other hand PostgreSQL just complains and ignores the
duplicated entry.  So this commit follow the behavior of PostgreSQL.
Also PostgreSQL ignores wrong host name or IP. So pgpool follows it

Plus fix comment for listen_addresses in pool_config_variable.c so
that it uses plural (i.e. hotsname(s)).



Modified Files
src/config/pool_config_variables.c |  2 +-
src/main/pgpool_main.c             | 36 +++++++++++++++++++++++++++++-------
2 files changed, 30 insertions(+), 8 deletions(-)

More information about the pgpool-committers mailing list