From f386c46bafdf50cb943b61375096bcd73b33cdb7 Mon Sep 17 00:00:00 2001 From: Atilla BALCI Date: Sat, 18 Apr 2026 15:26:07 +0300 Subject: [PATCH] server/database: Add pgvector package version 0.8.2 --- server/database/pgvector/actions.py | 18 +++++++++ server/database/pgvector/pspec.xml | 58 +++++++++++++++++++++++++++++ 2 files changed, 76 insertions(+) create mode 100644 server/database/pgvector/actions.py create mode 100644 server/database/pgvector/pspec.xml 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 + + +