Re: Grant all privileges to user on a database
| От | Ron |
|---|---|
| Тема | Re: Grant all privileges to user on a database |
| Дата | |
| Msg-id | 85b5b466-1efd-fb89-8686-08e5df88a00b@gmail.com обсуждение исходный текст |
| Ответ на | Grant all privileges to user on a database (Kaushal Shriyan <kaushalshriyan@gmail.com>) |
| Ответы |
Re: Grant all privileges to user on a database
|
| Список | pgsql-general |
On 7/24/23 08:15, Kaushal Shriyan wrote:
> Hi,
>
> I am running postgresql15-server 15.3 on Red Hat Enterprise Linux
> release 8.7 (Ootpa)
>
> # rpm -qa | grep -i post
> postgresql15-server-15.3-2PGDG.rhel8.x86_64
> postgresql15-libs-15.3-2PGDG.rhel8.x86_64
> postgresql15-15.3-2PGDG.rhel8.x86_64
> #
>
> $psql
> psql (15.3)
> Type "help" for help.
>
> postgres=# GRANT ALL PRIVILEGES ON DATABASE cbdevdb TO cbdevdbadmin;
> postgres=# \du
> List of roles
> Role name | Attributes
> | Member of
> --------------+------------------------------------------------------------+-----------
> cbdevdbadmin | | {}
> postgres | Superuser, Create role, Create DB, Replication, Bypass RLS | {}
>
> postgres=#
>
> Am I missing something? Please suggest. Thanks in advance.
No, you aren't. Role attributes are not the same as table privileges.
--
Born in Arizona, moved to Babylonia.
В списке pgsql-general по дате отправления: