[pgpool-committers: 2751] pgpool: Fix in memory query cache bug reported in bug#152.
Tatsuo Ishii
ishii at postgresql.org
Tue Oct 20 08:29:36 JST 2015
Fix in memory query cache bug reported in bug#152.
If extended query protocol is used and a bind/execute message arrives
which uses a statement created by prior parse message, the temp_cache
is not initialized by a parse messages. Thus messages are added to pre
existing temp cache buffer which causes the trouble (when the cached
result returns, Data Row message and Command Complete message appeared
*twice*).
Also new regression test is added to check the bug.
Branch
------
master
Details
-------
http://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=73b4c589f536aeb218804896e33d3a13dd0a5545
Modified Files
--------------
src/query_cache/pool_memqcache.c | 18 ++++++++++
src/test/regression/tests/065.bug152/Main.java | 32 +++++++++++++++++
src/test/regression/tests/065.bug152/run.sh | 5 +++
src/test/regression/tests/065.bug152/test.sh | 46 ++++++++++++++++++++++++
4 files changed, 101 insertions(+)
More information about the pgpool-committers
mailing list