Re: registry vs. environment (was re:binary

Поиск
Список
Период
Сортировка
От Ronald Kuczek
Тема Re: registry vs. environment (was re:binary
Дата
Msg-id 402BC7E4.3010502@kuczek.pl
обсуждение исходный текст
Ответ на Re: registry vs. environment (was re:binary  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: registry vs. environment (was re:binary  (Ronald Kuczek <kuczek@kuczek.pl>)
Список pgsql-hackers-win32
Użytkownik Bruce Momjian wrote:

>I assumed all environment variables would be exported to the process.
>The problem is allowing environment variables to override registry
>settings.
>
>One idea would be to do both --- if an environment variable isn't set,
>get the value from the registry and set the envronment variable.  If the
>environment variable is set, use that instead of the registry --- that
>might be the best of both worlds.
>
>

Enviroment variables are stored in
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session
Manager\Environment.
There is no problem to look there if any variable is set or not and - to
add a registry key with new variable or to modify existing.


Rony


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: registry vs. environment (was re:binary
Следующее
От: "Magnus Hagander"
Дата:
Сообщение: Re: registry vs. environment (was re:binary installer)