Re: WaitEventSet resource leakage

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: WaitEventSet resource leakage
Дата
Msg-id 0b1770f1-b211-46aa-94cd-ee15c9cb934b@iki.fi
обсуждение исходный текст
Ответ на Re: WaitEventSet resource leakage  (Alexander Lakhin <exclusion@gmail.com>)
Список pgsql-hackers
On 22/11/2023 15:00, Alexander Lakhin wrote:
> I can also confirm that the patches proposed (for master and back branches)
> eliminate WES leakage as expected.
> 
> Thanks for the fix!
> 
> Maybe you would find appropriate to add the comment
> /* Convenience wrappers over ResourceOwnerRemember/Forget */
> above ResourceOwnerRememberWaitEventSet
> just as it's added above ResourceOwnerRememberRelationRef,
> ResourceOwnerRememberDSM, ResourceOwnerRememberFile, ...

Added that and fixed the Windows warning that Thomas pointed out. Pushed 
the ResourceOwner version to master, and PG_TRY-CATCH version to 14-16.

Thank you!

> (As a side note, this fix doesn't resolve the issue #17828 completely,
> because that large number of handles might be also consumed
> legally.)

:-(

-- 
Heikki Linnakangas
Neon (https://neon.tech)




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

Предыдущее
От: Dean Rasheed
Дата:
Сообщение: Re: [PATCH] psql: Add tab-complete for optional view parameters
Следующее
От: Bono Stebler
Дата:
Сообщение: Use index to estimate expression selectivity