Background
I'm planning to set up a PostgreSQL/PostGIS server on RHEL 9.4 as part of migration work from an older version of RHEL and am comparing upgrade paths from a stability perspective.
If I understand correctly, there are two ways to install PostgreSQL and PostGIS on RHEL9:
Option 1: Use the PostgreSQL repository
Install both PostgreSQL (postgresqlNN-server) and PostGIS (postgisNN_MM) from the official PostgreSQL repository (pgdgNN).
This option follows the maintenance cycle of PostgreSQL and PostGIS.
Option 2: Use the RHEL9 and EPEL repositories
Install PostgreSQL (postgresql) from Red Hat Application Streams and PostGIS (postgis) from EPEL.
Red Hat provides multiple versions of PostgreSQL:
- PostgreSQL 13: Delivered via the RHEL 9 Full Life Application Streams channel and supported until RHEL9’s EOL (2032-05).
- PostgreSQL 15, 16: Delivered via RHEL 9 Application Streams with shorter lifespans, reaching EOL in 2028-05 and 2029-05 respectively.
For PostGIS, upgrades are provided by EPEL on a best-effort basis due to the community-driven nature of the project. That said, EPEL maintainers strive to maintain packages until the RHEL EOL.
From the EPEL FAQ:
How long are EPEL packages updated?
Ideally, EPEL packages are maintained as long as the corresponding RHEL release is supported. However, EPEL is a volunteer effort, and a package maintainer can retire their EPEL branch at any time.
Question
I'm considering using EPEL PostGIS because it complements Red Hat-provided PostgreSQL, which offers a long lifecycle (PostgreSQL 13 supported until 2032). However, I'm concerned about the long-term compatibility of EPEL packages with Red Hat-provided software, especially after upstream versions (e.g., PostgreSQL or PostGIS) reach EOL.
In my case, the upstream PostgreSQL will reach EOL in 2025-11, and looking at the PostgreSQL-PostGIS compatibility chart and extrapolating the trend, I expect that PostGIS will drop support for PostgreSQL 13 in upcoming releases.
How are EPEL packages like PostGIS typically maintained in such scenarios, especially when tied to Red Hat-provided software with a longer lifecycle?
Specifically:
- Will the EPEL version of PostGIS continue to receive updates to remain compatible with PostgreSQL 13 until RHEL9's EOL?
- Is there precedent or standard practice for EPEL packages to backport changes from upstream versions in cases like this?