Re: improve more permissions-related error messages

Поиск
Список
Период
Сортировка
От Nathan Bossart
Тема Re: improve more permissions-related error messages
Дата
Msg-id 20230512204618.GA2644690@nathanxps13.home
обсуждение исходный текст
Ответ на Re: improve more permissions-related error messages  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Fri, May 12, 2023 at 04:43:08PM -0400, Tom Lane wrote:
> Nathan Bossart <nathandbossart@gmail.com> writes:
>> While looking around for other such error messages, I found a few dozen
>> "must be superuser" errors that might be improved with the new style.  If
>> folks feel this is worthwhile, I'll put together a patch.
> 
> The new style is better for cases where we've broken out a predefined role
> that has the necessary privilege.  I'm not sure it's worth troubling
> with cases that are still just "must be superuser".  It seems like
> you'd mostly just be creating work for the translation team.

Makes sense, thanks.

-- 
Nathan Bossart
Amazon Web Services: https://aws.amazon.com



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: improve more permissions-related error messages
Следующее
От: Melanie Plageman
Дата:
Сообщение: Re: Memory leak from ExecutorState context?