Supporting a PostgreSQL version newer than 10 years old

Operating System & Version
Centos 7.9
cPanel & WHM Version
96.0.9

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
5,316
686
313
cPanel Access Level
Root Administrator
Hey there! The page at PostgreSQL: Linux downloads (Red Hat family) is specifically using the PostGres repositories and not the CentOS repositories. So far, cPanel has only included support for the version of PostGres that is available directly from the operating system.

The official CentOS 7 repos still show version 9.2 as the latest supported version, so that's what we use:


There's some additional details from Lauren on the feature request here that you may also want to read: Improved PostgreSQL support
 

liebn0r

Active Member
Dec 7, 2017
41
1
8
USA
cPanel Access Level
Website Owner
Considering WHM doesn't seem to have extensive functionality when it comes to PostgreSQL anyway, is it safe to remove the WHM version and install and maintain a modern PostgreSQL version independently / outside of the cPanel installer? There is only 1 account on the server and we just want to be able to run PostgreSQL with PostGIS for our own application.
 

andrew.n

Well-Known Member
Jun 9, 2020
581
158
43
EU
cPanel Access Level
Root Administrator
I believe - though I haven't tested - that cPanel will seamlessly work with newer versions since as far as I know no major changes were introduced in 9.6 for example.