-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
Display Errors in SQL Client #43994
Labels
C-investigation
Further steps needed to qualify. C-label will change.
Comments
awoods187
added
the
C-investigation
Further steps needed to qualify. C-label will change.
label
Apr 9, 2020
@otan is this time portion fixed? Or is it the same libpq problem? |
this is lib/pq on both fronts and is a display issue only. the underlying value in both is correct if you tried fetching it from other drivers/ORMs. would probably close this and move it under the pgx umbrella task. |
Makes sense--thanks! |
We had fixed the display of times in v21.1 already. Doing the arrays in #66079. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the problem
To Reproduce
MY SET:
cockroach start --insecure
cockroach sql --insecure
ERRORS:
e.g. SELECT ARRAY['哈哈', '呵呵', '吼吼'];
array
+------------------------------------------------------------------------------+
{\345\223\210\345\223\210,\345\221\265\345\221\265,\345\220\274\345\220\274}
(1 row)
e.g.
SELECT '2019-03-21 21:12:12'::TIME;
time
+---------------------------+
0000-01-01 21:12:12+00:00
(1 row)
SELECT '2019-03-21 21:12:12'::DATE;
date
+---------------------------+
2019-03-21 00:00:00+00:00
(1 row)
SELECT '2019-03-21 21:12:12'::TIMESTAMP;
timestamp
+---------------------------+
2019-03-21 21:12:12+00:00
(1 row)
Expected behavior
Environment:
The text was updated successfully, but these errors were encountered: