On Fri, May 30, 2003 at 16:33:55 +0400,
Nick Altmann <nick(at)luchshe(dot)net(dot)ru> wrote:
> Hello!
>
> I think it's not bug, but difficulty.
>
> I cannot use trusted connections for my localhost. I use password. But psql, pg_dump, pg_restore doesn't support password parameter in command line. Also, i cannot do nightly backup if I don't use trusted connections. Cannot you add password command line parameter in psql and others?
You can put passwords in a file. Putting them on the command line is a bad
idea anyway as the command line is visible to other users on many systems.
However you are probably better off using ident authentication.