| 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:20 |
| Message-ID: | E1w9xaw-001vkX-1Z@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_4_STABLE
Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=fbcbfe5b092fe555dc161c3341a018b822b7ba7b
Modified Files
--------------
src/query_cache/pool_memqcache.c | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tatsuo Ishii | 2026-04-07 03:59:25 | pgpool: Fix query cache to invalidate cache when MERGE statement is use |
| Previous Message | Tatsuo Ishii | 2026-04-06 07:14:35 | pgpool: Fix memory leak in a SSL module. |