Re: PGPASSWORD - Mailing list pgsql-bugs

From Oliver Jowett
Subject Re: PGPASSWORD
Date
Msg-id 421F8E2A.1020704@opencloud.com
Whole thread Raw
In response to Re: PGPASSWORD  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: PGPASSWORD
Re: PGPASSWORD
List pgsql-bugs
Tom Lane wrote:
> Oliver Jowett <oliver@opencloud.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

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: PGPASSWORD
Next
From: Tom Lane
Date:
Subject: Re: PGPASSWORD