Fixes #31486: Remove postgresql-devel during postgresql upgrade
If a user has postgresql-devel installed, the removal of postgresql will fail and prevent the upgrade from completing properly. All subsequent runs will continually fail.
Related issues
Bug #31486: Upgrade results in empty /var/opt/rh/rh-postgresql12/lib/pgsql/data which causes upgrade to fail
Fixes #31486: Remove postgresql-devel during postgresql upgrade
If a user has postgresql-devel installed, the removal of postgresql
will fail and prevent the upgrade from completing properly. All
subsequent runs will continually fail.