Re: [BUGS] More SSL questions..

"Matthew T. O'Connor" <[email protected]>
Newsgroups gmane.comp.db.postgresql.devel.win32,gmane.comp.db.postgresql.bugs
Organization Terrie O'Connor Realtors
Message-ID <[email protected]>
Tom Lane wrote:

>I wrote:
>  
>
>>win32 hackers, anyone know why it's like this?
>>    
>>
>
>Looking through the code, it seems that it's because someone thought
>that breaking SSL would be easier than replacing the pqGetpwuid() calls
>that are used to find out the user's home directory.
>
>Does Windows even have a concept of home directory?  What would be a
>reasonable equivalent to ~/.postgresql/ ?
>

The versions of windows that the port supports (NT4, 2000, 2003, XP) do 
have home directories.  The "Documents and Settings" (except NT 4 which 
uses "Profiles") directory in windows is like /home in Unix.  Using my 
XP Pro box, I see two relevant environment variables HOMEDRIVE, and 
HOMEPATH.  On my box they are set as follows:
HOMEDRIVE=C:
HOMEPATH=\Documents and Settings\matthew
So:  ~/.postgresql/   =   C:\Documents and Settings\matthew\.postgresql\

Hope that helps.

Matthew


---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
      joining column's datatypes do not match
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.