Re: Timezone: resolve $TZDIR in runtime - Mailing list pgsql-general

From Anatolii Smolianinov
Subject Re: Timezone: resolve $TZDIR in runtime
Date
Msg-id CABvPt_w=dPVwkn=GSX1CEhSzcPKB4xfSTQ_Zbk57UF+P4WLbsQ@mail.gmail.com
Whole thread Raw
In response to Re: Timezone: resolve $TZDIR in runtime  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Timezone: resolve $TZDIR in runtime
Re: Timezone: resolve $TZDIR in runtime
List 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@sss.pgh.pa.us> wrote:
Anatolii Smolianinov <zarkonesmall@gmail.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

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Timezone: resolve $TZDIR in runtime
Next
From: Gianni Ceccarelli
Date:
Subject: Re: Timezone: resolve $TZDIR in runtime