PGPASSWORD and client tools

From: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>
To: Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: PGPASSWORD and client tools
Date: 2004-08-18 20:43:56
Message-ID: 4123BF8C.5000909@pse-consulting.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2004-08-18 21:28:12 Re: NOT LOGGED options (was Point in Time Recovery )
Previous Message Bruce Momjian 2004-08-18 19:28:39 Re: gcc: unrecognized option `-pthreads'

Browse pgsql-patches by date

  From Date Subject
Next Message Simon Riggs 2004-08-18 21:28:12 Re: NOT LOGGED options (was Point in Time Recovery )
Previous Message Bruce Momjian 2004-08-18 20:27:08 Re: Compiling libpq with VC6