>> So I downloaded pgdg-redhat-9.1-4.noarch.rpm into a directory from http://yum.postgresql.org/9.1/redhat/rhel-5-x86_64/pgdg-redhat-9.1-4.noarch.rpm.
>>
>> Then I tried to install it with:
>>
>> rpm -i http://yum.postgresql.org/9.1/redhat/rhel-5-x86_64/pgdg-redhat-9.1-4.noarch.rpm
>
> First, why download it, then run rpm on the remote URL instead of the local file?
>
> Craig Ringer
Only because that seems to be exactly what the instructions tell one to do.
ˉ