Re: pg_shmem_allocations view

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_shmem_allocations view
Дата
Msg-id 4523.1408379624@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pg_shmem_allocations view  (Andres Freund <andres@2ndquadrant.com>)
Ответы Re: pg_shmem_allocations view
Список 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 по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: [PATCH] Incremental backup: add backup profile to base backup
Следующее
От: Andres Freund
Дата:
Сообщение: Re: pg_shmem_allocations view