Re: Reg: User creation script/List of privileges

Поиск
Список
Период
Сортировка
От Tomas Pospisek
Тема Re: Reg: User creation script/List of privileges
Дата
Msg-id 3cd1d627-bfe4-9112-0327-2549909f750f@sourcepole.ch
обсуждение исходный текст
Ответ на Reg: User creation script/List of privileges  (Sai Ch <chspk2020@gmail.com>)
Список pgsql-general
On 30.03.22 05:09, Sai Ch wrote:
> Hi Experts,
> 
> I am looking for a query or possibility to generate all the privileges a 
> user/role has.
> 
> I need this to create a user/role from one database to another with 
> exact same privileges.
> 
> Kindly, share the query or way to proceed further.
> 
> Thanks & Regards,

Maybe have a look at 
https://github.com/tpo/little_shell_scripts/blob/master/psql_access_priv_decoder



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

Предыдущее
От: "Peter J. Holzer"
Дата:
Сообщение: Re: psql -f and PAGER
Следующее
От: Christoph Berg
Дата:
Сообщение: PostgreSQL on focal and llvm version