Re: More SSL questions..

Поиск
Список
Период
Сортировка
От Matthew T. O'Connor
Тема Re: More SSL questions..
Дата
Msg-id 41DB1287.6010807@zeut.net
обсуждение исходный текст
Ответ на Re: More SSL questions..  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: More SSL questions..  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
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


В списке pgsql-bugs по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pg_dump --oids fails when default_with_oids = off
Следующее
От: Tom Lane
Дата:
Сообщение: Re: More SSL questions..