rpm -qa | grep postgres で、インストールされているRPMパッケージを確認しておこう Postgresql 9.6 のインストールなら sudo yum install https://yum.postgresql.org/9.6/redhat/rhel-7-x86_64/pgdg-redhat96-9.6-3.noarch.rpm Postgresql 10.3 のインストールなら sudo yum install https://download.postgresql.org/pub/repos/yum/10/redhat/rhel-7-x86_64/pgdg-redhat10-10-2.noarch.rpm でyumパッケージダウンロード ※redhatとCentOS用が存在するみたいだけど、どちらでもいいのかも。RedHatにインストール時は気をつけよう Po