Re: [BUGS] More SSL questions..

Bruce Momjian <[email protected]>
Newsgroups gmane.comp.db.postgresql.devel.win32
Message-ID <[email protected]>
Tom Lane wrote:
> Tom Lane <[email protected]> writes:
> > "Matthew T. O'Connor" <[email protected]> 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
  [email protected]               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.