Re: pgsql: Add function to get memory context stats for processes

Daniel Gustafsson <dgustafsson@postgresql.org>

From: Daniel Gustafsson <dgustafsson@postgresql.org>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Tomas Vondra <tomas@vondra.me>, Tom Lane <tgl@sss.pgh.pa.us>, Andres Freund <andres@anarazel.de>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>, Rahila Syed <rahilasyed90@gmail.com>
Date: 2025-04-30T20:29:33Z
Lists: pgsql-hackers
> On 30 Apr 2025, at 22:17, Robert Haas <robertmhaas@gmail.com> wrote:

> I kind of doubt whether that's the only problem here, but it's *a* problem.

This is indeed exposing a pre-existing issue, which was reported in [0] and a
patch fixing it has been submitted.  I have been testing and reworking the
patch slightly but due to $life and $work events have yet to have time to push
it.

--
Daniel Gustafsson

[0] 3eb40b3e-45c7-426a-b7f8-81f7d05a9b53@oss.nttdata.com


Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Rename global variable backing DSA area

  2. Add function to get memory context stats for processes