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

Joerg Hessdoerfer <[email protected]>
Newsgroups gmane.comp.db.postgresql.devel.win32
Organization S.E.A Datentechnik GmbH
Message-ID <[email protected]>
On Thursday 12 August 2004 06:25, Tom Lane wrote:
> "efesar (the kay)" <[email protected]> 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: [email protected]
WWW:  http://www.sea-gmbh.com

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.