[pgpool-committers: 535] pgpool: Fix pool_get_database_oid. Relcache is not neede to be session

Tatsuo Ishii ishii at postgresql.org
Tue Jul 24 18:39:59 JST 2012


Fix pool_get_database_oid. Relcache is not neede to be session local.

Fix pool_search_relcache. When cache is session local and discard
local cache entry because local session id is not my own, set refcnt
to 0.  Otherwise, false alarm "pool_search_relcache: cache replacement
happend" is showed. Problem reported in [pgpool-general: 792].

Branch
------
master

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

Modified Files
--------------
pool_memqcache.c |    2 +-
pool_relcache.c  |    1 +
2 files changed, 2 insertions(+), 1 deletions(-)



More information about the pgpool-committers mailing list