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

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

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: Fri, 23 Jan 2004 13:02:12 -0500
  • Message-id: <28008(dot)1074880932(at)sss(dot)pgh(dot)pa(dot)us>

"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



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group