Re: BUG #18387: Erroneous permission checks and/or misleading error messages with refresh materialized view

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #18387: Erroneous permission checks and/or misleading error messages with refresh materialized view
Дата
Msg-id 1669466.1710252494@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #18387: Erroneous permission checks and/or misleading error messages with refresh materialized view  (Laurenz Albe <laurenz.albe@cybertec.at>)
Список pgsql-bugs
Laurenz Albe <laurenz.albe@cybertec.at> writes:
> On Tue, 2024-03-12 at 01:02 +0200, Heikki Linnakangas wrote:
>> I guess we need to allow creating such internal temporary tables, 
>> despite the missing permission. That'll need some careful analysis to 
>> make sure we don't accidentally allow creating other temporary tables...

> Wouldn't it be sufficient to document that fact, perhaps add an
> error hint and require the MV owner to have TEMP on the database?

+1.  I don't see a need for this to be a low-permissions feature.

            regards, tom lane



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

Предыдущее
От: "Wetmore, Matthew (CTR)"
Дата:
Сообщение: BUG #18387: Erroneous permission checks and/or misleading error messages with refresh materialized view
Следующее
От: ocean_li_996
Дата:
Сообщение: Re:RE: Re:RE: Re:RE: Re:BUG #18369: logical decoding core on AssertTXNLsnOrder()