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

Re: More SSL questions..

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Matthew T(dot) O'Connor" <matthew(at)zeut(dot)net>
Cc: "T(dot)J(dot)" <tjtoocool(at)phreaker(dot)net>, pgsql-bugs(at)postgresql(dot)org,pgsql-hackers-win32(at)postgresql(dot)org
Subject: Re: More SSL questions..
Date: 2005-01-04 22:12:04
Message-ID: 20798.1104876724@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-bugspgsql-hackers-win32
"Matthew T. O'Connor" <matthew(at)zeut(dot)net> writes:
> Tom Lane wrote:
>> 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.

OK ... are you supposed to find it out by looking at the environment
vars, or is there another API defined?

I am planning to consolidate the platform dependency into a function
defined like

	static bool pqGetHomeDirectory(char *buf, int bufsize)
	{
		-- Obtain pathname of user's home directory, store in
		-- buf[] (of size bufsize)
		-- Return TRUE if succeeded, FALSE if not
	}

If someone can whip up and test a WIN32 version of this, I'll take care
of the rest.

			regards, tom lane

In response to

Responses

pgsql-bugs by date

Next:From: Matthew T. O'ConnorDate: 2005-01-04 22:28:45
Subject: Re: More SSL questions..
Previous:From: Joshua D. DrakeDate: 2005-01-04 22:06:03
Subject: Re: [pgsql-hackers-win32] More SSL questions..

pgsql-hackers-win32 by date

Next:From: Matthew T. O'ConnorDate: 2005-01-04 22:28:45
Subject: Re: More SSL questions..
Previous:From: Joshua D. DrakeDate: 2005-01-04 22:06:03
Subject: Re: [pgsql-hackers-win32] More SSL questions..

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