
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
一旦这被执行,我们可以继续并配置集群。