Re: type cache cleanup improvements

Поиск
Список
Период
Сортировка
От Жарков Роман
Тема Re: type cache cleanup improvements
Дата
Msg-id 1d01a3-66064880-1-7cb74a00@198342865
обсуждение исходный текст
Ответ на Re: type cache cleanup improvements  (Teodor Sigaev <teodor@sigaev.ru>)
Список 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
Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Erik Wienhold
Дата:
Сообщение: Re: PSQL Should \sv & \ev work with materialized views?
Следующее
От: Melanie Plageman
Дата:
Сообщение: Re: Combine Prune and Freeze records emitted by vacuum