Re: is_superuser is not documented

Поиск
Список
Период
Сортировка
От Joseph Koshakow
Тема Re: is_superuser is not documented
Дата
Msg-id CAAvxfHcxH-hLndty6CRThGXL1hLsgCn+E3QuG_4Qi7GxrHmgKg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: is_superuser is not documented  (Fujii Masao <masao.fujii@oss.nttdata.com>)
Ответы Re: is_superuser is not documented  (Fujii Masao <masao.fujii@oss.nttdata.com>)
Список pgsql-hackers
I think I may have discovered a reason why is_superuser is
intentionally undocumented. is_superuser is not updated if a role's
superuser attribute is changed by another session. Therefore,
is_superuser may show you an incorrect stale value.

Perhaps this can be fixed with a show_hook? Otherwise it's probably
best not to document a GUC that can show an incorrect value.

- Joe Koshakow

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

Предыдущее
От: "Daniel Verite"
Дата:
Сообщение: Re: pg_collation.collversion for C.UTF-8
Следующее
От: "Joel Jacobson"
Дата:
Сообщение: Re: Do we want a hashset type?