Add context type field to pg_backend_memory_contexts
David Rowley <drowley@postgresql.org>
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
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/system-views.sgml | modified | +9 −0 |
| src/backend/utils/adt/mcxtfuncs.c | modified | +28 −7 |
| src/include/catalog/catversion.h | modified | +1 −1 |
| src/include/catalog/pg_proc.dat | modified | +3 −3 |
| src/test/regress/expected/rules.out | modified | +2 −1 |
| src/test/regress/expected/sysviews.out | modified | +8 −8 |
| src/test/regress/sql/sysviews.sql | modified | +2 −2 |
Documentation touched
Discussion
- Add memory context type to pg_backend_memory_contexts view 7 messages · 2024-04-16 → 2024-07-01