pgsql: Remove 'optimization' to skip resolve_symlinks() when the found

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Remove 'optimization' to skip resolve_symlinks() when the found
Date: 2004-12-24 16:55:44
Message-ID: 20041224165544.507BF3C83D2@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Remove 'optimization' to skip resolve_symlinks() when the found
executable file isn't itself a symlink. We still need to run the
algorithm so that any directory symlinks in the path to the
executable are replaced by a true path. Noticed this on seeing
pg_config give me a completely wrong answer for --pkglibdir when
I called it through a symlink to the installation bindir.

Modified Files:
--------------
pgsql/src/port:
exec.c (r1.34 -> r1.35)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/port/exec.c.diff?r1=1.34&r2=1.35)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2004-12-24 17:13:52 pgsql: Update FAQ.
Previous Message Bruce Momjian 2004-12-24 16:02:38 pgsql: Update FAQ with new URL's for site.