mirror of
https://github.com/pgvector/pgvector.git
synced 2026-06-29 01:01:17 +08:00
6 lines
278 B
SQL
6 lines
278 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 FUNCTION subvector(vector, int, int) RETURNS vector
|
|
AS 'MODULE_PATHNAME' LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
|