Mar 2023

2 commits
Add functions to do timestamptz arithmetic in a non-default timezone.
18 Mar 2023Tom Lanemaster16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
LLM analysis, 98% surepart of a posted patchsetlight changesfrom patchset #182 of 2 reviewers saw the final version

Lands the arithmetic and generate_series feature from #18, retaining its catalog interfaces and regression cases while expanding documentation, simplifying helpers, and reversing the monthly-series test direction. The timezone decoder was generalized separately, and #20 explicitly confirms omission of the fmgr.h assertions; the commit credits Przemysław Sztoch and sender Gurjeet Singh jointly.

  • Andreas 'ads' Scherbaumsaw the final versionLLM analysis, 98% sureIn #19, tested #18 on current HEAD with additional timezones, confirmed documented behavior and DST coverage, and noted inconsistent timezone terminology.
  • Tom Lanesaw the final versioncommittercommitted the patch
Refactor datetime functions' timezone lookup code to reduce duplication.
17 Mar 2023Tom Lanemaster16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
LLM analysis, 85% surepart of a posted patchsetsignificant changesfrom patchset #180 of 1 reviewer saw the final version

Extracts and substantially generalizes the timezone-lookup refactoring present in #18: its timestamp.c-local lookup_timezone becomes DecodeTimezoneName and DecodeTimezoneNameToTz in datetime.c, shared across five existing callers in date.c and timestamp.c. The commit explicitly describes Tom Lane's implementation as inspired by Przemysław Sztoch's patch but different in detail.

  • Andreas 'ads' Scherbaumsaw an earlier versionLLM analysis, 80% sureThe timezone functionality tests reported in #19 exercised the lookup helper in #18, before its substantial generalization into shared datetime decoding functions.

Nov 2022

1 commit
Fix volatility marking of timestamptz_trunc_zone.
12 Nov 2022Tom Lanemaster16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #112 of 2 reviewers saw the final version

Extracts the exact pg_proc.dat removal of provolatile => 's' for timestamptz_trunc_zone carried in #11, adding only a catalog-version bump. In #13, Tom Lane explicitly confirms committing that correction separately.

  • Gurjeet Singhsaw the final versionLLM analysis, 86% sureIn #8, questioned the existing date_trunc volatility change in #7, eliciting the immutability justification in #9; the committed catalog hunk remained unchanged.
  • Tom Lanesaw the final versioncommittercommitted the patch

Credits across 3 commits

Author
Przemysław SztochLLM2
Tom LaneLLM1
Reviewer
Tom Lanecommitter2
Committer
Tom Lane3

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