public inbox for [email protected]
help / color / mirror / Atom feedFrom: Anatolii Smolianinov <[email protected]>
To: Tom Lane <[email protected]>
Cc: Adrian Klaver <[email protected]>
Cc: [email protected]
Subject: Re: Timezone: resolve $TZDIR in runtime
Date: Mon, 21 Oct 2024 20:06:37 +0200
Message-ID: <CABvPt_z6YG9O2JEVpS30L80=MmH-dwe_B119Lt4xzUcU9rb2eQ@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
References: <CABvPt_xtYyvFfyupGn=TXNGnEAFd0m_ARPFpDUWBcn603aM84w@mail.gmail.com>
<[email protected]>
<CABvPt_zjW7oVeYg9SMtYre0cG_Jm_mxPiErZMvf2Eco-hOcDxA@mail.gmail.com>
<[email protected]>
<CABvPt_z1T=LPoRxC78tixvur9d41az4Ben=FYMp0dsWVf4zWLA@mail.gmail.com>
<[email protected]>
<CABvPt_w=dPVwkn=GSX1CEhSzcPKB4xfSTQ_Zbk57UF+P4WLbsQ@mail.gmail.com>
<[email protected]>
Ah, I see -- so tzselect uses tzdb distribution too? it is just, tzselect
can alter the timezone database and it looks for TZDIR in some
distributions, however, it is not the source of truth in that sense. I
think I see now why it's not really feasible to make such an adjustment..
Thanks for your help!
On Mon, Oct 21, 2024 at 7:59 PM Tom Lane <[email protected]> wrote:
> Anatolii Smolianinov <[email protected]> writes:
> > 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/
>
> No, it comes from the tzdb distribution, which otherwise hard-wires
> a compile-time choice for that directory. Which is how come no other
> program responds to that environment variable. So if anything, that's
> precedent for our behavior.
>
> regards, tom lane
>
view thread (8+ messages)
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected], [email protected]
Subject: Re: Timezone: resolve $TZDIR in runtime
In-Reply-To: <CABvPt_z6YG9O2JEVpS30L80=MmH-dwe_B119Lt4xzUcU9rb2eQ@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox