Added PGXN files [skip ci]

This commit is contained in:
Andrew Kane
2021-05-05 14:35:34 -07:00
parent 31a953f8db
commit 6f50c4f5bd
3 changed files with 56 additions and 0 deletions

1
.gitignore vendored
View File

@@ -1,3 +1,4 @@
dist
results
tmp_check
regression.*

49
META.json Normal file
View File

@@ -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 <andrew@ankane.org>"
],
"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"
]
}

View File

@@ -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