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 1w9huv-001fbw-32 for pgpool-general@arkaria.postgresql.org; Mon, 06 Apr 2026 11:14:54 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1w9huu-007xoH-0y for pgpool-general@arkaria.postgresql.org; Mon, 06 Apr 2026 11:14:52 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1w9huu-007xoA-0J for pgpool-general@lists.postgresql.org; Mon, 06 Apr 2026 11:14:52 +0000 Received: from mail-ed1-x530.google.com ([2a00:1450:4864:20::530]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1w9hur-00000000t9Q-3WBH for pgpool-general@lists.postgresql.org; Mon, 06 Apr 2026 11:14:51 +0000 Received: by mail-ed1-x530.google.com with SMTP id 4fb4d7f45d1cf-66bb6eb28acso6860073a12.0 for ; Mon, 06 Apr 2026 04:14:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1775474088; cv=none; d=google.com; s=arc-20240605; b=lNfInMCqDQmWpKreRvHPsf+ZVl224nfCJtRTKsnFFLCJFHmwxMW70D4G5aiq8eH+ap 0nG08gO2bRpIe8tAvnALJPO1FRQlxRNVgVZu+zehLHMscfMMW/HeBB49WRenmz6AUwMI GAgc0bawsZ40MAzLFfiSQQPnpfuTZKy11Q3ThgpGW2zyPn63CespqZT9AMAKLCBZQgT7 rtQseLDnEVctGjBuHoUruPBXm4jH7q0Yyk0goM2IyCsm3tJXrUFrQXvkHm8snTyOcoO1 LD0y4yj0oFPh+sATX8igAGMLAI7Y89Qnq3lm9YRTtYXZiBbODNm8jeVczRlLa1IH4md4 /zVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=to:subject:message-id:date:from:mime-version:dkim-signature; bh=Vn69UdAG4oxa7jsid+8hrmpoDqzroyHCUpyuMKp2PmA=; fh=QXRwOxoT5ye2/huCVtbLLQOHdouN+t+tIhYvHNj1+CE=; b=OV4Mq+RR2TqQBzKCGOqppn3svcj87wFfHGFwgm6xQeWOVkFZlXyCEjYwHUV97Gm9zr zHK/SYIyKnCQJpJyjc8Nc51Sbo1+rCZ6xA+eJCk99P2mULyPyrVelGUkdqoN09mwTSRs WsOwlwDI/su+2MlBRm3glkm8l7Av5s6oszGuGgd/BzEojrZw0pggL4uTQterlCT3BiKp NjFGT8vrb0HP+vi6SWTghFitJp0DqjmKFdAiOu9yZd8qgvOdSk5rzvMjdGijafHQ2p5c QKMG/skkwxHbdzTj9f0fsVvMqnOpBRQzIld9RM8yQ+8NjWsJFJUzHmRKAVlgNDlL5N/j NhFg==; darn=lists.postgresql.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1775474088; x=1776078888; darn=lists.postgresql.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=Vn69UdAG4oxa7jsid+8hrmpoDqzroyHCUpyuMKp2PmA=; b=mo7IzqFLltEabLnsGWX4FEEBjx45XNu3GxThnmEvOfU7HYeACMAjWPuzzRrdVPfYpc IlPvhaqReIq/oWDZw4d+GnESIbvnvZsx4tep9Il5JuISRKQ6EcQ8sCPAEk2bl3qcFsbU BIvgw40SU+2AhhAe2ip5W43DXHJ5QCnKfFUowyS37VApBrrAuK9zV3z+0hsf2+ny7iFn a3WOjPZNqx4T4R3kvCw+EQhG3d/vSYvjPwpL2mLcSdY1Alyu81n2fe/AAKEZAynD7Fgv c5BEv04b+ejgZEiVhDxSBRIO7Wws92+PV7SOO2UHGAC2lc20pA7sL1GiV764R6TCwkt+ ztBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1775474088; x=1776078888; h=to:subject:message-id:date:from:mime-version:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Vn69UdAG4oxa7jsid+8hrmpoDqzroyHCUpyuMKp2PmA=; b=LA6vvOHoijlBlL68deoePjVctjp8zpfUCJfdbjsVhjGQqsewq2anBqqWOAW3iVIWQY 1FinmwBGYDPa8Ru4WAHayYUvcq0ivikfd4BTrQ5knIgDSWsQHE9ghx3kLrB+7kP+tpY/ T8rv68jpM83DOMr9Dfuuip32lxgbHvkGDuvrWYjodMjcGnWMIYhmQGcf/iWnLI9cPRV6 F2BK6YSxnmEl0hhRpfeduaCRdB/9fyXyIznwZRqmpYaQj6++Nnbz6ebpbiSSB5aghcxL 1nXjmz4/4atcPMCh/dZYA4VbF/sBAG2njHIVdR54F8heGMExzXWQv08Yk1aO0K0lTe5S Xahw== X-Gm-Message-State: AOJu0YzsEA/ZHD/iGwqtSMNvpWh9wTxTxBQkwhBJm7mKqe8GIeqEh+zL 5QNXMhkZXh/YT0jjFzGr38PD8SboTf5p9GA6/4j2DI93E/mGGVNSpw4UzO+OXHJpym/Xmwt8NOu Mln5Cx7l86Ibyx6ozaq7J5MKto2MT706V0xFDqQ0= X-Gm-Gg: AeBDiesFlTHxm/SN1uyJ5ks91D4o+cp+k72l6pg1xkjH4JINMsAPQoDGF0ReDTmph7J udybt3tYnScTsLOdustwiTN3isot/Za/H+yQaWp3agqH+YYJtggHGOGxw8k+ozmIxsvtfmcRJqy faqMCnk+R3RLopxaIbwyDd4EQlK0PGB8ceZ+h81C9uRrW15rqui09LYvdU/vF6NXSRHZ9yw4KeH OeyK6kr1GIMvLQUiuTurd8/UyzSSdyWvgwyS39sYrGgefBUWlPiycz5KoSwSQKiCisUTMPHsUeo CLVozw== X-Received: by 2002:a05:6402:35cd:b0:66e:4616:b415 with SMTP id 4fb4d7f45d1cf-66e4616b47dmr4978463a12.27.1775474087538; Mon, 06 Apr 2026 04:14:47 -0700 (PDT) MIME-Version: 1.0 From: JOSE MARIA Marin Date: Mon, 6 Apr 2026 13:14:36 +0200 X-Gm-Features: AQROBzBHPUxLW_ZCNwsPTHECEJBPtLogLr02bpenolsk2tEhShgKIplNLgvOCrw Message-ID: Subject: Bug report: Hardcoded debug logs "pi->node_ids" in pcp_child (v4.7.0) To: pgpool-general@lists.postgresql.org Content-Type: multipart/alternative; boundary="0000000000004bb571064ec8c6df" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --0000000000004bb571064ec8c6df Content-Type: text/plain; charset="UTF-8" *Description:* After upgrading to PgPool-II 4.7.0, the logs are being flooded with internal debug messages every time pcp_proc_info is executed. *Log Example:* pcp_child pid XXXX: LOG: pi->node_ids[0]:1 pi->node_ids[1]:0. Repeats tens of times. ... 2026-04-06 11:11:03.367: psql pid 188: LOG: pi->node_ids[0]:3 pi->node_ids[1]:0 2026-04-06 11:11:03.367: psql pid 188: LOG: pi->node_ids[0]:3 pi->node_ids[1]:0 2026-04-06 11:11:03.367: psql pid 188: LOG: pi->node_ids[0]:3 pi->node_ids[1]:0 2026-04-06 11:11:03.367: psql pid 188: LOG: pi->node_ids[0]:3 pi->node_ids[1]:0 2026-04-06 11:11:03.367: psql pid 188: LOG: pi->node_ids[0]:3 pi->node_ids[1]:0 2026-04-06 11:11:03.367: psql pid 188: LOG: pi->node_ids[0]:3 pi->node_ids[1]:0 2026-04-06 11:11:03.367: psql pid 188: LOG: pi->node_ids[0]:3 pi->node_ids[1]:0 2026-04-06 11:11:03.367: psql pid 188: LOG: pi->node_ids[0]:3 pi->node_ids[1]:0 2026-04-06 11:11:03.367: psql pid 188: LOG: pi->node_ids[0]:1 pi->node_ids[1]:0 2026-04-06 11:11:03.367: psql pid 188: LOG: pi->node_ids[0]:1 pi->node_ids[1]:0 2026-04-06 11:11:03.367: psql pid 188: LOG: pi->node_ids[0]:3 pi->node_ids[1]:0 2026-04-06 11:11:03.367: psql pid 188: LOG: pi->node_ids[0]:3 pi->node_ids[1]:0 2026-04-06 11:11:03.367: psql pid 188: LOG: pi->node_ids[0]:3 pi->node_ids[1]:0 2026-04-06 11:11:03.367: psql pid 188: LOG: pi->node_ids[0]:3 pi->node_ids[1]:0 2026-04-06 11:11:03.367: psql pid 188: LOG: pi->node_ids[0]:3 pi->node_ids[1]:0 ... *Steps to reproduce:* 1. Run PgPool-II 4.7.0. 2. Execute pcp_proc_info. 3. Check the main PgPool log. *Current behavior:* Even with log_min_messages = warning and log_pcp_messages = off, these messages persist. It seems like a hardcoded pool_log or fprintf in the source code of the PCP child handler. *Expected behavior:* Internal structure debugging like pi->node_ids should only appear when debug_level is high or during development builds. *Environment:* - PgPool-II version: 4.7.0 - OS: Ubuntu (Docker) --0000000000004bb571064ec8c6df Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Description: After upgrading to PgPool-II 4.7.0, the logs are being flooded with interna= l debug messages every time=C2=A0pcp_proc_info=C2=A0is execute= d.

Log Example: pcp_child pid XXXX: LOG: pi->node_ids[0]:1 pi->node_ids[1]:0. = Repeats tens of times.
...
2026-04-06 11:11:03.367: psql pid 188: LOG= : =C2=A0pi->node_ids[0]:3 pi->node_ids[1]:0
2026-04-06 11:11:03.36= 7: psql pid 188: LOG: =C2=A0pi->node_ids[0]:3 pi->node_ids[1]:0
20= 26-04-06 11:11:03.367: psql pid 188: LOG: =C2=A0pi->node_ids[0]:3 pi->= ;node_ids[1]:0
2026-04-06 11:11:03.367: psql pid 188: LOG: =C2=A0pi->= node_ids[0]:3 pi->node_ids[1]:0
2026-04-06 11:11:03.367: psql pid 188= : LOG: =C2=A0pi->node_ids[0]:3 pi->node_ids[1]:0
2026-04-06 11:11:= 03.367: psql pid 188: LOG: =C2=A0pi->node_ids[0]:3 pi->node_ids[1]:0<= br>2026-04-06 11:11:03.367: psql pid 188: LOG: =C2=A0pi->node_ids[0]:3 p= i->node_ids[1]:0
2026-04-06 11:11:03.367: psql pid 188: LOG: =C2=A0pi= ->node_ids[0]:3 pi->node_ids[1]:0
2026-04-06 11:11:03.367: psql pi= d 188: LOG: =C2=A0pi->node_ids[0]:1 pi->node_ids[1]:0
2026-04-06 1= 1:11:03.367: psql pid 188: LOG: =C2=A0pi->node_ids[0]:1 pi->node_ids[= 1]:0
2026-04-06 11:11:03.367: psql pid 188: LOG: =C2=A0pi->node_ids[0= ]:3 pi->node_ids[1]:0
2026-04-06 11:11:03.367: psql pid 188: LOG: =C2= =A0pi->node_ids[0]:3 pi->node_ids[1]:0
2026-04-06 11:11:03.367: ps= ql pid 188: LOG: =C2=A0pi->node_ids[0]:3 pi->node_ids[1]:0
2026-04= -06 11:11:03.367: psql pid 188: LOG: =C2=A0pi->node_ids[0]:3 pi->node= _ids[1]:0
2026-04-06 11:11:03.367: psql pid 188: LOG: =C2=A0pi->node_= ids[0]:3 pi->node_ids[1]:0
...

Steps to reproduce:

  1. Run PgPool-II 4.7.0.

  2. Execute pcp_proc_info.

  3. Check the main PgPool log.

  4. =

Current behavior: Even with log_min_messages =3D warning and log_pcp_messa= ges =3D off, these messages persist. It seems like a hardcoded pool_log or fprintf in the source code of the PCP chil= d handler.

Expected behavior: Internal structure debugging like pi->node_ids should only = appear when debug_level is high or during development builds.<= /p>

Environment:

  • PgPool-II version: 4.7.0

  • OS: Ubuntu (Docker)

--0000000000004bb571064ec8c6df--