Re: Enhancing Memory Context Statistics Reporting

From: Rahila Syed <rahilasyed90(at)gmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Cc: Daniel Gustafsson <daniel(at)yesql(dot)se>, torikoshia <torikoshia(at)oss(dot)nttdata(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, Chao Li <li(dot)evan(dot)chao(at)gmail(dot)com>
Subject: Re: Enhancing Memory Context Statistics Reporting
Date: 2026-02-20 23:13:17
Message-ID: CAH2L28sZ5ELWzXgRNJEYpOR8jk6DdWETgJ7L-xYa9SXQ+n5Z7w@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

Please find attached updated and rebased patches which incorporate
code fixes suggested off-list by Daniel

These changes include a fix to free dsa memory in one of the
exit paths from the client-side function along with several documentation
and comment improvements.

> I think we can calculate remaining time and pass remaining milliseconds
> into ConditionVariableTimedSleep.
>
>
This comment by Chao Li was also addressed as part of Daniel's review
fixes.

Thank you,
Rahila Syed

Attachment Content-Type Size
v52-0001-Add-function-to-report-memory-context-statistics.patch application/octet-stream 59.8 KB
v52-0002-Test-module-to-test-memory-context-reporting-wit.patch application/octet-stream 8.9 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message John Naylor 2026-02-21 01:49:32 Re: refactor architecture-specific popcount code
Previous Message Nathan Bossart 2026-02-20 22:28:00 Re: Moving the vacuum GUCs' docs out of the Client Connection Defaults section