Re: [BUGS] More SSL questions..

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [BUGS] More SSL questions..
Дата
Msg-id 200501061914.j06JE6328355@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: [BUGS] More SSL questions..  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers-win32
Tom Lane wrote:
> Tom Lane <tgl@sss.pgh.pa.us> writes:
> > "Matthew T. O'Connor" <matthew@zeut.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@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

В списке pgsql-hackers-win32 по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [BUGS] More SSL questions..
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [BUGS] More SSL questions..