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

Aleksander Alekseev <aleksander@timescale.com>

From: Aleksander Alekseev <aleksander@timescale.com>
To: pgsql-committers@lists.postgresql.org
Cc: Laurenz Albe <laurenz.albe@cybertec.at>, Daniel Gustafsson <dgustafsson@postgresql.org>
Date: 2025-04-10T11:48:11Z
Lists: pgsql-hackers
Hi,

> Now one can take the position that PostGIS as dependent library hs to
> adapt, but I think "area" is too generic a name.  Could you envision
> renaming the global variable to something like "shm_area"?
>
> Attached is a patch for this change.
> I am not wedded to the name at all, it was just the first thing that
> popped into my head.

I agree that the name is too generic for an exported symbol.

-- 
Best regards,
Aleksander Alekseev



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