postgresql 常用指令
查看postgresql当前状态
systemctl status postgresql-15.service
重启postgresql
systemctl restart postgresql-15.service
启动postgresql
systemctl start postgresql-15.service
停止服务
systemctl stop postgresql-15.service
设置开机自启
systemctl enable postgresql-15.service