Re: pg_shmem_allocations view

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@2ndquadrant.com>
Cc: Robert Haas <robertmhaas@gmail.com>, "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2014-05-06T18:34:36Z
Lists: pgsql-hackers
Andres Freund <andres@2ndquadrant.com> writes:
> Attached are two patches:
> a) Patch addin a 'name' parameter to dsm_create(). I think we should
>    apply this to 9.4.
> b) pg_dynamic_shmem_allocations and pg_static_shmem_allocations
>    views. The previous version didn't include dsm support and didn't
>    take the required lock.

> I am not so sure whether b) should be applied together with a) in 9.4,
> but I'd be happy enough to add docs if people agree with the naming.

FWIW, I vote for fixing (a) now but holding (b) for 9.5.

			regards, tom lane


Commits

  1. Add pg_shmem_allocations view.