Re: how to list privileges on the database object itself via SQL?

Поиск
Список
Период
Сортировка
От Holger Jakobs
Тема Re: how to list privileges on the database object itself via SQL?
Дата
Msg-id fd81361e-fa84-1d75-d944-1c590de0e424@jakobs.com
обсуждение исходный текст
Ответ на how to list privileges on the database object itself via SQL?  (richard coleman <rcoleman.ascentgl@gmail.com>)
Ответы Re: how to list privileges on the database object itself via SQL?  (Erik Wienhold <ewie@ewie.name>)
Re: how to list privileges on the database object itself via SQL?  (richard coleman <rcoleman.ascentgl@gmail.com>)
Список pgsql-admin
Am 26.04.23 um 19:53 schrieb richard coleman:
Erik, 

Thanks for that.  I'll have to look into the aclexplode() function some more.

When I try running your SQL on a pg11 database I get:

ERROR:  role "role" does not exist
LINE 3:         WHERE grantee = 'role'::regrole AND privilege_type I...
                                ^
SQL state: 42704
Character: 151

rik.

If you want to use the SQL statements used by psql on older versions of PostgreSQL, you should use the old version of psql.


-- 
Holger Jakobs, Bergisch Gladbach, Tel. +49-178-9759012
Вложения

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

Предыдущее
От: richard coleman
Дата:
Сообщение: Re: Am I being blacklisted?
Следующее
От: richard coleman
Дата:
Сообщение: Re: how to list privileges on the database object itself via SQL?