pgautoupgrade
pgautoupgrade makes upgrading PostgreSQL databases in Docker seamless.
Cur síos
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.
Baill
Cuntais Nasctha
Is leis pgautoupgrade na cuntais seo a leanas ar ardáin eile:
Stórtha
docker-pgautoupgrade Réaltaí 1199 Nuashonraithe an tseachtain seo
A PostgreSQL Docker container that automatically upgrades your database
Stair
Tháinig pgautoupgrade isteach 9 mí ó shin.