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

fix autocluster example #5601

Merged
merged 1 commit into from
May 21, 2024
Merged

Conversation

tureba
Copy link
Contributor

@tureba tureba commented May 10, 2024

The example had timestamptz as datatype and inserted only hour:minute unquoted.

Besides the obvious quoting, we should either change the data to match the datatype, or the datatype to match the hour:minute data. Using full timestamptz probably wouldn't improve the example, which is well served by simple data. So using time as column datatype is adequate.

This intends to cover issue #5486 .

The example had timestamptz as datatype and inserted only hour:minute
unquoted.

Besides the obvious quoting, we should either change the data to match
the datatype, or the datatype to match the hour:minute data. Using
full timestamptz probably wouldn't improve the example, which is well
served by simple data. So using `time` as column datatype is adequate.
Copy link
Contributor

@nidhibhammar nidhibhammar left a comment

Choose a reason for hiding this comment

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

LGTM

@nidhibhammar nidhibhammar merged commit 8ac9736 into EnterpriseDB:develop May 21, 2024
1 check passed
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.

None yet

2 participants