Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1viiaZ-00DmWm-0B for pgpool-general@arkaria.postgresql.org; Thu, 22 Jan 2026 00:30:19 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1viiaY-009zfh-0q for pgpool-general@arkaria.postgresql.org; Thu, 22 Jan 2026 00:30:18 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1viiaY-009zfa-0B for pgpool-general@lists.postgresql.org; Thu, 22 Jan 2026 00:30:18 +0000 Received: from meldrar.postgresql.org ([2a02:c0:301:0:ffff::31]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1viiaU-001gCU-2k for pgpool-general@lists.postgresql.org; Thu, 22 Jan 2026 00:30:17 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=postgresql.org; s=20171124; h=Content-Transfer-Encoding:Content-Type: Mime-Version:References:In-Reply-To:From:Subject:Cc:To:Message-Id:Date:Sender :Reply-To:Content-ID:Content-Description; bh=d5gPQcLqbklP4nYTM0sGif+tXmS20AG2nrRXiHHpNJ8=; b=y+h9pd7c0p2zKGwxbccLURIax2 Y0IG0ccoknTZDvoKe/VsgooT60QBA/BF9J4UwotBIsGnP/retBhXZ/iuf8+mt01nJgImv1LayznoS T+MeZOAF6Jp/8+UYczAOFbrVmCLQw25xusxvZiWtJztHoYO/FOBK3pQLQuF98ccu4zIfP2R+IcQfR ng/jxpYTGQsm41CgVx57wV/kpJ4TdF3LUANqHsqlSGMy86FkJs5ruiuDF0owWW4FohufD0GZYVw22 5zf3CBatxlj4GocEqTYsPkDUnHJ5v1bsLoHGoxlQa5oIVLi59Biapb6Ffvxo9aeOm+biqL3oABBcF gdf5sJ9w==; Received: from 117.141.178.217.shared.user.transix.jp ([217.178.141.117] helo=localhost) by meldrar.postgresql.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1viiaR-003mS2-1a; Thu, 22 Jan 2026 00:30:14 +0000 Date: Thu, 22 Jan 2026 09:30:03 +0900 (JST) Message-Id: <20260122.093003.1821723338788147775.ishii@postgresql.org> To: emond.papegaaij@gmail.com Cc: pgpool-general@lists.postgresql.org Subject: Re: Pgpool-II 4.7.0 released. From: Tatsuo Ishii In-Reply-To: References: <20251231.165714.1023017053914495270.ishii@postgresql.org> X-Mailer: Mew version 6.8 on Emacs 29.3 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > Op wo 31 dec 2025 om 08:57 schreef Tatsuo Ishii : >> >> Unfortunately it's not possible to bind on all IP addresses for pgpool >> >> by tweaking hostnameN. You could specify it to '*' so that it binds on >> >> all IP addresses, but this will cause a different problem: >> >> communicating to other watchdog is refused. This is because each >> >> watchdog node name is created from hostnameN. If hostnameN is '*', the >> >> node name will be something like "*:5432 Linux..." which is different >> >> from what other watchdog nodes expect (they expect something like >> >> '172.29.30.1:5432 ..."). >> > >> > I already suspected this. The same goes for using the actual docker >> > container ip, which is 172.29.29.107 on all 3 nodes. I think the best >> > solution would be to introduce a bind_address configuration parameter, >> > which defaults to hostnameN, but can be overridden. I guess the same >> > thing goes for heartbeat_hostnameN. >> >> Yeah, I thought the same. I will discuss with other developers next >> year. >> >> >> Since most pgpool developers are off for New Year's holiday, I will >> >> discuss them next week. > > Do you have an update on this already? I and Pengbo are discussing this off list. We are leaning towards adding "listen_addresses" like parameters as other parameters prefers "listen" over "bind" ("listen_addresses" and "pcp_listen_addresses"). We are thinking to add: wd_listen_addresses0='' heartbeat_listen_addresses0='' : : because watchdog and hearbeat needs separate listen addresses parameter. So if we would add these parameters, users will need to configure number_of_watchdog_nodes * 2 parameters, which will be a pain. One way to mitigate this is, to consider default values for these parameters if they are not specified. There are two candidate for the default value. (1) "*" This is similar to the pre-4.7 behavior, but less secure. (2) same as hostname0 (for wd_listen_addresses0) and heartbeat_hostname0 (for heartbeat_hostname0). This is current 4.7 behavior and more secure but does not work for your environment. What do you think? Best regards, -- Tatsuo Ishii SRA OSS K.K. English: http://www.sraoss.co.jp/index_en/ Japanese:http://www.sraoss.co.jp