I used to install and do:
$ sudo yum install -y postgresql94-server postgresql94
$ pg_dump -h name-of-db.us-east-1.rds.amazonaws.com -U user dbName > dump
After RDS upgrade to 9.5.2 I get this:
pg_dump: server version: 9.5.2; pg_dump version: 9.4.5
pg_dump: aborting because of server version mismatch
I can't find a proper package for Amazon Linux
This didn't help me: http://tecadmin.net/install-postgresql-9-5-on-centos/
Can you?
sudo yum remove postgresql92
before installing the new one. – Felony