pgpool: Fix query cache to invalidate cache when MERGE statement is use

From: Tatsuo Ishii <ishii(at)postgresql(dot)org>
To: pgpool-committers(at)lists(dot)postgresql(dot)org
Subject: pgpool: Fix query cache to invalidate cache when MERGE statement is use
Date: 2026-04-07 03:59:31
Message-ID: E1w9xb7-001w6i-1o@gothos.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgpool-committers

Fix query cache to invalidate cache when MERGE statement is used.

MERGE was introduced in PostgreSQL 15 and Pgpool-II 4.4 imported 15's
parer. However, there was an oversight in query cache sub module:
i.e. MERGE statement did not trigger invalidation of query cache.

Author: Nadav Shatz <nadav(at)tailorbrands(dot)com>
Discussion: https://www.postgresql.org/message-id/20260407.090802.1335576118037412011.ishii%40postgresql.org
Backpatch-through: v4.4 where MERGE was introduced

Branch
------
V4_6_STABLE

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

Modified Files
--------------
src/query_cache/pool_memqcache.c | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)

Browse pgpool-committers by date

  From Date Subject
Next Message Tatsuo Ishii 2026-04-07 03:59:37 pgpool: Fix query cache to invalidate cache when MERGE statement is use
Previous Message Tatsuo Ishii 2026-04-07 03:59:25 pgpool: Fix query cache to invalidate cache when MERGE statement is use