sql: add alias timezone for time zone session var#19931
sql: add alias timezone for time zone session var#19931knz merged 1 commit intocockroachdb:masterfrom
Conversation
|
Hi @ctkou! Thank you for your help and your interest in this. Also your code looks very good. Thank you for this. Since you now understand this code well, I have a pleading request -- could you take this opportunity to help us and remove an annoying thorn in our code?
Reviewed 5 of 5 files at r1. Comments from Reviewable |
|
Okay, thanks for reviewing my code. I will get that "thorn" out like you said. :) |
|
Hi @knz , I am not familiar with parsing, but it seems to me that for Set, the |
|
You are correct that supporting |
8635f26 to
67b8fe2
Compare
|
This patch is very good. Thank you. Can you please squash the two commits together before we can merge this? Thanks! Reviewed 5 of 5 files at r2, 9 of 9 files at r3. Comments from Reviewable |
67b8fe2 to
396337b
Compare
845588b to
f52791b
Compare
|
Reviewed 3 of 3 files at r4. Comments from Reviewable |
|
Thank you again! |
Closes #19440
Release notes: the session variable previously called "
time zone" (with a space) is now renamed to "timezone" (with no space), like the one in Postgres. The standard SQL statementsSET TIME ZONE/SHOW TIME ZONEare still supported for compatibility, but it is now also possible to set the session timezone withSET TIMEZONE =like is standard with Postgres.