by kneebonian · 3y ago · 0 comments
Asking because it's not supposed to be troublesome. In theory (!), minor version upgrades don't require any change to the on-disk data, so you should be able to just upgrade your PG binaries then restart the database.
In any case it's way more straightforward with mysql.
https://hub.docker.com/r/pgautoupgrade/pgautoupgrade
---
That being said, those pgautoupgrade images are alpine Linux based.
People coming from non-alpine Linux images of PostgreSQL will probably need that older not-automatic approach you linked to.