diff --git a/README.md b/README.md index 26633aa..c83b336 100644 --- a/README.md +++ b/README.md @@ -4,5 +4,13 @@ Container images for CNPG with the 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 running: -> `psql -U postgres -c 'ALTER SYSTEM SET shared_preload_libraries = "vectors.so"'` \ No newline at end of file +> 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" +> ``` \ No newline at end of file