Re: supplying password to psql on command line?

From: Andrew Sullivan <andrew(at)libertyrms(dot)info>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: supplying password to psql on command line?
Date: 2002-10-28 13:24:51
Message-ID: 20021028082451.C15729@mail.libertyrms.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Oct 24, 2002 at 10:59:10AM -0400, Stan Letovsky wrote:
> Is this possible? The documentation is silent in this point. SYBASE
> isql allows this by flag or environment variable.

Try the environment variable PGPASSWORD.

A

--
----
Andrew Sullivan 204-4141 Yonge Street
Liberty RMS Toronto, Ontario Canada
<andrew(at)libertyrms(dot)info> M2P 2A8
+1 416 646 3304 x110

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Alex Sandini 2002-10-28 13:30:33 use of PQconnectdb and PQfinish in a shared library
Previous Message Martijn van Oosterhout 2002-10-28 13:19:40 Re: Turning the PLANNER off