[Pgpool-hackers] patch "Caching query results in pgpool-II"

Tatsuo Ishii ishii at sraoss.co.jp
Thu Jun 30 05:14:43 UTC 2011


>>> 3) What is this code doing? "con" is never
>>>   used. memqcache_total_size's 3rd arg is "oid", while you are
>>>   passing a file descriptor.
>>>        /* save the received result to buf for each kind */
>>>        if (pool_config->memory_cache_
> enabled)
>>>        {
>>>                char* con;
>>>                memqcache_register(kind, frontend, frontend->fd, p1,
> len1);
>>>        }
> I corrected it. I think that "backend->info->key" is table oid.
> Is it wrong?

Wrong. See ConnectionInfo.

	int			key;	/* cancel key */
--
Tatsuo Ishii
SRA OSS, Inc. Japan
English: http://www.sraoss.co.jp/index_en.php
Japanese: http://www.sraoss.co.jp


More information about the Pgpool-hackers mailing list