Re: Relocatable installs - Mailing list pgsql-hackers

From Shachar Shemesh
Subject Re: Relocatable installs
Date
Msg-id 409DB4D7.9040002@shemesh.biz
Whole thread Raw
In response to Relocatable installs  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: Relocatable installs  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: Relocatable installs  ("Andrew Dunstan" <andrew@dunslane.net>)
List 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/



pgsql-hackers by date:

Previous
From: Christopher Kings-Lynne
Date:
Subject: Re: Adding MERGE to the TODO list (resend with subject)
Next
From: Bruce Momjian
Date:
Subject: Re: Relocatable installs