-
postgresql 12
https://ken.io/note/centos7-postgresql12-install-and-configuration
导入yum源sudo yum install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm
安装PostgreSQL服务
sudo yum install -y postgresql12 postgresql12-server
postgresql 14
https://www.jianshu.com/p/c6521a64cbdd
遇到的问题: postgres uuid_generate_v4() does not exist
解决方案:sudo yum install postgresql14-contrib
-