Re: PGPASSWORD and client tools - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: PGPASSWORD and client tools
Date
Msg-id 1221.24.211.141.25.1092914489.squirrel@www.dunslane.net
Whole thread Raw
In response to Re: PGPASSWORD and client tools  ("Magnus Hagander" <mha@sollentuna.net>)
List pgsql-hackers
Magnus Hagander said:
>>>>How about an environment variable that points to a .pgpass type file.

>>
>>So let's go woth PGPASSFILE
>
> How about --pwfile on the commandline, the same way initdb does it?
>

Then you can't make it part of libpq - you would have to build it into every
program that needs it.

cheers

andrew




pgsql-hackers by date:

Previous
From: Oliver Elphick
Date:
Subject: Re: Does psql use nested transactions?
Next
From: ohp@pyrenet.fr
Date:
Subject: PITR question