Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tensorchord/cloudnative-pgvecto.rs
Container images for cloudnative-pg with the pgvecto.rs extension installed
https://github.com/tensorchord/cloudnative-pgvecto.rs
cloudnative-pg cloudnativepg cnpg container-images pgvecto-rs postgres postgresql
Last synced: 11 days ago
JSON representation
Container images for cloudnative-pg with the pgvecto.rs extension installed
- Host: GitHub
- URL: https://github.com/tensorchord/cloudnative-pgvecto.rs
- Owner: tensorchord
- License: apache-2.0
- Created: 2024-01-12T11:48:01.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-06-07T07:09:03.000Z (16 days ago)
- Last Synced: 2024-06-07T08:28:35.105Z (16 days ago)
- Topics: cloudnative-pg, cloudnativepg, cnpg, container-images, pgvecto-rs, postgres, postgresql
- Language: Dockerfile
- Homepage:
- Size: 49.8 KB
- Stars: 12
- Watchers: 5
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- awesome-stars - tensorchord/cloudnative-pgvecto.rs - Container images for cloudnative-pg with the pgvecto.rs extension installed (Dockerfile)
README
# cnpgvecto.rs
Container images for [cloudnative-pg](https://cloudnative-pg.io/) with the [pgvecto.rs](https://github.com/tensorchord/pgvecto.rs) extension installed.> [!IMPORTANT]
> If you are using this image on an existing database, the postgres configuration needs to be
> altered to enable the extension. You can do this by setting shared_preload_libraries in your Cluster spec:
> ```yaml
> apiVersion: postgresql.cnpg.io/v1
> kind: Cluster
> spec:
> (...)
> postgresql:
> shared_preload_libraries:
> - "vectors.so"
> ```> [!IMPORTANT]
> The `pgvecto.rs` extension is not enabled by default. You need to enable it and set the search path when initializing the database. You can configure it in your Cluster spec:
> ```yaml
> apiVersion: postgresql.cnpg.io/v1
> kind: Cluster
> spec:
> (...)
> bootstrap:
> initdb:
> postInitSQL:
> - ALTER SYSTEM SET search_path TO "$user", public, vectors;
> - CREATE EXTENSION IF NOT EXISTS "vectors";