Re: is_superuser is not documented
От | Euler Taveira |
---|---|
Тема | Re: is_superuser is not documented |
Дата | |
Msg-id | 190e2a49-5736-4f68-a3ed-e592e263ace6@www.fastmail.com обсуждение исходный текст |
Ответ на | is_superuser is not documented (bt22kawamotok <bt22kawamotok@oss.nttdata.com>) |
Ответы |
Re: is_superuser is not documented
|
Список | pgsql-hackers |
On Fri, Sep 9, 2022, at 2:28 AM, bt22kawamotok wrote:
is_superuser function checks whether a user is a superuser or not, andis commonly used. However, is_superuser is not documented and is set toUNGROUPED in guc.c. I think is_superuser should be added to thedocumentation and set to PRESET OPTIONS.What are you thought on this?
There is no such function. Are you referring to the GUC? I agree that it should
be added to the documentation. The main reason is that it is reported by
ParameterStatus along with some other GUCs described in the Preset Options
section.
postgres=# \dfS is_superuser
List of functions
Schema | Name | Result data type | Argument data types | Type
--------+------+------------------+---------------------+------
(0 rows)
postgres=# SHOW is_superuser;
is_superuser
--------------
on
(1 row)
Do you mind writing a patch?
В списке pgsql-hackers по дате отправления: