This repository has been archived by the owner. It is now read-only.

New formula: Postgres-XC #12494

Closed
wants to merge 4 commits into
from

Conversation

Projects
None yet
4 participants
@lifepillar
Contributor

lifepillar commented May 29, 2012

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.
  • I have kept the changes to the postgresql formula in a separate commit. Let me know if you want them squashed.
  • The formula has been tested with OS X Lion on Intel Core Duo and i5 processors.
@adamv

This comment has been minimized.

Show comment Hide comment
@adamv

adamv May 29, 2012

Contributor

I am -1 on including this in core.

Contributor

adamv commented May 29, 2012

I am -1 on including this in core.

@lifepillar

This comment has been minimized.

Show comment Hide comment
@lifepillar

lifepillar May 29, 2012

Contributor

Can you elaborate a bit on the reasons?

Contributor

lifepillar commented May 29, 2012

Can you elaborate a bit on the reasons?

@adamv

This comment has been minimized.

Show comment Hide comment
@adamv

adamv May 29, 2012

Contributor
  • Is the "beta" version considered "stable"?
  • Instead of all the plists, the caveats could link to an external wiki with setup instructions.
  • Let's not add the requirement to Postgres itself (we don't add conflicts to the MySQL formula, for instance.)
Contributor

adamv commented May 29, 2012

  • Is the "beta" version considered "stable"?
  • Instead of all the plists, the caveats could link to an external wiki with setup instructions.
  • Let's not add the requirement to Postgres itself (we don't add conflicts to the MySQL formula, for instance.)
Lifepillar
Add new formula: Postgres-XC 1.0beta2.
Postgres-XC is an open source project to provide a write-scalable,
synchronous multi-master, transparent PostgreSQL cluster solution.
It is a collection if tightly coupled database components which
can be installed in more than one hardware or virtual machines.

This formula has been tested with OS X Lion on Intel Core Duo and i5 processors.
@lifepillar

This comment has been minimized.

Show comment Hide comment
@lifepillar

lifepillar May 30, 2012

Contributor
  • 1.0beta2 is the default (so—I've assumed—the recommended) download from Sourceforge. Actually, the latest “stable” (0.9.7) is not even listed at http://postgres-xc.sourceforge.net/. But I understand your concern: you may close this pull request or leave it pending, as you see fit, until 1.0 comes out (I would prefer it to stay open, so people can find it and pull it if they want).
  • Good idea. I will modify the caveats after such a page becomes available.
  • Fixed.
Contributor

lifepillar commented May 30, 2012

  • 1.0beta2 is the default (so—I've assumed—the recommended) download from Sourceforge. Actually, the latest “stable” (0.9.7) is not even listed at http://postgres-xc.sourceforge.net/. But I understand your concern: you may close this pull request or leave it pending, as you see fit, until 1.0 comes out (I would prefer it to stay open, so people can find it and pull it if they want).
  • Good idea. I will modify the caveats after such a page becomes available.
  • Fixed.
@michaelpq

This comment has been minimized.

Show comment Hide comment
@michaelpq

michaelpq May 30, 2012

Contributor

The current version 1.0beta2 is not complelely stable, and you will not be able to compile the code on mac osx. However, we have added some fixes in our code like this one: postgres-x2/postgres-x2@e66ae01 which make XC compile naturally on MacOS.
We are planning to release the version 1.0.0 sometime next week if there are no problems, so you should wait a bit...

Contributor

michaelpq commented May 30, 2012

The current version 1.0beta2 is not complelely stable, and you will not be able to compile the code on mac osx. However, we have added some fixes in our code like this one: postgres-x2/postgres-x2@e66ae01 which make XC compile naturally on MacOS.
We are planning to release the version 1.0.0 sometime next week if there are no problems, so you should wait a bit...

@lifepillar

This comment has been minimized.

Show comment Hide comment
@lifepillar

lifepillar May 30, 2012

Contributor

Ok, so let's wait for the stable release. I just want to point out that the formula currently patches 1.0beta2 (by applying the commit you mention), and it builds successfully.

When 1.0.0 comes out, would it be possible to add a page on your wiki with OS X specific post-installation setup instructions (essentially, what's in the caveats now)?

Contributor

lifepillar commented May 30, 2012

Ok, so let's wait for the stable release. I just want to point out that the formula currently patches 1.0beta2 (by applying the commit you mention), and it builds successfully.

When 1.0.0 comes out, would it be possible to add a page on your wiki with OS X specific post-installation setup instructions (essentially, what's in the caveats now)?

@michaelpq

This comment has been minimized.

Show comment Hide comment
@michaelpq

michaelpq May 30, 2012

Contributor

The wiki of the project is on SourceForge, that will be manageable.

Contributor

michaelpq commented May 30, 2012

The wiki of the project is on SourceForge, that will be manageable.

Lifepillar
Add new formula: Postgres-XC 1.0beta2.
Postgres-XC is an open source project to provide a write-scalable,
synchronous multi-master, transparent PostgreSQL cluster solution.
It is a collection if tightly coupled database components which
can be installed in more than one hardware or virtual machines.

This formula has been tested with OS X Lion on Intel Core Duo and i5 processors.
@lifepillar

This comment has been minimized.

Show comment Hide comment
@lifepillar

lifepillar Jun 2, 2012

Contributor

I have made the caveats somewhat shorter.

Contributor

lifepillar commented Jun 2, 2012

I have made the caveats somewhat shorter.

@michaelpq

This comment has been minimized.

Show comment Hide comment
@michaelpq

michaelpq Jun 8, 2012

Contributor

1.0.0 is out.
You should update to it.

Contributor

michaelpq commented Jun 8, 2012

1.0.0 is out.
You should update to it.

@jaytaylor

This comment has been minimized.

Show comment Hide comment
@jaytaylor

jaytaylor Jul 30, 2012

Was this pull request ever completed? I am +1 for it.

Was this pull request ever completed? I am +1 for it.

@michaelpq

This comment has been minimized.

Show comment Hide comment
@michaelpq

michaelpq Jul 31, 2012

Contributor

AFAIK, nothing has been done yet.

Contributor

michaelpq commented Jul 31, 2012

AFAIK, nothing has been done yet.

Lifepillar
Upgrade formula: Postgres-XC 1.0.1.
Model the code (dependencies, patches, options, ...)
upon the PostgreSQL formula.

Tested in the following environment:

HOMEBREW_VERSION: 0.9.3
HEAD: 9e8f3e9
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: quad-core 64-bit sandybridge
OS X: 10.8.2-x86_64
Xcode: 4.5.2
CLT: 4.5.0.0.1.1249367152
LLVM-GCC: build 2336
Clang: 4.1 build 421
X11: 2.7.4 => /opt/X11
System Ruby: 1.8.7-358
Perl: /usr/bin/perl
Python: /usr/bin/python
Ruby: /Users/lifepillar/.rbenv/shims/ruby

@lifepillar lifepillar closed this Dec 31, 2012

@lifepillar

This comment has been minimized.

Show comment Hide comment
@lifepillar

lifepillar Dec 31, 2012

Contributor

I have opened a new pull request for 1.0.1.

Contributor

lifepillar commented Dec 31, 2012

I have opened a new pull request for 1.0.1.

@xu-cheng xu-cheng locked and limited conversation to collaborators Feb 16, 2016

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.