Skip to content

Commit

Permalink
feat: add upgrade instuctions
Browse files Browse the repository at this point in the history
  • Loading branch information
chkpwd authored Dec 26, 2023
1 parent 657d0a6 commit 2a64ecb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ spec:
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:
> :warning: If you want to do a major Postgres version upgrade like described in the [official docs](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;`
4. Add back the `dynamicConfiguration` block and enable the extension in the database again with `CREATE EXTENSION vectors;`

0 comments on commit 2a64ecb

Please sign in to comment.