pgautoupgrade
pgautoupgrade makes upgrading PostgreSQL databases in Docker seamless.
Beskrivelse
It is probably not an understatement to say that PostgreSQL is the most popular open-source database system. And deploying it as a container is likely the most used deployment method.
Upgrading between major Postgres versions requires invoking the “pg_upgrade” utility, which can be an issue in these container-based deployments. You would have to shut down your existing Postgres container, spin up a separate instance running that pg_upgrade utility, and then redeploy a new container with the updated version. This requires manual work and is also cumbersome when managing many database instances.
pgautoupgrade is built on top of the official PostgreSQL Docker image. When starting, it checks if your Postgres data directory contains an outdated version, and automatically runs the upgrade before starting the server. Or if you just want to use our container for the automation, there is also a “one-shot” mode to do so. It also handles various aspects around upgrading, e.g., migrating to the new storage layout for Postgres v18 or reindexing the database.
Medlemmer
Linkede kontoer
pgautoupgrade ejer følgende konti på andre platforme:
Arkiver
docker-pgautoupgrade Stjerner 1199 Opdateret denne uge
A PostgreSQL Docker container that automatically upgrades your database
Historie
pgautoupgrade tilmeldte sig for 9 måneder siden.