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