Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added clarification for the case with extensions #64

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,3 +109,8 @@ $ docker logs --tail 100 postgres-upgrade-testing
$ # can now safely remove "$OLD"
$ sudo rm -rf "$OLD"
```
## Upgrading with extensions:
If your current postgres installation has extensions installed, for example [TimescaleDB](https://www.timescale.com/), you'll have to create a custom container that has the needed extensions installed in both the old and new version of Postgres.
Additionally, supplying an option to pre-load any required libraries in the upgrade process is needed (`"-c shared_preload_libraries=YOUR_PLUGIN"`).

For a simple example with TimescaleDB, refer to [this comment](https://github.com/timescale/timescaledb/issues/2260#issuecomment-686786971).
Dzeri96 marked this conversation as resolved.
Show resolved Hide resolved