Re: Forgotten the master password of db - Mailing list pgsql-novice

From Tom Lane
Subject Re: Forgotten the master password of db
Date
Msg-id 29656.1021826759@sss.pgh.pa.us
Whole thread Raw
In response to Forgotten the master password of db  (thiemo <thiemo@gmx.ch>)
Responses Re: Forgotten the master password of db  (thiemo <thiemo@gmx.ch>)
List pgsql-novice
thiemo <thiemo@gmx.ch> writes:
> unfortunately I have forgotten the mpassword of the master user of a db.
> Is there a way to retrieve it using the user who owns the db template1?

No, but you can temporarily set the authorization policy (pg_hba.conf)
to something other than password; log in as the superuser without any
password; assign yourself a new password.

            regards, tom lane

pgsql-novice by date:

Previous
From: April L
Date:
Subject: Is a randomized default value primary key possible?
Next
From: thiemo
Date:
Subject: Re: Forgotten the master password of db