摘要: os:ubunbu 16.04postgresql:9.6.8repmgr:4.1.1192.168.56.101 node1192.168.56.102 node2按照上一遍blog安装好 1 Primary + 1 Standby。编辑 /etc/sud... 阅读全文
posted @ 2018-09-24 21:36 peiybpeiyb 阅读(688) 评论(0) 推荐(0) 编辑
摘要: os:ubunbu 16.04postgresql:9.6.8repmgr:4.1.1192.168.56.101 node1192.168.56.102 node2安装 postgresql 9.6 软件node1、node2都需要使用 apt insta... 阅读全文
posted @ 2018-09-24 19:21 peiybpeiyb 阅读(713) 评论(0) 推荐(0) 编辑
摘要: os:ubunbu 16.04postgresql:9.6.8repmgr:4.1.1repmgr -f /etc/repmgr.conf --help$ repmgr -f /etc/repmgr.conf --helprepmgr: replicatio... 阅读全文
posted @ 2018-09-24 16:00 peiybpeiyb 阅读(763) 评论(0) 推荐(0) 编辑
摘要: 一些变量下列环境变量能被用于选择默认的连接参数值,如果调用代码没有直接指定值,它们将被用于PQconnectdb、PQsetdbLogin和PQsetdb。例如,这些有助于防止数据库连接信息被硬编码到简单的客户端应用中。PGHOST的行为和host连接参数相... 阅读全文
posted @ 2018-09-24 14:52 peiybpeiyb 阅读(1032) 评论(0) 推荐(0) 编辑