First install awx-rpm-manage
dnf install awx-rpm-manage
awx-rpm-manage update
awx-rpm-manage upgrade
as root:
systemctl stop postgresql.service
dnf -y module install postgresql:15
dnf install postgresql-upgrade
postgresql-setup --upgrade
vi /var/lib/pgsql/data/pg_hba.conf
Now change the line:
host all all 127.0.0.1/32 ident
into:
host all all 127.0.0.1/32 md5
then:
systemctl start postgresql.service
su postgres -c 'vacuumdb --all --analyze-in-stages'