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 1vaq9o-00EbKe-0x for pgpool-general@arkaria.postgresql.org; Wed, 31 Dec 2025 06:58:09 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vaq9n-005YrK-0s for pgpool-general@arkaria.postgresql.org; Wed, 31 Dec 2025 06:58:08 +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 1vaq9n-005YrC-0I for pgpool-general@lists.postgresql.org; Wed, 31 Dec 2025 06:58:07 +0000 Received: from mail-pl1-x62a.google.com ([2607:f8b0:4864:20::62a]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1vaq9k-003SXS-3D for pgpool-general@lists.postgresql.org; Wed, 31 Dec 2025 06:58:07 +0000 Received: by mail-pl1-x62a.google.com with SMTP id d9443c01a7336-2a0ac29fca1so89657815ad.2 for ; Tue, 30 Dec 2025 22:58:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1767164283; x=1767769083; darn=lists.postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=TYmdzExYXwS2fOqQbJQq2PK9boQmy1Iawy9SakBZ31s=; b=DtUe2hVhZSBtPS6uviLKEJ5JcC1dQvhV4u3RPQZNTS4MO4ST4j/D3fZg10vJDa2JIJ vgzKtG/XTb1/P6NSO8SjzMgZfMG8tWSQVVlVYHFXoJZ1IAsDAb6L8mxW614F+8EwqmD4 racVBCwHUcqgACihRecufsFgx6scpuNTrgrrCowfNF1Qfk+4A+RXN/TP0vnxnheraON7 kRscKy34rZVawRZYsSJMKXXnWNsMkV3QdxFbEdVhByNvMfSo/tr9Lzcb0lsbG2R41fAS 1vIdKr8D6hdbeQQBBPX9xhV2Drb5BNWX4pX3tRhKgKOaKVuPYpcpmqVRdsDCiyTbJJ17 tOUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1767164283; x=1767769083; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=TYmdzExYXwS2fOqQbJQq2PK9boQmy1Iawy9SakBZ31s=; b=Aps7eb2Y0Eyg01YTfWY1NEN/yV2xtKsffhomAmSShgUgeITdFfuy0ycec7XebUMnSc 8rLB4hD6IgLlWhuua+RHEySNHDLRWQ0/3EHdhp7Lq/LlzzkO+/M8yjweCfn6JzcUtl4Z /xwG/YM1928B3LV4YS8SnPbohZN2VYdsclUlrwm0saXGmGojAyH/++VZXTTUeWlMtKj1 GwOpo8COYnd6l+fZSatyNAo9glfMJLDZiQYLBQgk2GazcFtJAFzBLZnkzFAa7PryKA18 RPzRxnOy0x06KgwpsmNzq3lN3fnUsPB4KBwR73eWq0C2/N+jBJKN90OpuwrpZZOyBAqT sCOg== X-Gm-Message-State: AOJu0Yzb4HYLailrpNr280wAQLQEyPJJzCkimmS1lMv94xV47n6jeezu ld2PRmXEUuBuNNjELEMBPOslP3m8ulUgSwJKon1e5i5CZSZcqNqJgY1YSnggA/L7FLIr2RaOHjA nzMCRwemDznNnm49h14IHSRa6OQNLhCQ= X-Gm-Gg: AY/fxX6ws3oT2TLf08zgvISVNVTz/wVAo05B8e6C/dM5UZ98nUX/7gqFWy3qtXTmGBB 2KiwZ1RoRHEOUQ1lPmA3cRGpLp3A3Rz4bKlNXRQu87sCinIyE98rGbIMksZlbMx5pdqcyAu4IsM yOFuhBgNqt5p0wEE+LMKvWGGTekxQWyJerhJvFBs9lxSkS41A/ebIGk1C6BNgJeqbehYtX8XQAi KsArsRKzQsQYdPCKDxSJEgLj9GPTb5Azo8Vcub139iJ32gcqbR5XH+oooOTfbjwaT9E2mZay+Hr ievKPFKFGZmZbZ8lEUFbDh+fwsZn4Q== X-Google-Smtp-Source: AGHT+IGdD4B+2C1Umcupr2qpqq6T2nH5lIMW6g3dOpulYdgAp2OqrY6fzmzEhsNf73dj9pc9ViXzuitOtFzUGu2UyL0= X-Received: by 2002:a17:90b:56c4:b0:32e:e18a:3691 with SMTP id 98e67ed59e1d1-34e921e9f5bmr28534767a91.35.1767164282921; Tue, 30 Dec 2025 22:58:02 -0800 (PST) MIME-Version: 1.0 References: <20251231.092344.1606071176472398412.ishii@postgresql.org> In-Reply-To: <20251231.092344.1606071176472398412.ishii@postgresql.org> From: Emond Papegaaij Date: Wed, 31 Dec 2025 07:57:51 +0100 X-Gm-Features: AQt7F2r1cfehnJ1f6yJZVwnNnxmDtC9E72ayAltIhfNRz6AHSqaoeJJg80rUPic Message-ID: Subject: Re: Pgpool-II 4.7.0 released. To: Tatsuo Ishii Cc: pgpool-general@lists.postgresql.org Content-Type: text/plain; charset="UTF-8" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > > We are trying to upgrade our application to use Pgpool-II 4.7.0, but > > the change for 'Enhance security for watchdog and heartbeat receiver.' > > is causing issues for us. We run Pgpool in a docker container and > > expose some of its ports to specific IP-addresses on the hosts: > > 172.29.30.1, 172.29.30.2 and 172.29.30.3 for the 3 hosts. However, > > from the perspective of docker container in which Pgpool is running, > > there's only the IP assigned to the container by docker. With 4.7.0, > > Pgpool tries to bind the wd_port to its external IP address, which is > > not possible from inside the container, resulting in the following > > errors: > > > > 2025-12-29 10:11:07: pid 8: DETAIL: bind on "172.29.30.1:9009" failed > > with reason: "Address not available" > > Sorry for the inconvenience. No problem. These things happen. > 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. > Since most pgpool developers are off for New Year's holiday, I will > discuss them next week. No need to hurry. 4.6.5 is working fine for us at the moment. I wish you a happy new year in advance. Best regards, Emond