From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | "Matthew T(dot) O'Connor" <matthew(at)zeut(dot)net>, "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-05 22:25:19 |
Message-ID: | 200501052225.j05MPJt27112@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs pgsql-hackers-win32 |
Tom Lane wrote:
> "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
> }
>
I had this on my personal TODO list:
centralize missing struct passwd
I didn't do it because I only relized it during beta when Peter
mentioned it. Well, seems like it is done now. :-)
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2005-01-05 22:36:23 | Re: [pgsql-hackers-win32] More SSL questions.. |
Previous Message | Oliver Jowett | 2005-01-05 22:20:19 | Re: [pgsql-hackers-win32] More SSL questions.. |
From | Date | Subject | |
---|---|---|---|
Next Message | Matthew T. O'Connor | 2005-01-05 22:30:48 | Re: [BUGS] More SSL questions.. |
Previous Message | Oliver Jowett | 2005-01-05 22:20:19 | Re: [pgsql-hackers-win32] More SSL questions.. |