Fix IPv6 in heatbeat process.
authorTatsuo Ishii <ishii@postgresql.org>
Sun, 27 Apr 2025 13:11:20 +0000 (22:11 +0900)
committerTatsuo Ishii <ishii@postgresql.org>
Sun, 27 Apr 2025 13:14:05 +0000 (22:14 +0900)
commit5f4d2d6839f238bdf0ab99a4e08bcc1e5f95e4a3
tree037b50365f3b0cc7fc6e9ce9775c8c89253b6be5
parente50114280f0451e379d8ff047be661917892e9e4
Fix IPv6 in heatbeat process.

From Pgpool-II 4.6.0, heartbeat process can handle IPv6 receiver
sockets. However, the process does not work normally if IPv6 is
disabled in the system. Like Pgpool-II main process and PostgreSQL, I
think it should work normally if IPv4 is available.

Discussion: https://www.pgpool.net/pipermail/pgpool-hackers/2025-April/004579.html
Backpatch-through: 4.6
src/watchdog/wd_heartbeat.c