mirror of
https://github.com/pgvector/pgvector.git
synced 2026-07-04 11:40:57 +08:00
Added casting to int[] [skip ci]
This commit is contained in:
@@ -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
|
||||
---------
|
||||
|
||||
Reference in New Issue
Block a user