Skip site navigation (1) Skip section navigation (2)

Re: More SSL questions..

From: "Matthew T(dot) O'Connor" <matthew(at)zeut(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "T(dot)J(dot)" <tjtoocool(at)phreaker(dot)net>, pgsql-bugs(at)postgresql(dot)org,pgsql-hackers-win32(at)postgresql(dot)org
Subject: Re: More SSL questions..
Date: 2005-01-04 22:02:47
Message-ID: 41DB1287.6010807@zeut.net (view raw or flat)
Thread:
Lists: pgsql-bugspgsql-hackers-win32
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


In response to

Responses

pgsql-bugs by date

Next:From: Joshua D. DrakeDate: 2005-01-04 22:06:03
Subject: Re: [pgsql-hackers-win32] More SSL questions..
Previous:From: Tom LaneDate: 2005-01-04 21:57:18
Subject: Re: pg_dump --oids fails when default_with_oids = off

pgsql-hackers-win32 by date

Next:From: Joshua D. DrakeDate: 2005-01-04 22:06:03
Subject: Re: [pgsql-hackers-win32] More SSL questions..
Previous:From: Tom LaneDate: 2005-01-04 21:48:56
Subject: Re: More SSL questions..

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group