Re: [BUGS] More SSL questions..

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: mha(at)sollentuna(dot)net, pgsql-hackers-win32(at)postgresql(dot)org
Subject: Re: [BUGS] More SSL questions..
Date: 2005-01-05 18:18:44
Message-ID: 41DC2F84.6030803@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers pgsql-hackers-win32

Tom Lane wrote:

>"Andrew Dunstan" <andrew(at)dunslane(dot)net> writes:
>
>
>>Excellent. I would suggest that we allow an environment variable PGHOME to
>>override this on all platforms, falling back to the above on Windows and
>>HOME elsewhere.
>>
>>
>
>Given that this code is mainly used to find security-critical files
>(.pgpass and SSL certificates), I'm not sure that an override is a good
>idea. I'm not dead set against it though --- any other opinions out
>there?
>
>
>
>

If that's a valid concern (and it might well be) then we shouldn't rely
on any environment variable, including HOME - on Unix at least one could
use getpwent() and friends.

cheers

andrew

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Kris Jurka 2005-01-05 18:27:09 Re: BUG #1372: Service won't start with tcpip_socket = true
Previous Message Bruce Momjian 2005-01-05 17:44:34 Re: Two broken linksin doc/FAQ_DEV

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Treat 2005-01-05 18:23:00 Re: Where are the docs
Previous Message Jaime Casanova 2005-01-05 16:52:13 Re: rule system oddity

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Merlin Moncure 2005-01-05 19:27:09 Re: shmmem error on initdb
Previous Message Tom Lane 2005-01-05 15:49:42 Re: [BUGS] More SSL questions..