Re: 8.0 Beta 1 // Environment Vars // .pgpass
От
Joerg Hessdoerfer
Тема
Re: 8.0 Beta 1 // Environment Vars // .pgpass
Дата
Msg-id
200408131457.26663.Joerg.Hessdoerfer@sea-gmbh.com
Ответ на
Список
Дерево обсуждения
Re: Win32 PostgreSQL 8.0 Beta 1 Installer available for download "Dave Page" <dpage@vale-housing.co.uk>
On Thursday 12 August 2004 06:25, Tom Lane wrote: > "efesar (the kay)" 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.hessdoerfer@sea-gmbh.com WWW: http://www.sea-gmbh.com
В списке pgsql-hackers-win32 по дате отправления