Re: [BUGS] More SSL questions..

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: pgsql-hackers-win32(at)postgresql(dot)org, "Matthew T(dot) O'Connor" <matthew(at)zeut(dot)net>, Magnus Hagander <mha(at)sollentuna(dot)net>, Andrew Dunstan <andrew(at)dunslane(dot)net>, "T(dot)J(dot)" <tjtoocool(at)phreaker(dot)net>
Subject: Re: [BUGS] More SSL questions..
Date: 2005-01-06 19:14:06
Message-ID: 200501061914.j06JE6328355@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers-win32

Tom Lane wrote:
> Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> writes:
> > "Matthew T. O'Connor" <matthew(at)zeut(dot)net> writes:
> >> Tom Lane wrote:
> >>> Whether we're overestimating it or not, we have to make a decision and
> >>> we have to make it now. This thread is singlehandedly delaying the 8.0
> >>> release. Since I haven't seen any serious alternative proposed, I think
> >>> we have to go with the CSIDL_APPDATA reference point.
> >>>
> >>> Given that decision it seems like the best names are
> >>>
> >>> APPDATA/postgresql/pgpass.txt
> >>> APPDATA/postgresql/psqlrc.txt
> >>> APPDATA/postgresql/psql_history
> >>> APPDATA/postgresql/postgresql.crt
> >>> APPDATA/postgresql/postgresql.key
> >>> APPDATA/postgresql/root.crt
> >>>
> >>> Objections?
>
> >> None. Looks good to me.
>
> I have applied code changes that do this. It still seems to work on
> Unix but would someone verify behavior on WIN32? (You should also be
> able to get SSL to work on WIN32 now, even with root.crt.)
>
> > BTW, I did not get any guidance on how best to refer to this directory
> > in the documentation.
>
> Still an open question. I committed docs changes that refer to the
> files exactly as above ("APPDATA/...") but obviously we have to adjust
> that.

I just checked and %APPDATA% is defined on XP. It is not defined on
Win98. Not sure what the function Magnus is suggesting returns on that
platform.

So, you could use "%APPDATA%\...".

--
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

In response to

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Tom Lane 2005-01-06 19:14:10 Re: [BUGS] More SSL questions..
Previous Message Bruce Momjian 2005-01-06 19:12:00 Re: [BUGS] More SSL questions..