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
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-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

Browse pgsql-bugs by date

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

Browse pgsql-hackers-win32 by date

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