Where are the username and password stored in postgresql? I'm using the PostgreSQL database. In it I create users. So I want to know


Where are the User name and Password stored? 
Whether the Password is stored as plain text or encrypted data? 
Whether root user is able to read the password or not?
In pg_authid
By default encrypted, see here
no, not possible (if encrypted)