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

Tatsuo Ishii ishii at postgresql.org
Tue Sep 6 08:25:40 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].

Branch
------
V3_2_STABLE

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

Modified Files
--------------
INSTALL              |     2 +-
Makefile.in          |    23 +-
aclocal.m4           |   122 +-
config.guess         |  1533 +-----
config.sub           |  1641 +-----
configure            |   108 +-
depcomp              |   523 +-
install-sh           |   252 +-
missing              |   361 +-
mkinstalldirs        |    41 +-
parser/Makefile.in   |     6 +-
parser/gram.c        | 14435 +++++++++++++++++++++++--------------------------
parser/gram.h        |   883 ++-
pcp/Makefile.in      |     6 +-
pool_memqcache.c     |    21 +-
watchdog/Makefile.in |     6 +-
ylwrap               |   224 +-
17 files changed, 7389 insertions(+), 12798 deletions(-)



More information about the pgpool-committers mailing list