Re: registry vs. environment (was re:binary installer) - Mailing list pgsql-hackers-win32

From Magnus Hagander
Subject Re: registry vs. environment (was re:binary installer)
Date
Msg-id 6BCB9D8A16AC4241919521715F4D8BCE34B1F8@algol.sollentuna.se
Whole thread Raw
In response to registry vs. environment (was re:binary installer)  ("Merlin Moncure" <merlin.moncure@rcsonline.com>)
List pgsql-hackers-win32
>> >What additional things to we need to deal with if we go the
>> >direction of
>> >having the environment variables set from the registry and
>read-only in
>> >the process?
>>
>> I still beleive this way of doing things will be the best.
>If you want
>> it in the system environment, you can use that. If you put it in the
>> registry (service specific, for example), that will override those
>> settings and be used instead.
>
>I was thinking we can allow the environment to override the registry to
>allow multiple postmasters.

But that will give you issues if you want multiple postmasters running
as services (different services, of course). Since you can't store the
environment variables in the system environment (because they would be
shared). The registry, however, is arranged with per-service areas to
store it in.

//Magnus

pgsql-hackers-win32 by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: registry vs. environment (was re:binary installer)
Next
From: Claudio Natoli
Date:
Subject: Re: registry vs. environment (was re:binary