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>, Marti Raudsepp <marti@juffo.org>,
"pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2014-08-18T16:33:44Z
Lists: pgsql-hackers
Andres Freund <andres@2ndquadrant.com> writes: > On 2014-08-18 12:27:12 -0400, Tom Lane wrote: >> Should we consider putting it into an extension rather than having >> it in the core system? That would offer some additional protection >> for production systems, which really shouldn't have much need for >> this IMO. > I'd considered that somewhere upthread and decided that it'd require > exposing to much internals from shmem.c/dsm.c without a corresponding > benefit. Well, we could have the implementation code in those modules but not provide any SQL-level access to it without installing an extension. The only extra thing visible in the .h files would be a function or two. regards, tom lane
Commits
-
Add pg_shmem_allocations view.
- ed10f32e37e9 13.0 landed