Issue the following command from shell:

/scripts/installpostgres

Once this is done, you should configure postgresql from WHM:

SQL Services >> Postgres Config

That's it.