Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> But if you have different passwords between databases then you are still
> having the same problem, only at a different scale.
... which we do not have, at the moment; there's one password per user
per installation, and since psql's \connect doesn't allow reconnection
to a different postmaster (does it?) the same password should still work.
Unless it's been changed meanwhile, I suppose.
In any case, isn't psql's logic such that it will prompt again if the
previous password doesn't work? I'd hate to think I only get one try to
enter my password correctly...
regards, tom lane