Search Postgresql Archives

Re: Timezone: resolve $TZDIR in runtime

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxx> wrote:
Anatolii Smolianinov <zarkonesmall@xxxxxxxxx> 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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux