-
Notifications
You must be signed in to change notification settings - Fork 27
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
an active time zone incorrectly changes interval math in UPDATE #124
Comments
i believe this is because cockroach has different timezone data compared to postgres example for cockroach
postgres:
notice the difference between my belief is that since postgres does not have timezone data that far in the future, it does not do the interval math correctly compared to cockroach, hence the result. note that for 180 days, this behaviour is the same between both cockroach and psql (and the interval is an hour longer): cockroach
psql
|
interestingly enough, cockroach stops propagating DST after 2037:
|
(edited - wrong) |
because this is language/os related (and not something that I can immediately address), i'm going to close this in favour of cockroachdb/cockroach#31978 and cockroachdb/cockroach#36864 |
small edit: this is actually a golang issue -- filed cockroachdb/cockroach#45001 |
On CockroachDB master (a regression after cockroachdb/cockroach@917005b, perhaps):
That's the expected result. Now setting a time zone before the update:
The result is expected to stay the same.
The failing Django test:
The text was updated successfully, but these errors were encountered: