pgautoupgrade
pgautoupgrade makes upgrading PostgreSQL databases in Docker seamless.
介绍
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.
成员
已链接的账号
pgautoupgrade 持有其他平台上的下列账号:
代码库
docker-pgautoupgrade 星标数 1199 本周更新
A PostgreSQL Docker container that automatically upgrades your database
记录
pgautoupgrade 在 9个月前 加入。