Add pg_shmem_allocations view.
authorRobert Haas <rhaas@postgresql.org>
Thu, 9 Jan 2020 15:59:07 +0000 (10:59 -0500)
committerRobert Haas <rhaas@postgresql.org>
Thu, 9 Jan 2020 15:59:07 +0000 (10:59 -0500)
commited10f32e37e9a16814c25e400d7826745ae3c797
treeee16979e46a05e2c6ffc03d92e20a9d8f9ac3732
parent5acf6d8bb4ec23349604c7c15111959e657ff294
Add pg_shmem_allocations view.

This tells you about allocations that have been made from the main
shared memory segment. The original patch also tried to show information
about dynamic shared memory allocation as well, but I decided to
leave that problem for another time.

Andres Freund and Robert Haas, reviewed by Michael Paquier, Marti
Raudsepp, Tom Lane, Álvaro Herrera, and Kyotaro Horiguchi.

Discussion: http://postgr.es/m/20140504114417.GM12715@awork2.anarazel.de
doc/src/sgml/catalogs.sgml
doc/src/sgml/xfunc.sgml
src/backend/catalog/system_views.sql
src/backend/storage/ipc/shmem.c
src/include/catalog/pg_proc.dat
src/include/storage/shmem.h
src/test/regress/expected/rules.out