PostgreSQL RPM repo now has support for RHEL 9 - aarch64, including all of the supported PostgreSQL versions as of today.
To use the repo and install PostgreSQL on this platform, please follow these steps:
Install the repo RPM first:
dnf -y install https://download.postgresql.org/pub/repos/yum/reporpms/EL-9-aarch64/pgdg-redhat-repo-latest.noarch.rpm
Disable PostgreSQL module of the OS (so that we can install our packages)
dnf -qy module disable postgresql
Install PostgreSQL as usual (change 15 for the PostgreSQL version that you want to install):
dnf -y install postgresql15-server postgresql15-contrib
Initialize the cluster:
postgresql-15-setup initdb
Start the new instance:
systemctl enable --now postgresql-15
Done!
If you have any questions, please either email to pgsql-pkg-yum@lists.postgresql.org, or create a ticket at our issue tracker.