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

Tatsuo Ishii ishii at sraoss.co.jp
Thu May 27 19:38:31 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_1_STABLE

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

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