From: David Rowley <drowley@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add context type field to pg_backend_memory_contexts
Date: Mon, 01 Jul 2024 09:19:18 +0000
Message-ID: <E1sODBt-003m8B-IU@gemulon.postgresql.org> (raw)
Add context type field to pg_backend_memory_contexts
Since we now (as of v17) have 4 MemoryContext types, the type of context
seems like useful information to include in the pg_backend_memory_contexts
view. Here we add that.
Reviewed-by: David Christensen, Michael Paquier
Discussion: https://postgr.es/m/CAApHDvrXX1OR09Zjb5TnB0AwCKze9exZN%3D9Nxxg1ZCVV8W-3BA%40mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/12227a1d5f8ecad296c4204cc924d33c6a6bcd34
Modified Files
--------------
doc/src/sgml/system-views.sgml | 9 +++++++++
src/backend/utils/adt/mcxtfuncs.c | 35 +++++++++++++++++++++++++++-------
src/include/catalog/catversion.h | 2 +-
src/include/catalog/pg_proc.dat | 6 +++---
src/test/regress/expected/rules.out | 3 ++-
src/test/regress/expected/sysviews.out | 16 ++++++++--------
src/test/regress/sql/sysviews.sql | 4 ++--
7 files changed, 53 insertions(+), 22 deletions(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-committers@postgresql.org
Cc: drowley@postgresql.org, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Add context type field to pg_backend_memory_contexts
In-Reply-To: <E1sODBt-003m8B-IU@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox