Question
Can I upgrade PostgreSQL on my server?
Answer
There is not currently a supported method of upgrading PostgreSQL. The version supported by cPanel is the default one from the operating system's repositories.
For reference, our documentation on this is available here.
There is an active feature request you may wish to vote and comment on here regarding custom PostgreSQL versions. There is another one for improved PostgreSQL support overall.