Apply suggestions from code review

Signed-off-by: bo0tzz <git@bo0tzz.me>
This commit is contained in:
bo0tzz
2024-04-07 15:34:26 +02:00
parent e0eb7c0607
commit bc82495885

View File

@@ -16,14 +16,14 @@ Container images for [cloudnative-pg](https://cloudnative-pg.io/) with the [pgve
> ``` > ```
> [!IMPORTANT] > [!IMPORTANT]
> The `pgvecto.rs` extension is not enabled by default. You need to enable it and set the search path when database initialization. You can configure it in your Cluster spec: > 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 > ```yaml
> apiVersion: postgresql.cnpg.io/v1 > apiVersion: postgresql.cnpg.io/v1
> kind: Cluster > kind: Cluster
> spec: > spec:
> (...) > (...)
> bootstrap: > bootstrap:
> initdb: > initdb:
> postInitSQL: > postInitSQL:
> - ALTER SYSTEM SET search_path TO "$user", public, vectors; > - ALTER SYSTEM SET search_path TO "$user", public, vectors;
> - CREATE EXTENSION IF NOT EXISTS "vectors"; > - CREATE EXTENSION IF NOT EXISTS "vectors";