Re: pg_shmem_allocations view - Mailing list pgsql-hackers

From Tom Lane
Subject Re: pg_shmem_allocations view
Date
Msg-id 4523.1408379624@sss.pgh.pa.us
Whole thread Raw
In response to Re: pg_shmem_allocations view  (Andres Freund <andres@2ndquadrant.com>)
Responses Re: pg_shmem_allocations view
List 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



pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: [PATCH] Incremental backup: add backup profile to base backup
Next
From: Andres Freund
Date:
Subject: Re: pg_shmem_allocations view