1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

databases/pg_vector: New port

Open-source vector similarity search for Postgres

Store your vectors with the rest of your data. Supports:

* exact and approximate nearest neighbor search
* L2 distance, inner product, and cosine distance
* any language with a Postgres client

Plus ACID compliance, point-in-time recovery, JOINs, and all of the other great
features of Postgres

Sponsored by:	P. Variablis GmbH
This commit is contained in:
Torsten Zuehlsdorff 2023-11-05 01:05:02 +01:00
parent ff7ea94e42
commit b1ec64dbea
4 changed files with 65 additions and 0 deletions

View File

@ -0,0 +1,23 @@
PORTNAME= pg_vector
DISTVERSION= v0.5.1
CATEGORIES= databases
PKGNAMEPREFIX= postgresql${PGSQL_VER:S/.//}-
MAINTAINER= tz@FreeBSD.org
COMMENT= PostgreSQL extension for vector similarity search
LICENSE= BSD2CLAUSE
USES= gmake pgsql:11+
WANT_PGSQL= server
USE_GITHUB= yes
GH_ACCOUNT= pgvector
GH_PROJECT= pgvector
MAKE_ENV= USE_PGXS=1
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/postgresql/vector.so
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1698481060
SHA256 (pgvector-pgvector-v0.5.1_GH0.tar.gz) = cc7a8e034a96e30a819911ac79d32f6bc47bdd1aa2de4d7d4904e26b83209dc8
SIZE (pgvector-pgvector-v0.5.1_GH0.tar.gz) = 70728

View File

@ -0,0 +1,10 @@
Open-source vector similarity search for Postgres
Store your vectors with the rest of your data. Supports:
* exact and approximate nearest neighbor search
* L2 distance, inner product, and cosine distance
* any language with a Postgres client
Plus ACID compliance, point-in-time recovery, JOINs, and all of the other great
features of Postgres

View File

@ -0,0 +1,29 @@
include/postgresql/server/extension/vector/vector.h
lib/postgresql/vector.so
share/postgresql/extension/vector--0.1.0--0.1.1.sql
share/postgresql/extension/vector--0.1.1--0.1.3.sql
share/postgresql/extension/vector--0.1.3--0.1.4.sql
share/postgresql/extension/vector--0.1.4--0.1.5.sql
share/postgresql/extension/vector--0.1.5--0.1.6.sql
share/postgresql/extension/vector--0.1.6--0.1.7.sql
share/postgresql/extension/vector--0.1.7--0.1.8.sql
share/postgresql/extension/vector--0.1.8--0.2.0.sql
share/postgresql/extension/vector--0.2.0--0.2.1.sql
share/postgresql/extension/vector--0.2.1--0.2.2.sql
share/postgresql/extension/vector--0.2.2--0.2.3.sql
share/postgresql/extension/vector--0.2.3--0.2.4.sql
share/postgresql/extension/vector--0.2.4--0.2.5.sql
share/postgresql/extension/vector--0.2.5--0.2.6.sql
share/postgresql/extension/vector--0.2.6--0.2.7.sql
share/postgresql/extension/vector--0.2.7--0.3.0.sql
share/postgresql/extension/vector--0.3.0--0.3.1.sql
share/postgresql/extension/vector--0.3.1--0.3.2.sql
share/postgresql/extension/vector--0.3.2--0.4.0.sql
share/postgresql/extension/vector--0.4.0--0.4.1.sql
share/postgresql/extension/vector--0.4.1--0.4.2.sql
share/postgresql/extension/vector--0.4.2--0.4.3.sql
share/postgresql/extension/vector--0.4.3--0.4.4.sql
share/postgresql/extension/vector--0.4.4--0.5.0.sql
share/postgresql/extension/vector--0.5.0--0.5.1.sql
share/postgresql/extension/vector--0.5.1.sql
share/postgresql/extension/vector.control