postgres数据库的卸载

一:卸载旧版本
yum remove postgresql*

二:卸载postgres数据库
1:查询出postgres数据库
rpm -qa |grep postgres
2:卸载postgres数据库
rpm -e 查询出来的postgres版本号