vitabaks / postgresql_cluster

Automated database platform for PostgreSQL® A modern, open-source alternative to cloud-managed databases.
https://postgresql-cluster.org
MIT License
1.83k stars 418 forks source link

pg_upgrade.yml: Use pg_old_dir for old psql binaries before upgrade #800

Closed vitabaks closed 1 week ago

vitabaks commented 2 weeks ago

Use the path to the old version of the psql binaries (pg_old_dir variable) before upgrading.

Fixed image

If a new PostgreSQL version was specified in the postgresql_version variable before running the upgrade procedure, an error occurred. We now explicitly use the old version, specified in the pg_old_version variable, before performing the upgrade.