参考: (1)pgpool 流复制主从安装与配置(高可用、读写分离) (2)PostgreSQL 利用Pgpool-II的集群搭建方案 (3)pgpool-II 入门教程 (4)PG高可用及容灾方案介绍 (5)PGPool-II master/slave mode using caveat