Atsushi Ogawa <a_ogawa(at)hi-ho(dot)ne(dot)jp> writes:
> Attached patch is reduce the memcpy calls from SearchCatCache
> and SearchCatCacheList. This patch directly uses cache->cc_skey
> in looking for hash table.
How much did you test this patch? I'm fairly sure it will break things.
There are cases where cache lookups happen recursively.
regards, tom lane