Author | Message |
---|---|
ummata
Posts: 68
|
Posted 20:34 Nov 19, 2012 |
I just noticed that when I have a problem using psql.
However I can use pgAdmin, but I just curios about this. It might be a configuration problem. |
cysun
Posts: 2935
|
Posted 21:09 Nov 19, 2012 |
Peer authentication use the username of your account as the username of the database user. Since you are not logged in as user cs520, peer authentication will fail. pgAdmin probably uses password/md5 authentication. You can try the -W option with psql to enter the password. |