Fix heartbeat_device treatment.
authorTatsuo Ishii <ishii@postgresql.org>
Mon, 9 Jun 2025 03:49:36 +0000 (12:49 +0900)
committerTatsuo Ishii <ishii@postgresql.org>
Mon, 9 Jun 2025 04:30:26 +0000 (13:30 +0900)
commit2a58f4140706f8b3c53c79bfb5a64b019f692b80
tree787364c379c687ee1db4f83eee741d439b06c3f6
parent621cb970152a32fc5bacea373afc520d34e22c01
Fix heartbeat_device treatment.

While processing pgpool.conf, heartbeat_device was mistakenly treated
and the first device was ignored. For example:

heartbeat_device0 = 'eth0'

the configuration process disregarded 'eth0' and acted as if no device
was set. Another example:

heartbeat_device0 = 'eth0;eth1'

"eth0" was simply ignored.

Reviewed-by: Bo Peng <pengbo@sraoss.co.jp>
Backpatch-through: v4.2
src/config/pool_config_variables.c