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 18:06:37 |
Message-ID: | CABvPt_z6YG9O2JEVpS30L80=MmH-dwe_B119Lt4xzUcU9rb2eQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
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 <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Anatolii Smolianinov <zarkonesmall(at)gmail(dot)com> 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
>
From | Date | Subject | |
---|---|---|---|
Next Message | Adrian Klaver | 2024-10-21 18:31:10 | Re: Fwd: Postgres attach partition: AccessExclusive lock set on different tables depending on how attaching is performed |
Previous Message | Tom Lane | 2024-10-21 17:59:36 | Re: Timezone: resolve $TZDIR in runtime |