Re: type cache cleanup improvements

Поиск
Список
Период
Сортировка
От Artur Zakirov
Тема Re: type cache cleanup improvements
Дата
Msg-id CAKNkYnzFg5jpeEjsdYutqtCoJs9VD27mFtH1cPEb6OQzYti2Hg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: type cache cleanup improvements  (jian he <jian.universality@gmail.com>)
Список pgsql-hackers
On Tue, 15 Oct 2024 at 11:50, jian he <jian.universality@gmail.com> wrote:
> based on above information, i am still  confused with
> cleanup_in_progress_typentries, in_progress_list_len
> is there any simple sql example to demo
> cleanup_in_progress_typentries,  in_progress_list_len> 0.

AFAIK to reproduce cases when `in_progress_list_len > 0`
`lookup_type_cache()` should fail during its execution.

To do so you can call `lookup_type_cache()` with non-existing type_id
from a C function.

-- 
Kind regards,
Artur



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