PGPASSWORD and client tools - Mailing list pgsql-hackers

From Andreas Pflug
Subject PGPASSWORD and client tools
Date
Msg-id 4123BF8C.5000909@pse-consulting.de
Whole thread Raw
Responses Re: PGPASSWORD and client tools  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
Re: PGPASSWORD and client tools  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
List pgsql-hackers
While fixing the gui for pg_dump and pg_restore, I painfully noticed 
there's no option for the password.
After some tests, I found that using the PGPASSWORD environment variable 
will do the job. I'm a bit irritated that it's marked "deprecated" in 
the docs, the .pgpass solution isn't a good one for tool managed passwords.
Hopefully PGPASSWORD won't vanish until there's another solution to 
execute pgsql client tools...


Regards,
Andreas


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: gcc: unrecognized option `-pthreads'
Next
From: "Simon Riggs"
Date:
Subject: Re: NOT LOGGED options (was Point in Time Recovery )