How to: Install PostgreSQL from packages
From xoa
First, in each file in /etc/yum.conf.d/ add exclude=postgresql
Then, get the repo definition:
wget http://yum.pgsqlrpms.org/reporpms/8.3/pgdg yum.pgsqlrpms.org/reporpms/8.3/pgdg-redhat-8.3-4.noarch.rpm
See also http://yum.pgsqlrpms.org/howtoyum.php
Here's how they're built: https://projects.commandprompt.com/public/pgcore/repo/rpm/redhat/8.3/postgresql/F-9/postgresql-8.3.spec
