Re: Enhancing Memory Context Statistics Reporting

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: Enhancing Memory Context Statistics Reporting
Дата
Msg-id ulzmfs7wuhon3ntyci3njk5w2soh45jtwhd4cokacn4fbfnazm@whrfe3yw3247
обсуждение исходный текст
Ответ на Re: Enhancing Memory Context Statistics Reporting  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: Enhancing Memory Context Statistics Reporting
Список pgsql-hackers
Hi,

On 2026-01-13 14:31:00 -0500, Robert Haas wrote:
> Also, it's not really safe to acquire an LWLock if there's no
> transaction active. If we error afterward, what will release the
> LWLock?

All the error handling paths (hopefully) have an LWLockReleaseAll()... Which
is pretty crucial given that we do stuff outside of transactions in other
places.

That doesn't mean the other concerns about resource management are unfounded,
however.

Greetings,

Andres Freund



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