mirror of
https://github.com/pgvector/pgvector.git
synced 2026-06-06 14:01:31 +08:00
11 lines
381 B
SQL
11 lines
381 B
SQL
-- complain if script is sourced in psql, rather than via CREATE EXTENSION
|
|
\echo Use "ALTER EXTENSION vector UPDATE TO '0.7.0'" to load this file. \quit
|
|
|
|
CREATE OPERATOR CLASS vector_integer_ops
|
|
DEFAULT FOR TYPE integer USING hnsw AS
|
|
OPERATOR 2 = (integer, integer);
|
|
|
|
CREATE OPERATOR CLASS vector_bigint_ops
|
|
DEFAULT FOR TYPE bigint USING hnsw AS
|
|
OPERATOR 2 = (bigint, bigint);
|