vectorize
vectorize
pg_vectorize : The simplest way to do vector search on Postgres
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 1830 | vectorize | pg_vectorize | 0.25.0 | RAG | PostgreSQL | Rust |
| Attribute | Has Binary | Has Library | Need Load | Has DDL | Relocatable | Trusted |
|---|---|---|---|---|---|---|
--s-d-- | No | Yes | No | Yes | no | no |
| Relationships | |
|---|---|
| Requires | pg_cron pgmq vector |
| See Also | vchord vectorscale pg_summarize pg_tiktoken pg4ml pgml pg_later pg_similarity |
PG18 fix by https://github.com/Vonng/pg_vectorize
Packages
| Type | Repo | Version | PG Major Compatibility | Package Pattern | Dependencies |
|---|---|---|---|---|---|
| EXT | PIGSTY | 0.25.0 | 18 17 16 15 14 13 | pg_vectorize | - |
| RPM | PIGSTY | 0.25.0 | 18 17 16 15 14 13 | pg_vectorize_$v | pgmq_$v, pg_cron_$v, pgvector_$v |
| DEB | PIGSTY | 0.25.0 | 18 17 16 15 14 13 | postgresql-$v-pg-vectorize | postgresql-$v-pgmq, postgresql-$v-pg-cron, postgresql-$v-pgvector |
| Linux / PG | PG18 | PG17 | PG16 | PG15 | PG14 | PG13 |
|---|---|---|---|---|---|---|
el8.x86_64 | PIGSTY 0.25.0 | PIGSTY 0.25.0 | PIGSTY 0.25.0 | PIGSTY 0.25.0 | PIGSTY 0.25.0 | MISS |
el8.aarch64 | PIGSTY 0.25.0 | PIGSTY 0.25.0 | PIGSTY 0.25.0 | PIGSTY 0.25.0 | PIGSTY 0.25.0 | MISS |
el9.x86_64 | PIGSTY 0.25.0 | PIGSTY 0.25.0 | PIGSTY 0.25.0 | PIGSTY 0.25.0 | PIGSTY 0.25.0 | MISS |
el9.aarch64 | PIGSTY 0.25.0 | PIGSTY 0.25.0 | PIGSTY 0.25.0 | PIGSTY 0.25.0 | PIGSTY 0.25.0 | MISS |
el10.x86_64 | PIGSTY 0.25.0 | PIGSTY 0.25.0 | PIGSTY 0.25.0 | PIGSTY 0.25.0 | PIGSTY 0.25.0 | MISS |
el10.aarch64 | PIGSTY 0.25.0 | PIGSTY 0.25.0 | PIGSTY 0.25.0 | PIGSTY 0.25.0 | PIGSTY 0.25.0 | MISS |
d12.x86_64 | PIGSTY 0.25.0 | PIGSTY 0.25.0 | PIGSTY 0.25.0 | PIGSTY 0.25.0 | PIGSTY 0.25.0 | MISS |
d12.aarch64 | PIGSTY 0.25.0 | PIGSTY 0.25.0 | PIGSTY 0.25.0 | PIGSTY 0.25.0 | PIGSTY 0.25.0 | MISS |
d13.x86_64 | PIGSTY 0.25.0 | PIGSTY 0.25.0 | PIGSTY 0.25.0 | PIGSTY 0.25.0 | PIGSTY 0.25.0 | MISS |
d13.aarch64 | PIGSTY 0.25.0 | PIGSTY 0.25.0 | PIGSTY 0.25.0 | PIGSTY 0.25.0 | PIGSTY 0.25.0 | MISS |
u22.x86_64 | PIGSTY 0.25.0 | PIGSTY 0.25.0 | PIGSTY 0.25.0 | PIGSTY 0.25.0 | PIGSTY 0.25.0 | MISS |
u22.aarch64 | PIGSTY 0.25.0 | PIGSTY 0.25.0 | PIGSTY 0.25.0 | PIGSTY 0.25.0 | PIGSTY 0.25.0 | MISS |
u24.x86_64 | PIGSTY 0.25.0 | PIGSTY 0.25.0 | PIGSTY 0.25.0 | PIGSTY 0.25.0 | PIGSTY 0.25.0 | MISS |
u24.aarch64 | PIGSTY 0.25.0 | PIGSTY 0.25.0 | PIGSTY 0.25.0 | PIGSTY 0.25.0 | PIGSTY 0.25.0 | MISS |
Source
pig build pkg pg_vectorize; # build rpm / deb with pigInstall
Make sure PGDG and PIGSTY repo available:
pig repo add pgdg pigsty -u # add both repo and update cacheInstall this extension with pig:
pig install pg_vectorize; # install via package name, for the active PG version
pig install vectorize; # install by extension name, for the current active PG version
pig install vectorize -v 18; # install for PG 18
pig install vectorize -v 17; # install for PG 17
pig install vectorize -v 16; # install for PG 16
pig install vectorize -v 15; # install for PG 15
pig install vectorize -v 14; # install for PG 14Create this extension with:
CREATE EXTENSION vectorize CASCADE; -- requires pg_cron, pgmq, vectorLast updated on