Added test for 2-d array

This commit is contained in:
Andrew Kane
2023-07-15 22:58:15 -07:00
parent 1d47d7218d
commit 5796f38ad2
2 changed files with 3 additions and 0 deletions

View File

@@ -38,6 +38,8 @@ SELECT '{-Infinity}'::real[]::vector;
ERROR: infinite value not allowed in vector
SELECT '{}'::real[]::vector;
ERROR: vector must have at least 1 dimension
SELECT '{{1}}'::real[]::vector;
ERROR: array must be 1-D
SELECT '[1,2,3]'::vector::real[];
float4
---------