Re: Relocatable installs

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

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.

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).

Shachar

--
Shachar Shemesh
Lingnu Open Source Consulting
http://www.lingnu.com/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2004-05-09 04:37:17 Re: Relocatable installs
Previous Message Christopher Kings-Lynne 2004-05-09 04:13:31 Re: Adding MERGE to the TODO list (resend with subject)