mirror of
https://github.com/pgvector/pgvector.git
synced 2026-07-01 02:02:10 +08:00
Added casting to int[] [skip ci]
This commit is contained in:
@@ -38,6 +38,8 @@ SELECT '{1,2,3}'::real[]::halfvec(2);
|
||||
SELECT '{65520,-65520}'::real[]::halfvec;
|
||||
SELECT '{1e-8,-1e-8}'::real[]::halfvec;
|
||||
|
||||
SELECT '[1,2,3]'::intvec::int[];
|
||||
|
||||
SELECT '{1,2,3}'::int[]::intvec;
|
||||
SELECT '{1,2,3}'::int[]::intvec(3);
|
||||
SELECT '{1,2,3}'::int[]::intvec(2);
|
||||
|
||||
Reference in New Issue
Block a user