[pgpool-committers: 7595] pgpool: Code restructuring for memory cache.
Tatsuo Ishii
ishii at sraoss.co.jp
Sun Apr 11 16:42:54 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
------
V4_2_STABLE
Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=077dc2fbc4bbc33adec4600adb5e532685f20d9b
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