cPanel does not support the latest Postgres versions as they say they only support the versions automatically distributed with AlmaLinux8 which only go to V9.x
When will Alma update Postgres to include V14.x in the distro?
# dnf module list PostgreSQL
CentOS Stream 8 - AppStream
Name Stream Profiles Summary
postgresql 9.6 client, server [d] PostgreSQL server and client module
postgresql 10 [d] client, server [d] PostgreSQL server and client module
postgresql 12 client, server [d] PostgreSQL server and client module
postgresql 13 client, server [d] PostgreSQL server and client module
“cPanel supports the version that gets installed with the /scripts/installpostgres command. On an AlmaLinux 8.6 server I just tested this with, that is version 9.6. Any other versions of that software may work, but would not be supported by cPanel or guaranteed to work with the cPanel interface tools.”
Red Hat develops CentOS Stream 8. Then they branch from that codeline at some point a separate line for a RHEL point update, which they refine further until they release the point update (and continue to add critical fixes on that line until they release the next RHEL point update – from new branch).
Red Hat releases the open sources that they build RHEL packages from. Alma is built from those same sources (of RHEL). Alma aims to be bug-for-bug compatible with RHEL. The CentOS Stream is not bug-for-bug compatible with any version of RHEL.
The cPanel apparently has no interest (currently) to support anything but Postgresql 9.6 (which is already EOL, unsupported) on RHEL 8. Therefore, the cPanel looks like a security liability to me.