From: | John R Pierce <pierce(at)hogranch(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Andrew Dunstan <andrew(at)dunslane(dot)net>, "Matthew T(dot) O'Connor" <matthew(at)zeut(dot)net>, "T(dot)J(dot)" <tjtoocool(at)phreaker(dot)net>, pgsql-bugs(at)postgresql(dot)org, pgsql-hackers-win32(at)postgresql(dot)org |
Subject: | Re: [pgsql-hackers-win32] More SSL questions.. |
Date: | 2005-01-05 00:04:12 |
Message-ID: | 41DB2EFC.6050902@hogranch.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs pgsql-hackers-win32 |
Tom Lane wrote:
> Andrew Dunstan <andrew(at)dunslane(dot)net> writes:
>
>>I think CSIDL_APPDDATA is probably the way to go, but one of the heavy
>>Windows hitters will know better than I do.
>
>
> Now that I look at it, there are several places that are depending on
> getenv("HOME") or getenv("USERPROFILE") (on Windows) as the meaning of
> "home directory". In particular ~/.pgpass is sought there, and psql
> also uses get_home_path in a lot of places.
>
> Seems like we should be consistent about this --- either we trust $HOME
> or we don't.
more fun. I just checked the environment of the postmaster service on a
win2000 Pro system (using www.sysinternals.com's excellent Process Explorer
tool, btw). HOME is not set. USERPROFILE is set to "C:\Documents and
Settings\postgres"...
For services that are running as 'NT AUTHORITY\SYSTEM', the profile is
"C:\Documents and Settings\Default User" (and the USERDOMAIN and USERNAME
aren't set at all)...
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2005-01-05 00:12:32 | Re: [pgsql-hackers-win32] More SSL questions.. |
Previous Message | Tom Lane | 2005-01-04 23:25:40 | Re: [pgsql-hackers-win32] More SSL questions.. |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2005-01-05 00:12:32 | Re: [pgsql-hackers-win32] More SSL questions.. |
Previous Message | Tom Lane | 2005-01-04 23:25:40 | Re: [pgsql-hackers-win32] More SSL questions.. |