diff --git a/server/database/pgvector/actions.py b/server/database/pgvector/actions.py new file mode 100644 index 0000000000..6d563d15a6 --- /dev/null +++ b/server/database/pgvector/actions.py @@ -0,0 +1,18 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +from pisi.actionsapi import autotools +from pisi.actionsapi import pisitools +from pisi.actionsapi import shelltools +from pisi.actionsapi import get + +# pgvector builds as a standard PostgreSQL PGXS extension. +# PG_CONFIG is auto-detected via PATH; USE_PGXS=1 tells the +# Makefile to build against the installed PostgreSQL rather than +# the PostgreSQL source tree. + +def build(): + autotools.make("USE_PGXS=1 OPTFLAGS=\"\"") + +def install(): + autotools.rawInstall("USE_PGXS=1 DESTDIR=%s OPTFLAGS=\"\"" % get.installDIR()) diff --git a/server/database/pgvector/pspec.xml b/server/database/pgvector/pspec.xml new file mode 100644 index 0000000000..da707ba826 --- /dev/null +++ b/server/database/pgvector/pspec.xml @@ -0,0 +1,58 @@ + + + + + pgvector + https://github.com/pgvector/pgvector + + Atilla BALCI + atilla.balci@tarimorman.gov.tr + + PostgreSQL + library + Open-source vector similarity search for PostgreSQL + pgvector is an open-source vector similarity search extension for PostgreSQL. Store, index, and query vectors directly in the database. Supports exact and approximate nearest neighbor search, L2, inner product, cosine, L1, Hamming, and Jaccard distances. + https://github.com/pgvector/pgvector/archive/refs/tags/v0.8.2.tar.gz + + postgresql-server + postgresql-lib + gcc + make + + + + pgvector + + postgresql-server + postgresql-lib + + + /usr/lib/postgresql/vector.so + /usr/share/postgresql/extension/vector* + /usr/include/postgresql/server/extension/vector + + + + + 2026-04-18 + 0.8.2 + Improve portability and file paths. + Atilla BALCI + atilla.balci@tarimorman.gov.tr + + + 2026-04-18 + 0.8.2 + Fix dependencies. + Atilla BALCI + atilla.balci@tarimorman.gov.tr + + + 2026-04-18 + 0.8.2 + First release + Atilla BALCI + atilla.balci@tarimorman.gov.tr + + +