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

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Zdenek Kotala <Zdenek(dot)Kotala(at)Sun(dot)COM>, Gregory Stark <stark(at)enterprisedb(dot)com>, Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [COMMITTERS] pgsql: Add configure option --with-system-tzdata to use operating system
Date: 2007-08-23 14:59:44
Message-ID: 20070823145944.GU26038@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

Tom Lane wrote:
> Zdenek Kotala <Zdenek(dot)Kotala(at)Sun(dot)COM> writes:
> > Tom Lane wrote:
> >> AFAICS that just moves the problem to a different place, one where an
> >> admin *can't* fix it without recompiling ...
>
> > Is there real reason why admin should do it? Timezone files are stored in
> > defined location where "all" software expect it. If it is important to change
> > timezone file location we could add extra command line parameter or GUC
> > variable, but I don't see any reason for do it configurable on run-time.
>
> [ shrug... ] This just reinforces my point: if every packager is going
> to have his own opinion about how to do it, there's little point in
> trying to provide a pre-fab solution.

Well, there's a point if every packager have his own opinion but the
opinions all happen to be equal. Is there any glibc system where it
isn't /usr/share/zoneinfo? Per Zdenek's patch, even Solaris does it
that way.

The FHS defines it that way:
http://www.pathname.com/fhs/pub/fhs-2.3.html#USRSHAREARCHITECTUREINDEPENDENTDATA
(which is said to cover Linux and 4.4BSD-based systems).

--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2007-08-23 16:15:51 pgsql: Fix combo_decrypt() to throw an error for zero-length input when
Previous Message User Mkz 2007-08-23 14:39:51 plproxy - plproxy: remove generated files from cvs

Browse pgsql-hackers by date

  From Date Subject
Next Message Ben Tilly 2007-08-23 15:47:17 Re: SQL feature requests
Previous Message Alvaro Herrera 2007-08-23 14:51:31 Re: SQL feature requests