Re: [HACKERS] Ignore tablespace ACLs when ignoring schema ACLs

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] Ignore tablespace ACLs when ignoring schema ACLs
Дата
Msg-id 15798.1486320489@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] Ignore tablespace ACLs when ignoring schema ACLs  (Noah Misch <noah@leadboat.com>)
Ответы Re: [HACKERS] Ignore tablespace ACLs when ignoring schema ACLs  (Noah Misch <noah@leadboat.com>)
Список pgsql-hackers
Noah Misch <noah@leadboat.com> writes:
> On Sun, Feb 05, 2017 at 12:46:41PM -0500, Tom Lane wrote:
>> Is there any likely use-case for providing separate control flags for the
>> two permission checks?  That would require an API change for DefineIndex,
>> making this considerably more invasive, so I'm not pushing for it ---
>> just think it's worth asking the question before proceeding.

> Good question.  I can't think of one.

Yeah, after some reflection I agree.  Basically what we want for the ALTER
TABLE scenario is "ignore *all* permissions checks"; if somebody adds some
other check here in future, it probably also ought to be skipped during
a rebuild.  So a single bool ought to be fine.

Are you intending to back-patch this?  It seems like a bug fix --- but not
a very high-priority one, so at this point maybe it should wait till after
the release wraps.
        regards, tom lane



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

Предыдущее
От: Noah Misch
Дата:
Сообщение: Re: [HACKERS] Ignore tablespace ACLs when ignoring schema ACLs
Следующее
От: Noah Misch
Дата:
Сообщение: Re: [HACKERS] Ignore tablespace ACLs when ignoring schema ACLs