Jan 2025

2 commits
Seek zone abbreviations in the IANA data before timezone_abbreviations.
16 Jan 2025Tom Lanemaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
LLM analysis, 99% suremodified before commitsignificant changesfrom patchset #70 of 1 reviewer saw the final version

The commit retains the session-timezone lookup approach and LMT regression cases from #7, but gives IANA definitions precedence over timezone_abbreviations. It substantially extends datetime.c and localtime.c with fixed/dynamic abbreviation detection and caching, updates pg_timezone_abbrevs through two SRFs, and adds documentation and MMT tests.

  • Michael Paquiersaw an earlier versionLLM analysis, 99% sureMichael challenged treating LMT as an ignored keyword in #5, prompting the timezone-aware redesign accepted in #6 and implemented in #7, with substantial further changes before commit.
Make pg_interpret_timezone_abbrev() check sp->defaulttype too.
16 Jan 2025Tom Lanemaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
LLM analysis, 99% surewritten from the discussion, no matching patch

Neither attached patch modifies src/timezone/localtime.c; this commit adds the missing defaulttype check to pg_interpret_timezone_abbrev and uses defaulttype in pg_next_dst_boundary. Its commit message links the thread and explains that investigation for forthcoming LMT support exposed the omission with data compiled by newer zic.

Credits across 2 commits

Author
Tom LaneLLM1
Committer
Tom Lane2

N LLM means N of the credits come from LLM analysis, not from commit trailers.