I need to use pg_dump for postgres 10.4 on my EC2 instance. My AMI version is:
$ cat /etc/system-release
Amazon Linux AMI release 2018.03
I've tried to get it from this repo: https://download.postgresql.org/pub/repos/yum/10/redhat/rhel-7-x86_64/pgdg-redhat10-10-2.noarch.rpm, then install postgres tools by command sudo yum install postgres10 but it works only for Amazon Linux 2.
Do you have any idea how can I get Postgres10 for my instance?