lvector_compare

Signature:
CREATE FUNCTION lvector_compare(v1 lvector_embedding, v2 lvector_embedding);
Purpose: Compares two lvector_embedding values. It is also related to type comparison support.
Example:SELECT lvector_compare(lvector_in('[1,2,3,4]'), lvector_in('[1,2,3,4]')) AS cmp
FROM systables
WHERE tabid = 1;
Note: There is also a generic compare(lvector_embedding,lvector_embedding) support function in objects.sql for the opaque type. If direct catalog queries trigger compare resolution errors, use objects.sql as the source of truth for signatures.