| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | "Josh Berkus" <josh(at)agliodbs(dot)com> |
| Cc: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, pgsql-bugs(at)postgreSQL(dot)org |
| Subject: | Re: could not find /usr/local/timezone |
| Date: | 2004-11-06 23:10:17 |
| Message-ID: | 17583.1099782617@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-bugs |
I wrote:
>> dropping symlinks to the pg binaries in /usr/bin or
>> /usr/local/bin or /sbin/ is something I've done for ages, on PostgreSQL
>> versions 7.1 -> 7.4. Is there a problem with this now?
> This is fundamentally broken by the changes to support relocatable
> installs: PG now attempts to find the support files by relative paths
> from the place where the executable was found.
> It might be worth making find_my_exec able to detect that it found a
> symlink, but I'm not sure how much code would have to be added to
> resolve the symlink, nor how portable it would be. It would fail
> anyway if someone did this via hard linking rather than symlink.
I've added code to find_my_exec to follow symlinks --- it seems to
require about a hundred lines, which is tedious but not horrible.
regards, tom lane
| From | Date | Subject | |
|---|---|---|---|
| Next Message | contact | 2004-11-07 13:03:36 | installation according to C:\Applications\cygwin\usr\share\doc\postgresql-7.4.3\FAQ_MSWIN |
| Previous Message | Tom Lane | 2004-11-06 17:49:18 | Re: domain on bit(N) type produces strange results |