Re: [BUGS] More SSL questions.. - Mailing list pgsql-hackers-win32

From Tom Lane
Subject Re: [BUGS] More SSL questions..
Date
Msg-id 18829.1105038850@sss.pgh.pa.us
Whole thread Raw
In response to Re: [BUGS] More SSL questions..  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: [BUGS] More SSL questions..  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers-win32
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.

            regards, tom lane

pgsql-hackers-win32 by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [BUGS] More SSL questions..
Next
From: Bruce Momjian
Date:
Subject: Re: [BUGS] More SSL questions..