Skip site navigation (1) Skip section navigation (2)

Re: [BUGS] More SSL questions..

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Magnus Hagander <mha(at)sollentuna(dot)net>,Andrew Dunstan <andrew(at)dunslane(dot)net>,"Matthew T(dot) O'Connor" <matthew(at)zeut(dot)net>,pgsql-hackers-win32(at)postgresql(dot)org
Subject: Re: [BUGS] More SSL questions..
Date: 2005-01-06 19:14:10
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers-win32
Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)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

	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;

This needs to be tested of course.

			regards, tom lane

In response to


pgsql-hackers-win32 by date

Next:From: Bruce MomjianDate: 2005-01-06 19:17:45
Subject: Re: [BUGS] More SSL questions..
Previous:From: Bruce MomjianDate: 2005-01-06 19:14:06
Subject: Re: [BUGS] More SSL questions..

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group