Re: type cache cleanup improvements

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: type cache cleanup improvements
Дата
Msg-id 794839.1709912139@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: type cache cleanup improvements  (Aleksander Alekseev <aleksander@timescale.com>)
Ответы Re: type cache cleanup improvements  (Teodor Sigaev <teodor@sigaev.ru>)
Список pgsql-hackers
Aleksander Alekseev <aleksander@timescale.com> writes:
> One thing that I couldn't immediately figure out is why 0 hash value
> is treated as a magic invalid value in TypeCacheTypCallback():

I've not read this patch, but IIRC in some places we have a convention
that hash value zero is passed for an sinval reset event (that is,
"flush all cache entries").

            regards, tom lane



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

Предыдущее
От: Aleksander Alekseev
Дата:
Сообщение: Re: type cache cleanup improvements
Следующее
От: Tomas Vondra
Дата:
Сообщение: Re: Identify transactions causing highest wal generation