mirror of
https://github.com/pgvector/pgvector.git
synced 2026-12-04 08:18:46 +00:00
Simplified sum aggregate
This commit is contained in:
1 parent
f9d9d64a4e
commit
a0c7f618ff
5 files changed
+7
-59
No files matched your search
@@ -41,4 +41,3 @@ SELECT sum(v) FROM unnest(ARRAY['[1,2,3]'::vector, '[3,5,7]', NULL]) v;
|
||||
SELECT sum(v) FROM unnest(ARRAY[]::vector[]) v;
|
||||
SELECT sum(v) FROM unnest(ARRAY['[1,2]'::vector, '[3]']) v;
|
||||
SELECT sum(v) FROM unnest(ARRAY['[3e38]'::vector, '[3e38]']) v;
|
||||
SELECT vector_sum(array_agg(n)) FROM generate_series(1, 16002) n;
|
||||
Reference in new issue
Block a user