Skip site navigation (1) Skip section navigation (2)

Re: PGPASSWORD

From: Oliver Jowett <oliver(at)opencloud(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: postgresbugs <postgresbugs(at)grifent(dot)com>,pgsql-bugs(at)postgresql(dot)org
Subject: Re: PGPASSWORD
Date: 2005-02-25 20:44:26
Message-ID: 421F8E2A.1020704@opencloud.com (view raw or flat)
Thread:
Lists: pgsql-bugs
Tom Lane wrote:
> Oliver Jowett <oliver(at)opencloud(dot)com> writes:
> 
>>Assuming that you can't tweak .pgpass (for example, you're just 
>>propagating a password you interactively got from the user), what's the 
>>recommended way to provide the password?
> 
> 
> In the connection string given to PQconnectdb (or equivalent).

If you're a shell script calling psql / pg_dump / etc, how do you do this?

-O

In response to

Responses

pgsql-bugs by date

Next:From: Tom LaneDate: 2005-02-25 21:09:13
Subject: Re: PGPASSWORD
Previous:From: Tom LaneDate: 2005-02-25 20:39:11
Subject: Re: PGPASSWORD

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group