Skip to content

Commit

Permalink
fix: return type of vector_norm for svector & bvector (#487)
Browse files Browse the repository at this point in the history
Signed-off-by: usamoi <usamoi@outlook.com>
  • Loading branch information
usamoi authored May 24, 2024
1 parent 1d186dc commit 8f99933
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sql/finalize.sql
Original file line number Diff line number Diff line change
Expand Up @@ -641,10 +641,10 @@ STRICT PARALLEL SAFE LANGUAGE c AS 'MODULE_PATHNAME', '_vectors_vecf32_norm_wrap
CREATE FUNCTION vector_norm(vecf16) RETURNS real
STRICT PARALLEL SAFE LANGUAGE c AS 'MODULE_PATHNAME', '_vectors_vecf16_norm_wrapper';

CREATE FUNCTION vector_norm(svector) RETURNS INT
CREATE FUNCTION vector_norm(svector) RETURNS real
STRICT PARALLEL SAFE LANGUAGE c AS 'MODULE_PATHNAME', '_vectors_svecf32_norm_wrapper';

CREATE FUNCTION vector_norm(bvector) RETURNS INT
CREATE FUNCTION vector_norm(bvector) RETURNS real
STRICT PARALLEL SAFE LANGUAGE c AS 'MODULE_PATHNAME', '_vectors_bvecf32_norm_wrapper';

CREATE FUNCTION vector_norm(veci8) RETURNS real
Expand Down

0 comments on commit 8f99933

Please sign in to comment.