摘要:
首先下载PostgreSQL9.1,安装到主备Linux服务器上1. 修改/opt/PostgreSQL/9.1/data/postgresq.conf文件(配置主服务器) wal_level = hot_standbymax_wal_senders = 1wal_keep_segments = 32archive_mode = on archive_command = 'cp%p /path_to/archive/%f'2. 修改/opt/PostgreSQL/9.1/data/pg_hba.conf文件(设置访问权限)Host replication postgres St 阅读全文