Improved input functions [skip ci]

This commit is contained in:
Andrew Kane
2024-04-13 11:09:59 -07:00
parent 9957ba6817
commit 23944302fe
6 changed files with 14 additions and 8 deletions

View File

@@ -108,9 +108,10 @@ LINE 1: SELECT '['::vector;
^
DETAIL: Unexpected end of input.
SELECT '[ '::vector;
ERROR: invalid input syntax for type vector: "[ "
ERROR: malformed vector literal: "[ "
LINE 1: SELECT '[ '::vector;
^
DETAIL: Unexpected end of input.
SELECT '[,'::vector;
ERROR: malformed vector literal: "[,"
LINE 1: SELECT '[,'::vector;
@@ -120,9 +121,8 @@ SELECT '[]'::vector;
ERROR: vector must have at least 1 dimension
LINE 1: SELECT '[]'::vector;
^
-- TODO fix error message
SELECT '[ ]'::vector;
ERROR: invalid input syntax for type vector: "[ ]"
ERROR: vector must have at least 1 dimension
LINE 1: SELECT '[ ]'::vector;
^
-- TODO fix error message