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

Support SET TIME ZONE LOCAL syntax #8551

Closed
TennyZhuang opened this issue Mar 15, 2023 · 0 comments · Fixed by #8572
Closed

Support SET TIME ZONE LOCAL syntax #8551

TennyZhuang opened this issue Mar 15, 2023 · 0 comments · Fixed by #8572
Assignees
Milestone

Comments

@TennyZhuang
Copy link
Contributor

Is your feature request related to a problem? Please describe.

Currently, we've supported the following syntax to set timezone.

SET timezone TO 'Asia/Shanghai';

And PostgreSQL also supports the following syntax:

SET [ SESSION | LOCAL ] TIME ZONE { value | 'value' | LOCAL | DEFAULT }

The new syntax allow we set the timezone to the server local timezone, which is useful in testing.

Describe the solution you'd like

No response

Describe alternatives you've considered

No response

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant