[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.



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