| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | David Rowley <dgrowleyml(at)gmail(dot)com> |
| Cc: | CyberNative AI CEO <ceo(at)cybernative(dot)ai>, pgsql-hackers(at)lists(dot)postgresql(dot)org |
| Subject: | Re: [PATCH] initdb: map Windows' new Canadian time zone names |
| Date: | 2026-10-20 04:46:43 |
| Message-ID: | 812690.1792471603@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
David Rowley <dgrowleyml(at)gmail(dot)com> writes:
> On Tue, 20 Oct 2026 at 16:44, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>> So CLDR's comment is wrong, and seemingly always has been if you
>> assume it's meant to specify the zone's standard time.
> ...
> So at least the comment was correct at one point.
Ah, I failed to look closely enough. There's still room for CLDR to
fix their comments, if anyone feels like double-checking the other
zone discrepancies and filing a bug. But it's not super important
for our purposes.
Apropos of this, I just read an uber-informative post on the tz
mailing list:
https://lists.iana.org/hyperkitty/list/tz(at)iana(dot)org/message/JBMDX4TTIU4HAUSDLOKKI3JRLYJZGUEG/
So according to this apparently-very-well-informed person, TZDB is
what is under the hood in modern Windows releases, and what we are
doing in findtimezone.c is trying to map from their legacy
representation back to underlying truth. I wonder whether what we
should really be doing is burning that code to the ground and fetching
data from one of their modern APIs instead. Of course question #1 is
whether those modern APIs exist in all Windows versions we still care
to support.
regards, tom lane
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Zhijie Hou | 2026-10-20 05:05:32 | Re: [PG19] Sequence sync stops when the subscription owner can't SET ROLE to a sequence owner |
| Previous Message | Manu | 2026-10-20 04:39:54 | Re: [PG19] Promotion hangs behind a backend blocked on a stuck client |