postgresql怎样查看数据库是否处于主从结构

执行以下命令:

ps aux | grep postgres

如出现postgres: wal receiver process说明此节点的数据库处于从服务器状态,无法进行修改。

posted @ 2019-02-12 23:11  epiphanyy  阅读(28)  评论(0)    收藏  举报  来源