pgpool: Add check if parse tree exists in handle_query_context().

From: Tatsuo Ishii <ishii(at)postgresql(dot)org>
To: pgpool-committers(at)lists(dot)postgresql(dot)org
Subject: pgpool: Add check if parse tree exists in handle_query_context().
Date: 2026-09-16 11:53:44
Message-ID: E1x6oCt-0000000EBHx-3s9T@gothos.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgpool-committers

Add check if parse tree exists in handle_query_context().

handle_query_context() did not check whether the parse tree existed in
session_context->query_context. Although, if it does not, there's
something wrong goes on.

Per Coverity.
Author: Tatsuo Ishii <ishii(at)postgresql(dot)org>
Backpatch-through: v4.3

Branch
------
V4_3_STABLE

Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=bae0c915fcee5af3914160bfc3c16458ba0f0770

Modified Files
--------------
src/protocol/CommandComplete.c | 5 +++++
1 file changed, 5 insertions(+)

Browse pgpool-committers by date

  From Date Subject
Next Message Tatsuo Ishii 2026-09-16 11:53:49 pgpool: Add check if parse tree exists in handle_query_context().
Previous Message Taiki Koshino 2026-09-16 09:25:41 pgpool: Convert pcp_worker die handler to flag-only.