Re: Relocatable installs - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Relocatable installs
Date
Msg-id 200405090437.i494bHv21864@candle.pha.pa.us
Whole thread Raw
In response to Re: Relocatable installs  (Shachar Shemesh <psql@shemesh.biz>)
Responses Re: Relocatable installs  (Shachar Shemesh <psql@shemesh.biz>)
Re: Relocatable installs  (Marc Slemko <marcs@znep.com>)
List pgsql-hackers
Shachar Shemesh wrote:
> Bruce Momjian wrote:
> 
> >Comments?
> >  
> >
> What's wrong with the way it's done by everybody else?
> 
> Have hardcoded paths (determined at configure time), and allow override 
> using a config file. Have a command line option for saying where the 
> config file should be.

Where do we put the config file so it can be found?  We can't assume
root privilege to write into /etc.

> For Windows, replace config file with "Registry". That is usually 
> hardcoded for (depending on whether you want it changeable per-user) 
> HKEY_LOCAL_MACHINE\Software\<company name>\<product name> (replace HKLM 
> with HKEY_LOCAL_USER if you want per-user config).

Doesn't registry require admin privilege on the Windows box?

--  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,
Pennsylvania19073
 


pgsql-hackers by date:

Previous
From: Shachar Shemesh
Date:
Subject: Re: Relocatable installs
Next
From: Shachar Shemesh
Date:
Subject: Re: Relocatable installs