mxcl/homebrew — pull request #12494 by lifepillar (2012-05-29 21:30:39+00:00)
Title: New formula: Postgres-XC

Postgres-XC is an open source project to provide a write-scalable, synchronous multi-master, transparent PostgreSQL cluster solution (see http://postgres-xc.sourceforge.net/).

A few notes:

* 32-bit architectures are not explicitly supported (see http://postgres-xc.sourceforge.net/docs/1_0/install-requirements.html) and I have not been able to make a 32-bit build anyway, so I have added 64-bit as a requirement.

* Postgres-XC and PostgreSQL are mutually exclusive, in the sense that they share a common subset of (non-equivalent) executables. Therefore, I have added a check (in the form of a dependency) in both the postgresql formula and the postgres-xc formula to block the installation process if the other formula is installed. Let me know if there is a better way to do that.

* The caveats follow the typical structure, but since there are four plists (one for each possible type of server node), they are quite long. Maybe they should be made less verbose.

* The formula has been tested with OS X Lion on Intel Core Duo and i5 processors.