Re: improving user.c error messages

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: improving user.c error messages
Дата
Msg-id CA+TgmoZvrsrpp=c2x=6HBHxOoXcu4TyQ6JnMkcGVrCHAn+V=8w@mail.gmail.com
обсуждение исходный текст
Ответ на Re: improving user.c error messages  (Nathan Bossart <nathandbossart@gmail.com>)
Список pgsql-hackers
On Fri, Jan 27, 2023 at 10:52 AM Nathan Bossart
<nathandbossart@gmail.com> wrote:
> IMHO superuser should typically only be mentioned when it is the only way
> to do something.  Since superusers have all privileges, I think logs like
> "superuser or privileges of X" are kind of redundant.  If Robert has
> privileges of X, we wouldn't say "privileges of X or Robert."  We'd just
> point to X.  Ultimately, I feel like mentioning superuser in error messages
> usually just makes the message longer without adding any useful
> information.

That's kind of my opinion too, but I'm not sure whether there are
cases where it will lead to confusion.

-- 
Robert Haas
EDB: http://www.enterprisedb.com



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Set arbitrary GUC options during initdb
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: Set arbitrary GUC options during initdb