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:11:20 +0000 (22:11 +0900)
commit6b1c24b58ad3964db8c886f7a5a05c87f5ab2bf0
treed64bb17b7c5a0d4b8799426e6691aafed7d0b7d1
parent4363f34fc9c37993c24b9214896826d21fa97119
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