Re: Publish autovacuum informations

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Publish autovacuum informations
Дата
Msg-id 7087.1419869024@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Publish autovacuum informations  (Guillaume Lelarge <guillaume@lelarge.info>)
Ответы Re: Publish autovacuum informations
Re: Publish autovacuum informations
Список pgsql-hackers
Guillaume Lelarge <guillaume@lelarge.info> writes:
> All in all, I want to get informations that are typically stored in shared
> memory, handled by the autovacuum launcher and autovacuum workers. I first
> thought I could get that by writing some C functions embedded in an
> extension. But it doesn't seem to me I can access this part of the shared
> memory from a C function. If I'm wrong, I'd love to get a pointer on how to
> do this.

> Otherwise, I wonder what would be more welcome: making the shared memory
> structs handles available outside of the autovacuum processes (and then
> build an extension to decode the informations I need), or adding functions
> in core to get access to this information (in that case, no need for an
> extension)?

Either one of those approaches would cripple our freedom to change those
data structures; which we've done repeatedly in the past and will surely
want to do again.  So I'm pretty much -1 on exposing them.
        regards, tom lane



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Guillaume Lelarge
Дата:
Сообщение: Publish autovacuum informations
Следующее
От: Guillaume Lelarge
Дата:
Сообщение: Re: Publish autovacuum informations