PostgreSQL Replication之第十二章 与Postgres-XC一起工作(2)
2015-08-23 11:21 DataBases 阅读(332) 评论(0) 编辑 收藏 举报12.2安装 Postgres-XC
可以从 http://postgres-xc.sourceforge.net/下载Postgres-XC。对于本书,我们使用1.0.3版本的Postgres-XC。
要编译代码,我们必须使用如下命名提取代码;
tar xvfz pgxc-v1.0.3.tar.gz
然后,我们可以像标准PostgreSQL一样编译代码:
cd postgres-xc
./configure --prefix=/usr/local/postgres-xc
make
make install
一旦这被执行,我们可以继续并配置集群。