Skip to content

Revert "Drop the timestamptz session TimeZone patch" - #4

Merged
d-bytebase merged 1 commit into
masterfrom
revert-drop-timezone-patch
Nov 3, 2026
Merged

d-bytebase merged 1 commit into
masterfrom
revert-drop-timezone-patch

Conversation

@d-bytebase

Copy link
Copy Markdown

Restores the timestamptz session TimeZone patch, so master matches the commit Bytebase ships.

Bytebase pins the fork at d3c6cdda (the v5.12.0 rebase), which still carries the patch. Dropping it from master in #3 left the default branch and the shipped commit behaving differently, so the next upstream rebase would have branched from a master that silently lacks it.

With this revert, master's tree is byte-identical to d3c6cdda: stdlib/sql.go is blob 8f8940c9 on both sides and git diff d3c6cdda <revert> is empty. Both fork patches are present again — ColumnTypePrecisionScale and the session TimeZone conversion.

Removing the patch means choosing where timestamptz is rendered instead, which is a design question being settled separately in Bytebase. The POSIX TimeZone failure #3 described is real and still unfixed: an instance whose session TimeZone is +08:00 or EST5EDT,M3.2.0/2,M11.1.0/2 fails every timestamptz read. That belongs with the time zone work, not with a dependency bump.

🤖 Generated with Claude Code

This restores the timestamptz session TimeZone patch. Bytebase pins the fork at
the v5.12.0 rebase, which still carries the patch, so dropping it from master
left the default branch and the shipped commit behaving differently -- the next
upstream rebase would have branched from a master that silently lacks it.

Removing the patch means choosing where timestamptz is rendered instead, which
is a design question being settled separately. Until then master should match
what Bytebase ships.

The POSIX TimeZone failure the original commit described is real and unfixed:
an instance whose session TimeZone is '+08:00' or 'EST5EDT,M3.2.0/2,M11.1.0/2'
still fails every timestamptz read. That belongs to the time zone work.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@d-bytebase
d-bytebase merged commit 9142dbf into master Nov 3, 2026
22 checks passed
@d-bytebase
d-bytebase deleted the revert-drop-timezone-patch branch November 3, 2026 06:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant