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

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Merlin Moncure <merlin(dot)moncure(at)rcsonline(dot)com>, pgsql-hackers-win32(at)postgresql(dot)org
Subject: Re: registry vs. environment (was re:binary installer)
Date: 2004-01-26 17:49:04
Message-ID: 200401261749.i0QHn4X08073@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers-win32

Tom Lane wrote:
> "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.

Added to Win32 project page:

<li>store setting in the registry and set environment
variables in the process</li>

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Bruce Momjian 2004-01-26 18:29:33 Re: Microsoft releses Services for Unix
Previous Message Bruce Momjian 2004-01-26 17:15:13 Re: [pgsql-hackers-win32] What's left?