From 6f50c4f5bdd4a4a358d4205bdf111bd21b896820 Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Wed, 5 May 2021 14:35:34 -0700 Subject: [PATCH] Added PGXN files [skip ci] --- .gitignore | 1 + META.json | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ Makefile | 6 ++++++ 3 files changed, 56 insertions(+) create mode 100644 META.json diff --git a/.gitignore b/.gitignore index d161065..9d470b8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +dist results tmp_check regression.* diff --git a/META.json b/META.json new file mode 100644 index 0000000..1f7518b --- /dev/null +++ b/META.json @@ -0,0 +1,49 @@ +{ + "name": "vector", + "abstract": "Open-source vector similarity search for Postgres", + "description": "Supports L2 distance, inner product, and cosine distance", + "version": "0.1.2", + "maintainer": [ + "Andrew Kane " + ], + "license": { + "PostgreSQL": "http://www.postgresql.org/about/licence" + }, + "prereqs": { + "runtime": { + "requires": { + "PostgreSQL": "9.6.0" + } + } + }, + "provides": { + "vector": { + "file": "vector--0.1.1.sql", + "docfile": "README.md", + "version": "0.1.2", + "abstract": "Open-source vector similarity search for Postgres" + } + }, + "resources": { + "homepage": "https://github.com/ankane/pgvector", + "bugtracker": { + "web": "https://github.com/ankane/pgvector/issues" + }, + "repository": { + "url": "https://github.com/ankane/pgvector.git", + "web": "https://github.com/ankane/pgvector", + "type": "git" + } + }, + "generated_by": "Andrew Kane", + "meta-spec": { + "version": "1.0.0", + "url": "http://pgxn.org/meta/spec.txt" + }, + "tags": [ + "vector", + "similarity search", + "nearest neighbor search", + "approximate nearest neighbor" + ] +} diff --git a/Makefile b/Makefile index 466d4e1..aae1737 100644 --- a/Makefile +++ b/Makefile @@ -27,3 +27,9 @@ include $(PGXS) prove_installcheck: rm -rf $(CURDIR)/tmp_check cd $(srcdir) && TESTDIR='$(CURDIR)' PATH="$(bindir):$$PATH" PGPORT='6$(DEF_PGPORT)' PG_REGRESS='$(top_builddir)/src/test/regress/pg_regress' $(PROVE) $(PG_PROVE_FLAGS) $(PROVE_FLAGS) $(if $(PROVE_TESTS),$(PROVE_TESTS),t/*.pl) + +.PHONY: dist + +dist: + mkdir -p dist + git archive --format zip --prefix=vector-0.1.2/ --output dist/vector-0.1.2.zip master