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

registry vs. environment (was re:binary installer)


  • From: "Merlin Moncure" <merlin(dot)moncure(at)rcsonline(dot)com>
  • To: <pgsql-hackers-win32(at)postgresql(dot)org>
  • Subject: registry vs. environment (was re:binary installer)
  • Date: Fri, 23 Jan 2004 12:16:06 -0500
  • Message-id: <303E00EBDD07B943924382E153890E5434AA6F(at)cuthbert(dot)rcsinc(dot)local>

To all:

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:

1. There are several warnings and messages in postgres that explicitly
make reference to environment variables...these now have to be changed
for the win32 port.

2. Application software written in C for PostgreSQL ported from unix may
not necessarily work anymore (assumptions about PGDATA).

3. Just like the registry, the env has a system and a user area to make
settings.  By default, mysql puts it home directory into the system
area.  Nobody on the mysql lists seems to have a problem with this.  

4. Manipulating the environment is generally easier (either using SET or
parameter invocation from the command line) and has little/no win32
centric coding.

5. The PeerDirect port uses environment settings, and I found it easy to
work with...why fix something that isn't broken?

Regards,
Merlin



Home | Main Index | Thread Index

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