[pgpool-committers: 7594] pgpool: Code restructuring for memory cache.

Tatsuo Ishii ishii at sraoss.co.jp
Sun Apr 11 16:42:25 JST 2021


Code restructuring for memory cache.

Add new function pool_discard_current_temp_query_cache(). We used to
do same thing in multiple places to discard temporary query cache of
current query context. The new function performs the work, which
should prevent mistakes like bug 700.

Since this is just a code restructuring, I only apply this to master
and 4.2 stable branches.

Branch
------
master

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

Modified Files
--------------
src/include/query_cache/pool_memqcache.h |  1 +
src/protocol/pool_process_query.c        | 12 ++---------
src/protocol/pool_proto_modules.c        | 20 +++++++-----------
src/query_cache/pool_memqcache.c         | 35 ++++++++++++++++++++++----------
4 files changed, 34 insertions(+), 34 deletions(-)



More information about the pgpool-committers mailing list