Re: Relocatable installs

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Shachar Shemesh <psql(at)shemesh(dot)biz>
Cc: PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: Relocatable installs
Date: 2004-05-09 04:37:17
Message-ID: 200405090437.i494bHv21864@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Shachar Shemesh 2004-05-09 04:54:46 Re: Relocatable installs
Previous Message Shachar Shemesh 2004-05-09 04:34:31 Re: Relocatable installs