Re: Enhancing Memory Context Statistics Reporting - Mailing list pgsql-hackers

From Daniel Gustafsson
Subject Re: Enhancing Memory Context Statistics Reporting
Date
Msg-id F12013F0-F54F-4C3D-92C5-76F8AE944CED@yesql.se
Whole thread Raw
In response to Re: Enhancing Memory Context Statistics Reporting  (Rahila Syed <rahilasyed90@gmail.com>)
Responses Re: Enhancing Memory Context Statistics Reporting
List 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

Attachment

pgsql-hackers by date:

Previous
From: "Aya Iwata (Fujitsu)"
Date:
Subject: RE: [WIP]Vertical Clustered Index (columnar store extension) - take2
Next
From: Ashutosh Bapat
Date:
Subject: Re: [PATCH] clarify palloc comment on quote_literal_cstr