Added comments to data types - #1013 [skip ci]

This commit is contained in:
Andrew Kane committed 2026-08-07 20:47:42 -07:00
1 parent cfd5eb7374
commit 29af652744
2 files changed
+14

No files matched your search

+6
View File
@@ -29,6 +29,8 @@ CREATE TYPE vector (
STORAGE = external
);
COMMENT ON TYPE vector IS 'single-precision vector';
-- vector functions
CREATE FUNCTION l2_distance(vector, vector) RETURNS float8
@@ -359,6 +361,8 @@ CREATE TYPE halfvec (
STORAGE = external
);
COMMENT ON TYPE halfvec IS 'half-precision vector';
-- halfvec functions
CREATE FUNCTION l2_distance(halfvec, halfvec) RETURNS float8
@@ -716,6 +720,8 @@ CREATE TYPE sparsevec (
STORAGE = external
);
COMMENT ON TYPE sparsevec IS 'single-precision sparse vector';
-- sparsevec functions
CREATE FUNCTION l2_distance(sparsevec, sparsevec) RETURNS float8