Re: PGPASSWORD - Mailing list pgsql-bugs

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

            regards, tom lane

pgsql-bugs by date:

Previous
From: Oliver Jowett
Date:
Subject: Re: PGPASSWORD
Next
From: Oliver Jowett
Date:
Subject: Re: PGPASSWORD