Pass password in scripts?

From: "Neil Aggarwal" <neil(at)JAMMConsulting(dot)com>
To: <pgsql-novice(at)postgresql(dot)org>
Subject: Pass password in scripts?
Date: 2007-02-15 00:15:31
Message-ID: 000001c75096$68193f30$0501a8c0@neilhp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Hello:

I have several scripts I would like to run against a database.

With mysql, I can pass the password to the database in
the command line call to the terminal client.

Is there a way to do that with psql?

There is no corresponding user account for
the database user account.

Thanks,
Neil

--
Neil Aggarwal, (214)986-3533, www.JAMMConsulting.com
FREE! Eliminate junk email and reclaim your inbox.
Visit http://www.spammilter.com for details.

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Burak Seydioglu 2007-02-15 01:28:30 Re: Pass password in scripts?
Previous Message Andrej Ricnik-Bay 2007-02-14 17:35:12 Re: install on ubuntu