Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Tom Lane wrote:
>> if (!SHGetSpecialFolderPath(NULL, tmppath, CSIDL_APPDATA, FALSE))
>> return false;
>> snprintf(ret_path, MAXPGPATH, "%s/postgresql", tmppath);
>>
>> This needs to be tested of course.
> Uh, by default this directory is not going to exist, right?
The /postgresql subdirectory probably ought to be created by the Windows
installer. I don't think libpq ought to do it.
> And we need to change that to upper/lower
> "PostgreSQL", though that will not make a difference on Win32.
Weren't you just arguing to make the filenames as little different from
Unix as possible?
regards, tom lane