In RockyLinux 8.6 the default version of Postgresql is version 10 (see below). This version however is end of life since November 2022. Should the default therefore not be updated to a newer version?
I also noticed that the different versions are not updated regularly (and therefore missing some security updates)
Version 10
Latest version found in the Rocky Linux repos: 10.21.2
Latest version from Postgres: 10.23
Version 12
Latest version found in the Rocky Linux repos: 12.12.1
Latest version from Postgres: 12.13
Version 13
Lastest version found in the Rocky Linux repos: 13.7
Latest version from Postgres: 13.9
# dnf module list postgresql
Last metadata expiration check: 2:42:43 ago on Mon 09 Jan 2023 12:14:26 PM CET.
Rocky Linux 8 - AppStream
Name Stream Profiles Summary
postgresql 9.6 client, server [d] PostgreSQL server and client module
postgresql 10 [d][e] 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