mirror of
https://github.com/pgvector/pgvector.git
synced 2026-06-06 05:51:21 +08:00
Reverted change to extended storage for now (causes high memory during distance calculation in BuildCallback)
This commit is contained in:
@@ -1,9 +1,6 @@
|
||||
-- complain if script is sourced in psql, rather than via CREATE EXTENSION
|
||||
\echo Use "ALTER EXTENSION vector UPDATE TO '0.4.0'" to load this file. \quit
|
||||
|
||||
-- requires Postgres 13+
|
||||
-- ALTER TYPE vector SET (STORAGE = extended);
|
||||
|
||||
CREATE FUNCTION vector_accum(double precision[], vector) RETURNS double precision[]
|
||||
AS 'MODULE_PATHNAME' LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user