Re: [COMMITTERS] pgsql: Add configure option --with-system-tzdata to use operating system

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: [COMMITTERS] pgsql: Add configure option --with-system-tzdata to use operating system
Date: 2007-08-23 08:26:47
Message-ID: 200708231026.48348.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

Tom Lane wrote:
> Hardwiring /usr/share/zoneinfo
> into the binary is isomorphic to having it use a symlink defined that
> way, as far as the objections to absolute symlinks go.

That just shows how silly the relative symlink requirement is in the
first place. If setting a symlink and hardcoding a path are
isomorphic, then all compiled in path references would have to be
relative as well. PostgreSQL went through some effort to support that
(within the package!), but surely most packages do not support it (at
all). Note, for example, that libc refers to /usr/share/zoneinfo by
absolute path. In fact, any use of any absolute path anywhere would
have to be examined. Just grep /etc for a thousand likely candidates.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Zdenek Kotala 2007-08-23 09:34:24 Re: [COMMITTERS] pgsql: Add configure option --with-system-tzdata to use operating system
Previous Message Tom Lane 2007-08-23 04:37:00 Re: [COMMITTERS] pgsql: Add configure option --with-system-tzdata to use operating system

Browse pgsql-hackers by date

  From Date Subject
Next Message Gregory Stark 2007-08-23 09:15:54 Re: SQL feature requests
Previous Message Zeugswetter Andreas ADI SD 2007-08-23 08:00:27 Re: SQL feature requests