diff --git a/Makefile b/Makefile index bab529b..9bf2ec4 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ EXTVERSION = 0.6.2 MODULE_big = vector DATA = $(wildcard sql/*--*.sql) -OBJS = src/bitutils.o src/bitvector.o src/halfutils.o src/halfvec.o src/hnsw.o src/hnswbuild.o src/hnswinsert.o src/hnswscan.o src/hnswutils.o src/hnswvacuum.o src/ivfbuild.o src/ivfflat.o src/ivfinsert.o src/ivfkmeans.o src/ivfscan.o src/ivfutils.o src/ivfvacuum.o src/sparsevec.o src/vector.o +OBJS = src/bitutils.o src/bitvec.o src/halfutils.o src/halfvec.o src/hnsw.o src/hnswbuild.o src/hnswinsert.o src/hnswscan.o src/hnswutils.o src/hnswvacuum.o src/ivfbuild.o src/ivfflat.o src/ivfinsert.o src/ivfkmeans.o src/ivfscan.o src/ivfutils.o src/ivfvacuum.o src/sparsevec.o src/vector.o HEADERS = src/halfvec.h src/sparsevec.h src/vector.h TESTS = $(wildcard test/sql/*.sql) diff --git a/Makefile.win b/Makefile.win index 3815c62..b2e25b4 100644 --- a/Makefile.win +++ b/Makefile.win @@ -1,7 +1,7 @@ EXTENSION = vector EXTVERSION = 0.6.2 -OBJS = src\bitutils.obj src\bitvector.obj src\halfutils.obj src\halfvec.obj src\hnsw.obj src\hnswbuild.obj src\hnswinsert.obj src\hnswscan.obj src\hnswutils.obj src\hnswvacuum.obj src\ivfbuild.obj src\ivfflat.obj src\ivfinsert.obj src\ivfkmeans.obj src\ivfscan.obj src\ivfutils.obj src\ivfvacuum.obj src\sparsevec.obj src\vector.obj +OBJS = src\bitutils.obj src\bitvec.obj src\halfutils.obj src\halfvec.obj src\hnsw.obj src\hnswbuild.obj src\hnswinsert.obj src\hnswscan.obj src\hnswutils.obj src\hnswvacuum.obj src\ivfbuild.obj src\ivfflat.obj src\ivfinsert.obj src\ivfkmeans.obj src\ivfscan.obj src\ivfutils.obj src\ivfvacuum.obj src\sparsevec.obj src\vector.obj HEADERS = src\halfvec.h src\sparsevec.h src\vector.h REGRESS = bit_functions btree_halfvec btree_sparsevec btree_vector cast copy halfvec_functions halfvec_input hnsw_bit_hamming hnsw_bit_jaccard hnsw_halfvec_cosine hnsw_halfvec_ip hnsw_halfvec_l2 hnsw_options hnsw_sparsevec_cosine hnsw_sparsevec_ip hnsw_sparsevec_l2 hnsw_unlogged hnsw_vector_cosine hnsw_vector_ip hnsw_vector_l2 ivfflat_halfvec_cosine ivfflat_halfvec_ip ivfflat_halfvec_l2 ivfflat_options ivfflat_unlogged ivfflat_vector_cosine ivfflat_vector_ip ivfflat_vector_l2 sparsevec_functions sparsevec_input vector_functions vector_input diff --git a/src/bitvector.c b/src/bitvec.c similarity index 98% rename from src/bitvector.c rename to src/bitvec.c index cf73eda..fa8c7eb 100644 --- a/src/bitvector.c +++ b/src/bitvec.c @@ -1,7 +1,7 @@ #include "postgres.h" #include "bitutils.h" -#include "bitvector.h" +#include "bitvec.h" #include "utils/varbit.h" #if PG_VERSION_NUM >= 160000 diff --git a/src/bitvector.h b/src/bitvec.h similarity index 100% rename from src/bitvector.h rename to src/bitvec.h diff --git a/src/halfvec.c b/src/halfvec.c index 582c137..42b4fb2 100644 --- a/src/halfvec.c +++ b/src/halfvec.c @@ -2,7 +2,7 @@ #include -#include "bitvector.h" +#include "bitvec.h" #include "catalog/pg_type.h" #include "common/shortest_dec.h" #include "fmgr.h" diff --git a/src/ivfbuild.c b/src/ivfbuild.c index 0350e9b..dd89b44 100644 --- a/src/ivfbuild.c +++ b/src/ivfbuild.c @@ -6,7 +6,7 @@ #include "access/tableam.h" #include "access/parallel.h" #include "access/xact.h" -#include "bitvector.h" +#include "bitvec.h" #include "catalog/index.h" #include "catalog/pg_operator_d.h" #include "catalog/pg_type_d.h" diff --git a/src/ivfkmeans.c b/src/ivfkmeans.c index 3a74090..65d312b 100644 --- a/src/ivfkmeans.c +++ b/src/ivfkmeans.c @@ -3,7 +3,7 @@ #include #include -#include "bitvector.h" +#include "bitvec.h" #include "halfutils.h" #include "halfvec.h" #include "ivfflat.h" diff --git a/src/ivfscan.c b/src/ivfscan.c index 7e45ef9..42a05d4 100644 --- a/src/ivfscan.c +++ b/src/ivfscan.c @@ -3,7 +3,7 @@ #include #include "access/relscan.h" -#include "bitvector.h" +#include "bitvec.h" #include "catalog/pg_operator_d.h" #include "catalog/pg_type_d.h" #include "halfvec.h" diff --git a/src/vector.c b/src/vector.c index 5883843..e901cd0 100644 --- a/src/vector.c +++ b/src/vector.c @@ -3,7 +3,7 @@ #include #include "bitutils.h" -#include "bitvector.h" +#include "bitvec.h" #include "catalog/pg_type.h" #include "common/shortest_dec.h" #include "fmgr.h"