Re: Timezone: resolve $TZDIR in runtime

From: Anatolii Smolianinov <zarkonesmall(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>, pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Timezone: resolve $TZDIR in runtime
Date: 2024-10-21 17:01:36
Message-ID: CABvPt_w=dPVwkn=GSX1CEhSzcPKB4xfSTQ_Zbk57UF+P4WLbsQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Right, it is not an official standard, but TZDIR appears in tzselect, which
comes from GNU libc. https://www.unix.com/man-page/redhat/8/TZSELECT/

date(1) does not set timezone dir: but it uses TZ, and, in man, it refers
to tzselect:
> use tzselect to find TZ"

On Mon, Oct 21, 2024 at 6:16 PM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:

> Anatolii Smolianinov <zarkonesmall(at)gmail(dot)com> writes:
> > As I've mentioned, it's not about embedded really, it is more about
> support
> > of standard $TZDIR mechanics in general.
>
> One problem with your argument is that there's no standard mentioning
> TZDIR, nor does it appear to affect actually-standard utilities
> like date(1).
>
> regards, tom lane
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Michel Pelletier 2024-10-21 17:23:33 Re: Using Expanded Objects other than Arrays from plpgsql
Previous Message Tom Lane 2024-10-21 16:16:34 Re: Timezone: resolve $TZDIR in runtime