Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have enabled automatic login in pgAdmin and would like to disable it to make it possible to connect to the servers using different roles.

How do I do this?

share|improve this question

The root nodes in the "Object browser" are actually connections, not servers. And a connection requires a user name. There is a bit of mis-labelling floating around, I have raised this issue on the developer mailing list before.

However, you can just edit the properties of a connection before you open it. If you don't want to store your password for automatic login, don't check the box at login time. Once you change the username in the properties you have to enter a new password automatically.

You can also save multiple connections to the same server with different usernames.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.