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

From Tom Lane
Subject Re: registry vs. environment (was re:binary installer)
Date
Msg-id 28008.1074880932@sss.pgh.pa.us
Whole thread Raw
In response to registry vs. environment (was re:binary installer)  ("Merlin Moncure" <merlin.moncure@rcsonline.com>)
Responses Re: registry vs. environment (was re:binary installer)
List pgsql-hackers-win32
"Merlin Moncure" <merlin.moncure@rcsonline.com> writes:
> I think there are a couple of things about this issue that have not been
> completely thought out.  Moving off of an environment based home
> variable should not be taken lightly.  Switching the runtime environment
> variables to use the registry will have several unintended consequences:

I agree that we do not want to start hacking the parts of the code that
depend on environment variables.  A reasonable compromise would probably
be to have a small chunk of Windows-specific code at startup that reads
the registry and installs the values it finds there by doing putenv().
Thereafter everything operates the same as on Unix.

            regards, tom lane

pgsql-hackers-win32 by date:

Previous
From: "Merlin Moncure"
Date:
Subject: registry vs. environment (was re:binary installer)
Next
From: "Merlin Moncure"
Date:
Subject: Re: registry vs. environment (was re:binary installer)