Added casting to int[] [skip ci]

This commit is contained in:
Andrew Kane
2024-10-13 18:55:12 -07:00
parent 4765df1c50
commit 6221779f74
5 changed files with 44 additions and 1 deletions

View File

@@ -140,6 +140,12 @@ SELECT '{1e-8,-1e-8}'::real[]::halfvec;
[0,-0]
(1 row)
SELECT '[1,2,3]'::intvec::int[];
int4
---------
{1,2,3}
(1 row)
SELECT '{1,2,3}'::int[]::intvec;
intvec
---------