Re: 8.0 Beta 1 // Environment Vars // .pgpass

From: Joerg Hessdoerfer <Joerg(dot)Hessdoerfer(at)sea-gmbh(dot)com>
To: pgsql-hackers-win32(at)postgresql(dot)org
Subject: Re: 8.0 Beta 1 // Environment Vars // .pgpass
Date: 2004-08-13 12:57:26
Message-ID: 200408131457.26663.Joerg.Hessdoerfer@sea-gmbh.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers-win32 pgsql-patches

On Thursday 12 August 2004 06:25, Tom Lane wrote:
> "efesar (the kay)" <efesar(at)unm(dot)edu> writes:
> > The 8.0 version does not acknowledge env vars like PGPASSWORD and seems
> > to ignore the contents of the .pgpass file.
>
> Hmmm. Those are probably the same problem, since finding .pgpass
> depends on expanding the $HOME env var. But I have no idea why
> env vars aren't working for you ...
>
> regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 8: explain analyze is your friend

Yep. AFAIK, $HOME doesn't always exist in WIN32, but $HOMEDRIVE and $HOMEPATH
(or %HOMEPATH% and %HOMEDRIVE% ;-) do. Perhaps PG needs to do some munging to
build the home path from those two?

Greetings,
Joerg
--
Leading SW developer - S.E.A GmbH
Mail: joerg(dot)hessdoerfer(at)sea-gmbh(dot)com
WWW: http://www.sea-gmbh.com

In response to

Responses

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Andrew Dunstan 2004-08-13 13:20:30 Re: 8.0 Beta 1 // Environment Vars // .pgpass
Previous Message Andreas Pflug 2004-08-13 10:46:57 Re: [GENERAL] error moving table to tablespace

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2004-08-13 13:17:37 Re: [BUGS] 8.0.0beta1: -lpthread missing
Previous Message Andrew Dunstan 2004-08-13 12:44:14 Re: [Fwd: Re: [pgsql-hackers-win32] Import from Linux to Windows]