This information is to build postgresql 9.1.X on a Redhat6 machine. postgresql9.1 will not officially be in a distro until Redhat7 and SLES 12, so for PCM to use it we need to build for the current Redhat6.3 which we will release xCAT/PCM produce.
cp postgresql-9.1.spec provided by xCAT in this directory to /root/rpmbuild/SPECS
6)If not building 9.1.5-1 then modifiy /root/rpmbuild/SPECS/postgresql-9.1.spec and change the VERSION: and RELEASE: line to match your level of postgresql.