I've got a server running Fedora 28 that is primarily an RDBS host running PostgreSQL 10.7-1:
[Fedora 28]$ dnf list postgresql-server
Last metadata expiration check: 0:20:19 ago on Mon 12 Jul 2021 09:39:03 AM MDT.
Installed Packages
postgresql-server.x86_64 10.7-1.fc28 @updates
For reasons, we'd like to migrate that machine to CentOS 8 Stream, which, nicely, happens to be currently supporting 10.17.1:
[CentOS 8 Stream]$ dnf list postgresql-server
Last metadata expiration check: 0:00:08 ago on Mon 12 Jul 2021 09:58:15 AM MDT.
Available Packages
postgresql-server.x86_64 10.17-1.module_el8.5.0+827+770862af appstream
It seems to me that I may be able to replace the Fedora 28 repos with CentOS 8 Stream repos and do dnf upgrades, followed by a reboot.
Is this a huge risk? I'd like to preserve the Postgres data layout and simply fire it up again (perhaps with a few tweaks) rather than have to do a clean install from ISO.