| From: | Tatsuo Ishii <ishii(at)postgresql(dot)org> |
|---|---|
| To: | pgpool-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgpool: Fix walker functions to return earlier. |
| Date: | 2026-01-22 04:30:13 |
| Message-ID: | E1vimKi-00CSQa-1i@gothos.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgpool-committers |
Fix walker functions to return earlier.
Previously walker functions returned false once it found target
objects. But it is possible to short-circuit the traverse and it
should have been.
Also import comments from PostgreSQL to clarify walker function
design.
Author: Tatsuo Ishii <ishii(at)postgresql(dot)org>
Reported-by: liujinyang-highgo
Backpatch-through: v4.3
Discussion: https://github.com/pgpool/pgpool2/issues/143
Branch
------
V4_3_STABLE
Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=64dda20f0070a6c64adb61433c07f89ea1c64244
Modified Files
--------------
src/rewrite/pool_timestamp.c | 40 +++++++++++++++++++++++++++++++++++++++-
src/utils/pool_select_walker.c | 18 +++++++++---------
2 files changed, 48 insertions(+), 10 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tatsuo Ishii | 2026-01-22 04:30:19 | pgpool: Fix walker functions to return earlier. |
| Previous Message | Tatsuo Ishii | 2026-01-09 11:50:11 | pgpool: Fix memory leak in scram authentication. |