Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sql: special case lowercase "utc" as alias to "UTC". #38195

Merged
merged 1 commit into from
Jun 17, 2019

Conversation

knz
Copy link
Contributor

@knz knz commented Jun 17, 2019

Informs #36864.
Informs (and perhaps closes) #14988.

This patch is a crutch to support the special case of "utc" by
popular demand. For more details and guidance towards a better
solution, see issue #36864.

Release note (sql change): CockroachDB now supports the special case
set timezone = 'utc' as a special alias for set timezone = 'UTC'. The other time zone names are still case-sensitive as
previously, pending resolution of issue #36864.

@knz knz requested review from jordanlewis, bdarnell and a team June 17, 2019 09:35
@cockroach-teamcity
Copy link
Member

This change is Reviewable

This patch is a crutch to support the special case of `"utc"` by
popular demand. For more details and guidance towards a better
solution, see issue cockroachdb#36864.

Release note (sql change): CockroachDB now supports the special case
`set timezone = 'utc'` as a special alias for `set timezone =
'UTC'`. The other time zone names are still case-sensitive as
previously, pending resolution of issue cockroachdb#36864.
Copy link
Member

@jordanlewis jordanlewis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm: thanks!

Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @bdarnell and @jordanlewis)

@knz
Copy link
Contributor Author

knz commented Jun 17, 2019

tfyr

@jordanlewis please take over the backport if you think that's useful.

bors r+

craig bot pushed a commit that referenced this pull request Jun 17, 2019
38195: sql: special case lowercase "utc" as alias to "UTC". r=knz a=knz

Informs #36864.
Informs (and perhaps closes) #14988.

This patch is a crutch to support the special case of `"utc"` by
popular demand. For more details and guidance towards a better
solution, see issue #36864.

Release note (sql change): CockroachDB now supports the special case
`set timezone = 'utc'` as a special alias for `set timezone =
'UTC'`. The other time zone names are still case-sensitive as
previously, pending resolution of issue #36864.

Co-authored-by: Raphael 'kena' Poss <knz@cockroachlabs.com>
@craig
Copy link
Contributor

craig bot commented Jun 17, 2019

Build succeeded

@craig craig bot merged commit 02f0937 into cockroachdb:master Jun 17, 2019
@knz knz deleted the 20190617-tz-utc branch June 18, 2019 05:48
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.

3 participants