Changed storage for existing installations [skip ci]

This commit is contained in:
Andrew Kane
2023-01-10 11:34:43 -08:00
parent d164fd35a8
commit 42d0cf1a25
2 changed files with 3 additions and 3 deletions

View File

@@ -1,8 +1,8 @@
-- 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);
-- comment out this single line for 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;