Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

Postgres
| The world's most advanced open source database.

Site Navigation

Installation of Postgres-R

Please note that Postgres-R is not ready for productive use

Getting the Source Code of Postgres-R

Using git

Simply clone from git://git.postgres-r.org/Postgres-R and you are ready to go.

Using CVS and snapshot patches

Please get the Postgres source code via CVS first, as described in the Postgres manual. To make sure the patch applies cleanly, you might want to go back in history to the date of patch creation. Then the patches from below should apply cleanly as follows:

# cvs update -D YYYY-MM-DD
# patch -p0 < $POSTGRES-R.PATCH.YYYY-MM-DD

Compilation of Postgres-R

Postgres-R patches the configure script built from autoconf, however, it does so by manipulating configure.in only. You thus need to rerun autoconf (version 2.61 is currently recommended by Postgres). Cleaning up your build directory might also help if you run into troubles. Append an --enable-replication flag to your usual configure step for Postgres. For example:

# make distclean
# ./configure --enable-replication --enable-debug --enable-cassert
# make

Choosing a Group Communication System

For development of Postgres-R we are using an emulated group communication system, which is included in the patch under src/tools/egcs. You need python twisted to run it on a single node, all other nodes then connect to it. Note that such a setup only makes sense for testing.

Alternatively you can use ensemble, a real group communication system written in Objective Caml. Support for Spread is underway, but is not functional, yet. Other group communication systems are also considered. If you try with a real GCS, please make sure the GCS itself works as expected and that the nodes you set up can reach each other through it.

See Testing for some guidance on trying your Postgres-R Installation.


Project hosted by bluegap | Designed by Ronja Wanner and tinysofa
Copyright © 1996 – 2010 Postgres Global Development Group