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

Daniel Gustafsson <daniel@yesql.se>

From: Daniel Gustafsson <daniel@yesql.se>
To: Laurenz Albe <laurenz.albe@cybertec.at>
Cc: pgsql-committers@lists.postgresql.org
Date: 2025-04-10T12:46:35Z
Lists: pgsql-hackers
> On 10 Apr 2025, at 13:42, Laurenz Albe <laurenz.albe@cybertec.at> wrote:
> On Tue, 2025-04-08 at 09:10 +0000, Daniel Gustafsson wrote:

>> +extern dsa_area *area;
> 
> This commit causes problems for PostGIS, because the name "area" collides
> with a PostGIS object:

Thanks for the report, I've already posted a patch [0] and will push that
shortly.

--
Daniel Gustafsson

[0] https://postgr.es/m/68638ACC-3556-429E-93A0-189F73D0E274@yesql.se



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