Re: Change Ownership Permission Checks

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Change Ownership Permission Checks
Дата
Msg-id 18344.1121456701@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Change Ownership Permission Checks  (Stephen Frost <sfrost@snowman.net>)
Список pgsql-patches
Stephen Frost <sfrost@snowman.net> writes:
> When writing this patch it occurred to me that we nuke our
> member-of-role cache for one-off lookups on occation.  I don't
> particularly like that, especially when we *know* it's a one-off lookup,

Yeah.  What I had been thinking about is that maybe it shouldn't be just
a one-element cache.  At the moment though we have no performance data
to justify complicating matters (heck, not even any to prove we need a
cache at all...)  It'd be smart to try to profile some realistic cases
before spending any time coding.

            regards, tom lane

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

Предыдущее
От: Stephen Frost
Дата:
Сообщение: Re: Change Ownership Permission Checks
Следующее
От: Marko Kreen
Дата:
Сообщение: [patch 1/3] small cleanups