[pgpool-committers: 7775] pgpool: Fix maximum length of hostnames including domain name.

Tatsuo Ishii ishii at sraoss.co.jp
Thu May 27 19:38:26 JST 2021


Fix maximum length of hostnames including domain name.

The maximum length of hostnames was 128, which is not incorrect.
Moreover there were multiple places where the maximum length of hostname is defined.
So create unified definition of it in libpcp_ext.h.

Discussion: https://www.pgpool.net/pipermail/pgpool-hackers/2021-May/003904.html

Branch
------
V4_0_STABLE

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

Modified Files
--------------
src/include/pcp/libpcp_ext.h | 11 +++++++++--
src/include/pool_config.h    |  4 ++--
2 files changed, 11 insertions(+), 4 deletions(-)



More information about the pgpool-committers mailing list