CentOS7 安装 postgresql12

下载安装打开官方安装文档,选择系统版本和 pgsql 版本后,根据命令安装:yum install https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch.rp