Re: [BUGS] More SSL questions..

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [BUGS] More SSL questions..
Дата
Msg-id 200501061917.j06JHjh04132@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: [BUGS] More SSL questions..  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [BUGS] More SSL questions..  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers-win32
Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > Magnus, where are you on getting a patch to
> > fe-connect.c::pqGetHomeDirectory() for Win32?  Right now the code is
> > reading USERPROFILE or HOME.
>
> Nope; as of CVS tip it's
>
> #else
>     char        tmppath[MAX_PATH];
>
>     ZeroMemory(tmppath, sizeof(tmppath));
>     if (!SHGetSpecialFolderPath(NULL, tmppath, CSIDL_APPDATA, FALSE))
>         return false;
>     snprintf(ret_path, MAXPGPATH, "%s/postgresql", tmppath);
>     return true;
> #endif
>
> This needs to be tested of course.

Uh, by default this directory is not going to exist, right?  It doesn't
in Unix home directories.  And we need to change that to upper/lower
"PostgreSQL", though that will not make a difference on Win32.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [BUGS] More SSL questions..
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [BUGS] More SSL questions..