[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
too.

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

Branch
------
master

Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=e661dd1fd561792500ec0a7a4fc05c33891c2dec

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