[pgpool-committers: 164] pgpool: Fix memqcache to recognize extended query.

Nozomi Anzai anzai at sraoss.co.jp
Fri Apr 27 16:57:54 JST 2012


Fix memqcache to recognize extended query.
- In Parse() set flag that the extended query is cache safe or not.
- In Bind() save the offset of a bind message contents in which are
  portal name, prepared statement's name, params count, etc.
- In Execute() try to fetch its result from caches.
- In ReadyForQuery() save its result into cache.

Branch
------
master

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

Modified Files
--------------
pool_memqcache.c     |   28 ++++++++---
pool_proto_modules.c |  130 +++++++++++++++++++++++++++++++++++++++++++++-----
pool_query_context.h |    1 +
3 files changed, 138 insertions(+), 21 deletions(-)



More information about the pgpool-committers mailing list