pg.ddx.io pgsql-general@postgresql.org mailing list archive
help / color / mirror / Atom feedReg: User creation script/List of privileges
2+ messages / 2 participants
[nested] [flat]
* Reg: User creation script/List of privileges
@ 2022-03-30 03:09 Sai Ch <chspk2020@gmail.com>
0 siblings, 1 reply; 2+ messages in thread
From: Sai Ch @ 2022-03-30 03:09 UTC (permalink / raw)
To: pgsql-general@lists.postgresql.org
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,
Sai.
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Reg: User creation script/List of privileges
@ 2022-03-30 16:19 Tomas Pospisek <tpo2@sourcepole.ch>
parent: Sai Ch <chspk2020@gmail.com>
0 siblings, 0 replies; 2+ messages in thread
From: Tomas Pospisek @ 2022-03-30 16:19 UTC (permalink / raw)
To: Sai Ch <chspk2020@gmail.com>; pgsql-general@lists.postgresql.org
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
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2022-03-30 16:19 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2022-03-30 03:09 Reg: User creation script/List of privileges Sai Ch <chspk2020@gmail.com>
2022-03-30 16:19 ` Tomas Pospisek <tpo2@sourcepole.ch>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox