不灭的焱

加密类型:SHA/AES/RSA下载Go
复合类型:切片(slice)、映射(map)、指针(pointer)、函数(function)、通道(channel)、接口(interface)、数组(array)、结构体(struct) Go类型+零值nil
引用类型:切片(slice)、映射(map)、指针(pointer)、函数(function)、通道(channel) Go引用

作者:AlbertWen  添加时间:2025-03-29 20:13:09  修改时间:2025-12-05 18:12:58  分类:06.Linux软件安装  编辑

1、查看服务状态并停止服务

systemctl status postgresql
systemctl stop postgresql
systemctl disable postgresql

2、使用 YUM 命令卸载 PostgreSQL

yum remove postgresql*

3、验证 RPM 包是否卸载干净

rpm -qa | grep postgresql

4、删除 PostgreSQL 数据文件和配置文件目录(非必要)

rm -rf /var/lib/pgsql