Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-bugspgsql-hackerspgsql-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

pgsql-hackers by date

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

pgsql-bugs by date

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

pgsql-hackers-win32 by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group