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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-bugs by date

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