Adrian Klaver <adrian.klaver@gmail.com> writes:
> I would tend to go with Raymond, are you sure about the user you are
> connecting as?
That's my thought as well.
> It would be helpful to tail the Postgres log and see what the connection
> info is.
Note you will need to turn on "log_connections" to have the relevant
info logged. If the program with the problem keeps a persistent
connection, you could also look into pg_stat_activity.
regards, tom lane