diff --git a/Makefile b/Makefile index d115b36..9be02fd 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ EXTENSION = vector EXTVERSION = 0.1.2 MODULE_big = vector -DATA = sql/vector--0.1.1.sql sql/vector--0.1.0--0.1.1.sql +DATA = $(wildcard sql/*--*.sql) OBJS = src/ivfbuild.o src/ivfflat.o src/ivfinsert.o src/ivfkmeans.o src/ivfscan.o src/ivfutils.o src/ivfvacuum.o src/vector.o TESTS = $(wildcard test/sql/*.sql) diff --git a/sql/vector--0.1.1--0.1.2.sql b/sql/vector--0.1.1--0.1.2.sql new file mode 100644 index 0000000..2661237 --- /dev/null +++ b/sql/vector--0.1.1--0.1.2.sql @@ -0,0 +1,2 @@ +-- complain if script is sourced in psql, rather than via CREATE EXTENSION +\echo Use "ALTER EXTENSION vector UPDATE TO '0.1.2'" to load this file. \quit diff --git a/sql/vector--0.1.1.sql b/sql/vector--0.1.2.sql similarity index 100% rename from sql/vector--0.1.1.sql rename to sql/vector--0.1.2.sql diff --git a/vector.control b/vector.control index bf0bd4f..fbfc95e 100644 --- a/vector.control +++ b/vector.control @@ -1,4 +1,4 @@ comment = 'vector data type and ivfflat access method' -default_version = '0.1.1' +default_version = '0.1.2' module_pathname = '$libdir/vector' relocatable = true