Fix point less warning in query cache invalidation.
authorTatsuo Ishii <ishii@postgresql.org>
Fri, 5 Sep 2025 09:11:04 +0000 (18:11 +0900)
committerTatsuo Ishii <ishii@postgresql.org>
Fri, 5 Sep 2025 09:11:04 +0000 (18:11 +0900)
commite22467bf3d8a5620ca81567d30c2095def8fb016
tree8fe3a7a5ab120dd8f3be9c52ee0f7006d26bc27f
parent09ef05a3d9c4d148af214728c632bfa4d9cf72f8
Fix point less warning in query cache invalidation.

When memcached support is disabled, query cache invalidation by query
emitted point less warning. This makes 006.memcached regression test
failed.

PGPOOL SET CACHE DELETE '/*FORCE QUERY CACHE*/SELECT 1;';
WARNING:  failed to delete query cache on memcached, memcached support is not enabled

Backpatch-through: v4.6
src/query_cache/pool_memqcache.c