https://github.com/pgvector/pgvector/
pgvector is an open-source vector similarity search for Postgres.
Store your vectors with the rest of your data. Supports:
The PostgreSQL RPM repository uses PostgreSQL version numbers in the RPM packages. For example pgvector for PostgreSQL 18 is named as pgvector_18. Similarly pgvector for PostgreSQL 17 is named as pgvector_17.
pgvector provides the following subpackages:
Install PGDG repository from: https://zypp.postgresql.org/repopackages/
| OS | Command |
|---|---|
| SuSE Enterprise Linux 15 / 16, OpenSuSE Leap 16.0 | zypper install pgvector_18 (or change the version as described above) |
Connect to the database that you want to create the extension as superuser and run:
CREATE EXTENSION pgvector;
| PostgreSQL version(s) | OS version | Arch | Status |
|---|---|---|---|
| 18,17,16,15,14 | SuSE Enterprise Linux 16 | x86_64 | Available |
| 18,17,16,15,14 | OpenSuSE Leap 16.0 | x86_64 | Available |
| 18,17,16,15,14 | SuSE Enterprise Linux 15 | x86_64 | Available |