pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Add pg_shmem_allocations view.
3+ messages / 3 participants
[nested] [flat]

* pgsql: Add pg_shmem_allocations view.
@ 2020-01-09 16:13  Robert Haas <rhaas@postgresql.org>
  0 siblings, 1 reply; 3+ messages in thread

From: Robert Haas @ 2020-01-09 16:13 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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(-)



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: pgsql: Add pg_shmem_allocations view.
@ 2020-01-09 16:59  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Robert Haas <rhaas@postgresql.org>
  0 siblings, 1 reply; 3+ messages in thread

From: Tom Lane @ 2020-01-09 16:59 UTC (permalink / raw)
  To: Robert Haas <rhaas@postgresql.org>; +Cc: pgsql-committers@lists.postgresql.org

Robert Haas <rhaas@postgresql.org> writes:
> Add pg_shmem_allocations view.

This should have included a catversion bump.  It's moot now because
I just pushed another change that had one, but ...

			regards, tom lane





^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: pgsql: Add pg_shmem_allocations view.
@ 2020-01-09 17:04  Robert Haas <robertmhaas@gmail.com>
  parent: Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 3+ messages in thread

From: Robert Haas @ 2020-01-09 17:04 UTC (permalink / raw)
  To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: pgsql-committers <pgsql-committers@lists.postgresql.org>

On Thu, Jan 9, 2020 at 11:59 AM Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Robert Haas <rhaas@postgresql.org> writes:
> > Add pg_shmem_allocations view.
>
> This should have included a catversion bump.  It's moot now because
> I just pushed another change that had one, but ...

Ah, darn. Sorry.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company





^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2020-01-09 17:04 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2020-01-09 16:13 pgsql: Add pg_shmem_allocations view. Robert Haas <rhaas@postgresql.org>
2020-01-09 16:59 ` Tom Lane <tgl@sss.pgh.pa.us>
2020-01-09 17:04   ` Robert Haas <robertmhaas@gmail.com>

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