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

Re: registry vs. environment (was re:binary installer)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Merlin Moncure" <merlin(dot)moncure(at)rcsonline(dot)com>
Cc: pgsql-hackers-win32(at)postgresql(dot)org
Subject: Re: registry vs. environment (was re:binary installer)
Date: 2004-01-23 18:02:12
Message-ID: 28008.1074880932@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers-win32
"Merlin Moncure" <merlin(dot)moncure(at)rcsonline(dot)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

In response to

Responses

pgsql-hackers-win32 by date

Next:From: Merlin MoncureDate: 2004-01-23 18:15:19
Subject: Re: registry vs. environment (was re:binary installer)
Previous:From: Merlin MoncureDate: 2004-01-23 17:16:06
Subject: registry vs. environment (was re:binary installer)

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