Re: [BUGS] More SSL questions..

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: [BUGS] More SSL questions..
Дата
Msg-id 41DC2F84.6030803@dunslane.net
обсуждение исходный текст
Ответ на Re: [BUGS] More SSL questions..  ("Andrew Dunstan" <andrew@dunslane.net>)
Список pgsql-hackers-win32

Tom Lane wrote:

>"Andrew Dunstan" <andrew@dunslane.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

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [BUGS] More SSL questions..
Следующее
От: "Merlin Moncure"
Дата:
Сообщение: Re: shmmem error on initdb