mirror of
https://github.com/YuzuZensai/cloudnative-vectorchord-pgvecto.rs.git
synced 2026-01-31 14:57:18 +00:00
docs: shared_preload_libraries cluster spec in README
This commit is contained in:
12
README.md
12
README.md
@@ -4,5 +4,13 @@ Container images for CNPG with the pgvecto.rs extension installed
|
|||||||
|
|
||||||
> [!IMPORTANT]
|
> [!IMPORTANT]
|
||||||
> If you are using this image on an existing database, the postgres configuration needs to be
|
> 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 running:
|
> altered to enable the extension. You can do this by setting shared_preload_libraries in your Cluster spec:
|
||||||
> `psql -U postgres -c 'ALTER SYSTEM SET shared_preload_libraries = "vectors.so"'`
|
> ```yaml
|
||||||
|
> apiVersion: postgresql.cnpg.io/v1
|
||||||
|
> kind: Cluster
|
||||||
|
> spec:
|
||||||
|
> (...)
|
||||||
|
> postgresql:
|
||||||
|
> shared_preload_libraries:
|
||||||
|
> - "vectors.so"
|
||||||
|
> ```
|
||||||
Reference in New Issue
Block a user