pgautoupgrade
pgautoupgrade makes upgrading PostgreSQL databases in Docker seamless.
Deskripsi
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.
Anggota
Akun yang Dihubungkan
pgautoupgrade memiliki akun berikut di platform lain:
Repositori
docker-pgautoupgrade Bintang 1199 Diperbarui minggu ini
A PostgreSQL Docker container that automatically upgrades your database
Riwayat
pgautoupgrade bergabung 9 bulan yang lalu.