Re: type cache cleanup improvements - Mailing list pgsql-hackers

From Жарков Роман
Subject Re: type cache cleanup improvements
Date
Msg-id 1d01a3-66064880-1-7cb74a00@198342865
Whole thread Raw
In response to Re: type cache cleanup improvements  (Teodor Sigaev <teodor@sigaev.ru>)
List pgsql-hackers
> Rest of patches, rebased.

Hello,
I read and tested only the first patch so far. Creation of temp
tables and rollback in your script work 3-4 times faster with
0001-type-cache.patch on my windows laptop.

In the patch I found a copy of the comment "If it's domain over
composite, reset flags...". Can we move the reset flags operation
and its comment into the invalidateCompositeTypeCacheEntry()
function? This simplify the TypeCacheRelCallback() func, but
adds two more IF statements when we need to clean up a cache
entry for a specific relation. (diff attached).
--
Roman Zharkov
Attachment

pgsql-hackers by date:

Previous
From: Erik Wienhold
Date:
Subject: Re: PSQL Should \sv & \ev work with materialized views?
Next
From: Melanie Plageman
Date:
Subject: Re: Combine Prune and Freeze records emitted by vacuum