Improved null check and fixed message [skip ci]

This commit is contained in:
Andrew Kane
2023-07-15 22:51:40 -07:00
parent 21f56374b5
commit 42007b41ea
2 changed files with 6 additions and 6 deletions

View File

@@ -29,7 +29,7 @@ SELECT ARRAY[1,2,3]::numeric[]::vector;
(1 row)
SELECT '{NULL}'::real[]::vector;
ERROR: array must not containing NULLs
ERROR: array must not contain nulls
SELECT '{NaN}'::real[]::vector;
ERROR: NaN not allowed in vector
SELECT '{Infinity}'::real[]::vector;