Re: Login script

From: SOzcn <selahattinozcnma(at)gmail(dot)com>
To: Krishna B <krishnasvkb(at)gmail(dot)com>
Cc: pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: Re: Login script
Date: 2023-12-21 20:23:49
Message-ID: CAJyV5AbQaMkN_GG5cmwq5c9W5xSd-iTCEJf1WL6Wmmr=yuv2jw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hello,

You can have the DDL from editors or in the psql. For users you can get the
information from pg_authit
select rolname,rolpassword from pg_authid where rolname='postgres';

Have a nice day!

Krishna B <krishnasvkb(at)gmail(dot)com>, 21 Ara 2023 Per, 22:42 tarihinde şunu
yazdı:

> Hi All,
>
> Do We have any script to recreate specific schema users before we start
> any schema refresh from prod to UAT ?
>
> I need to script out all logins with permissions and roles assigned to UAT
> before prod schema refresh…
>
> Thank you
> Kris k
>
>

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Wetmore, Matthew (CTR) 2023-12-21 20:35:52 Case sensitive grant statements in pg14?
Previous Message Tom Lane 2023-12-21 20:08:27 Re: Case sensitive grant statements in pg14?