"Neil Aggarwal" <neil(at)JAMMConsulting(dot)com> writes:
> With mysql, I can pass the password to the database in
> the command line call to the terminal client.
Really? That's an enormous security hole, because anyone running "ps"
on the system can see your password.
> Is there a way to do that with psql?
Consider using a ~/.pgpass file instead. Much safer.
regards, tom lane
In response to
pgsql-novice by date
|Next:||From: Neil Aggarwal||Date: 2007-02-15 01:55:24|
|Subject: Re: Pass password in scripts? |
|Previous:||From: Jan Danielsson||Date: 2007-02-15 01:31:31|
|Subject: Re: Pass password in scripts?|