Re: Fixed directory locations in installs

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Andrew Dunstan <andrew(at)dunslane(dot)net>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Fixed directory locations in installs
Date: 2004-05-03 16:03:47
Message-ID: 200405031603.i43G3l009430@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-hackers-win32 pgsql-patches

Tom Lane wrote:
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> > Not sure how we can do this for Unix except perhaps probe PATH.
>
> Huh? We have always determined the full path of the executable ---
> see FindExec().

Oh, OK. I forgot that.

> I guess what you are saying is we should have a configure-time option to
> address configured directories via relative paths from the executable's
> directory, rather than absolute paths? Seems reasonable ...

Yep. In fact, why would we not use that by default?

--
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 olivia jurado 2004-05-03 16:05:09 I need Help
Previous Message Alvaro Herrera 2004-05-03 15:49:53 Re: Weird prepared stmt behavior

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Tom Lane 2004-05-03 16:22:55 Re: Fixed directory locations in installs
Previous Message Andrew Dunstan 2004-05-03 14:56:48 Re: mingw configure failure workaround

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2004-05-03 16:22:55 Re: Fixed directory locations in installs
Previous Message Andrew Dunstan 2004-05-03 14:56:48 Re: mingw configure failure workaround