This article is half-done without your Comment! *** Please share your thoughts via Comment ***
Guys, Can you believe that PostgreSQL store it’s postgres super user password into plain text.
Wow, If it is in plain text, it’s very easy to change.
The solution for the windows postgres user is , to change content of pgpass.conf file.
I read an official document of PostgreSQL and found postgres storing all passwords as a plain text into pgpass.conf.
Now time to search this file in our windows storage directory.
I found this file in :
C:\Document and Settings\..\Application Data\postgresql\pgpass.conf
- You can find your postgres super user password in this file.
- If you find blank file then please write your new password in this file and this password will work for postgres super user
Please note, this password is only for client side location after reset this you can connect your pgadmin tool.