Centos8环境postgresql12安装uuid-ossp postgresqlxx-contrib postgresqlxx-contrib Centos下使用postgresql得UUID-OSSP拓展要安装相应得contrib,postgresql12安装 postgresql12-contrib `yum install postgresql12-server postgresql12-contrib` 安装完成后 CREATE EXTENSION "uuid-ossp"; 至此便可使用 完结。