pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Robert Haas <rhaas@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add pg_shmem_allocations view.
Date: Thu, 09 Jan 2020 16:13:38 +0000
Message-ID: <E1ipaRG-0001s8-5w@gemulon.postgresql.org> (raw)

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/ed10f32e37e9a16814c25e400d7826745ae3c797

Modified Files
--------------
doc/src/sgml/catalogs.sgml           |  85 ++++++++++++++++++++++++++++
doc/src/sgml/xfunc.sgml              |   2 +-
src/backend/catalog/system_views.sql |   6 ++
src/backend/storage/ipc/shmem.c      | 106 ++++++++++++++++++++++++++++++++++-
src/include/catalog/pg_proc.dat      |   9 +++
src/include/storage/shmem.h          |   3 +-
src/test/regress/expected/rules.out  |   5 ++
7 files changed, 212 insertions(+), 4 deletions(-)



view thread (3+ messages)  latest in thread

Message-ID: <E1ipaRG-0001s8-5w@gemulon.postgresql.org>
Permalink:  ../E1ipaRG-0001s8-5w@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1ipaRG-0001s8-5w@gemulon.postgresql.org

 · 

reply

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: rhaas@postgresql.org
  Subject: Re: pgsql: Add pg_shmem_allocations view.
  In-Reply-To: <E1ipaRG-0001s8-5w@gemulon.postgresql.org>
  References: <E1ipaRG-0001s8-5w@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