Re: [PATCH] Store Extension Options

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: [PATCH] Store Extension Options
Дата
Msg-id 20140313143839.GJ8268@awork2.anarazel.de
обсуждение исходный текст
Ответ на Re: [PATCH] Store Extension Options  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [PATCH] Store Extension Options  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On 2014-03-13 10:26:11 -0400, Tom Lane wrote:
> [ forgot to respond to this part ]
> 
> Andres Freund <andres@2ndquadrant.com> writes:
> > They currently don't seem to create invalidations on the objects they
> > are set upon, maybe we should change that?
> 
> No, because relcache doesn't store security labels to start with.
> There's a separate catalog cache for security labels, I believe,
> and invalidating entries in that ought to be sufficient.

There doesn't seem to be any form of system managed cache for security
labels afaics. Every lookup does a index scan. I currently don't see how
I could build a cache in userland that'd invalidate if either a) the
underlying object changes b) the label changes.

I don't have a better idea than triggering invalidations on the
respective underlying object. If you have one...

Greetings,

Andres Freund

-- Andres Freund                       http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training &
Services



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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: [PATCH] Store Extension Options
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: [PATCH] Store Extension Options