[pgpool-committers: 3471] pgpool: Don't ignore sync message from frontend when query cache is ena

Tatsuo Ishii ishii at postgresql.org
Fri Sep 9 12:01:48 JST 2016


Don't ignore sync message from frontend when query cache is enabled.

While returning cached query result, sync message sent from frontend
is discarded. This is harmless because "ready for query" messages is
sent to frontend afterward. Problem is, AccessShareLock held by
previous parse message processing is not released until sync message
is received by the backend. Fix is, forwarding the sync message to
backend and discarding "ready for query" message returned from
backend.

Per [pgpool-hackers: 1787].

Branches
--------
IMPORT_96_PARSER
master

Details
-------
http://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=455df3d586a64ecf2063cba1a84c72bedd0af6d5

Modified Files
--------------
src/query_cache/pool_memqcache.c | 19 ++++++++++++++++---
1 file changed, 16 insertions(+), 3 deletions(-)



More information about the pgpool-committers mailing list