Re: registry vs. environment (was re:binary installer)
От | Bruce Momjian |
---|---|
Тема | Re: registry vs. environment (was re:binary installer) |
Дата | |
Msg-id | 200401261749.i0QHn4X08073@candle.pha.pa.us обсуждение исходный текст |
Ответ на | Re: registry vs. environment (was re:binary installer) (Tom Lane <tgl@sss.pgh.pa.us>) |
Список | pgsql-hackers-win32 |
Tom Lane wrote: > "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. 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@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073
В списке pgsql-hackers-win32 по дате отправления: