Re: Enhancing Memory Context Statistics Reporting

Поиск
Список
Период
Сортировка
От Daniel Gustafsson
Тема Re: Enhancing Memory Context Statistics Reporting
Дата
Msg-id F12013F0-F54F-4C3D-92C5-76F8AE944CED@yesql.se
обсуждение исходный текст
Ответ на Re: Enhancing Memory Context Statistics Reporting  (Rahila Syed <rahilasyed90@gmail.com>)
Ответы Re: Enhancing Memory Context Statistics Reporting
Список pgsql-hackers
On 8 Apr 2025, at 07:40, Rahila Syed <rahilasyed90@gmail.com> wrote:

 
> Renamed both to use MemoryContextReporting* namespace, which leaves
> MemoryContextReportingBackendState at an unwieldly long name.  I'm running out
> of ideas on how to improve and it does make purpose quite explicit at least.

How about

MemoryContextReportingBackendState -> MemoryStatsBackendState
MemoryContextReportingId -> MemoryStatsContextId
MemoryContextReportingSharedState -> MemoryStatsCtl
MemoryContextReportingStatsEntry -> MemoryStatsEntry
 
Fixed accordingly.

That's much better, thanks.

There was a bug in the shmem init function which caused it to fail on Windows,
the attached fixes that.

--
Daniel Gustafsson

Вложения

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