You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, my name is Eliseu.
I'm getting an error on azuredatastudio when I run any query on postgresql using unbounded numrange type.
Examples:
SELECT numrange(1, NULL);
SELECT numrange(NULL, 1);
SELECT numrange(NULL, NULL);
SELECT '(,1]'::numrange;
SELECT '[1,)'::numrange;
CREATE TABLE test (
field1 numrange
);
INSERT INTO test (field1) VALUES (numrange(1, NULL))
SELECT * FROM test;
all these querys throw the same error:
Unhandled exception while executing query: int() argument must be a string, a bytes-like object or a number, not 'NoneType'
I tested and they all work on psql, postbird, dbeaver.
I'm using the version 0.2.4 of the extension and version 1.15.1 of azure data studio.
Hi, my name is Eliseu.
I'm getting an error on azuredatastudio when I run any query on postgresql using unbounded numrange type.
Examples:
SELECT numrange(1, NULL);
SELECT numrange(NULL, 1);
SELECT numrange(NULL, NULL);
SELECT '(,1]'::numrange;
SELECT '[1,)'::numrange;
CREATE TABLE test (
field1 numrange
);
INSERT INTO test (field1) VALUES (numrange(1, NULL))
SELECT * FROM test;
all these querys throw the same error:
Unhandled exception while executing query: int() argument must be a string, a bytes-like object or a number, not 'NoneType'
I tested and they all work on psql, postbird, dbeaver.
I'm using the version 0.2.4 of the extension and version 1.15.1 of azure data studio.
The postgres I'm using is the official docker image (https://hub.docker.com/_/postgres)
This error repeated in 3 different machines (two running linux, one with windows) I've seem so far.
Let me know if more information is needed
The text was updated successfully, but these errors were encountered: