Describe the bug
Multiple error shows if user does not have connect privileges.
To Reproduce
Steps to reproduce the behavior:
- For any database run below commands with user postgres-
GRANT TEMPORARY ON DATABASE b TO PUBLIC;
GRANT TEMPORARY ON DATABASE b TO postgres;
- Now connect to the server with another user and try to connect above database.
- User gets below error.
Expected behavior
Only single error should be shown.