Skip to content

Commit

Permalink
docs: add upgrade notice
Browse files Browse the repository at this point in the history
  • Loading branch information
budimanjojo authored Dec 23, 2023
1 parent 6554fe6 commit 657d0a6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,10 @@ spec:
parameters:
shared_preload_libraries: "vectors.so"
```
> :warning: If you want to do a major Posgres version upgrade like described in the [official doc](https://access.crunchydata.com/documentation/postgres-operator/latest/guides/major-postgres-version-upgrade), make sure you do the following steps or the upgrade will fail:
1. Connect to the database where you have enabled the `vectors` extension and disable it with `DROP EXTENSION vectors;`.
2. Remove the `dynamicConfiguration` block you added to `PostgresCluster` from above.
3. Follow the upgrade instruction from the official doc.
4. Add back the removed block and enable the extension in the database again with `CREATE EXTENSION vectors;`

0 comments on commit 657d0a6

Please sign in to comment.