Re: integration of pgcluster into postgresql

Lists: pgsql-hackers
From: Chahine Hamila <chahine(dot)hamila(at)yahoo(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: integration of pgcluster into postgresql
Date: 2006-08-25 12:40:09
Message-ID: 20060825124009.3593.qmail@web57112.mail.re3.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Hi there,

I guess many - if not most - here have tried
pgcluster. For those who didn't, postgresql is pretty
much the equivalent of pgcluster configured without
load balancer or replicator, in read-write standalone
mode. From a user point of view, that's three maximum
additional configuration files, which can be basically
set to those default values and distributed as is in
standard (making installs/upgrades transparent to
non-cluster environments). From a developer point of
view, the pgcluster code is quite easy to take a hold
on.

pgcluster still has quite a few pending issues, but
it's good enough for many users. Integrating it as
part of a standard postgresql distribution would
likely not disrupt standard postgresql functionning,
while giving it the replication features it lacks as
is. It's also likely to accelerate its maturing by a
more widespread adoption and as a result overcome most
of its issues.

If the idea of its integration in the main postgresql
code is of any interest to the postgresql team, I'm
willing to invest some effort on it.

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


From: "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>
To: Chahine Hamila <chahine(dot)hamila(at)yahoo(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: integration of pgcluster into postgresql
Date: 2006-08-26 01:22:49
Message-ID: 20060826012249.GF73562@pervasive.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On Fri, Aug 25, 2006 at 05:40:09AM -0700, Chahine Hamila wrote:
> Hi there,
>
> I guess many - if not most - here have tried
> pgcluster. For those who didn't, postgresql is pretty

I think you need to guess again. :)

> much the equivalent of pgcluster configured without
> load balancer or replicator, in read-write standalone
> mode. From a user point of view, that's three maximum
> additional configuration files, which can be basically
> set to those default values and distributed as is in
> standard (making installs/upgrades transparent to
> non-cluster environments). From a developer point of
> view, the pgcluster code is quite easy to take a hold
> on.
>
> pgcluster still has quite a few pending issues, but
> it's good enough for many users. Integrating it as
> part of a standard postgresql distribution would
> likely not disrupt standard postgresql functionning,
> while giving it the replication features it lacks as
> is. It's also likely to accelerate its maturing by a
> more widespread adoption and as a result overcome most
> of its issues.
>
> If the idea of its integration in the main postgresql
> code is of any interest to the postgresql team, I'm
> willing to invest some effort on it.

First, you need to review all the past discussion about the very
intentional decision not to build any replication into the core
database.

Second, pgcluster is (AFAIK) command-based replication, which has some
very, very serious drawbacks. If PostgreSQL were to include a
replication solution, I'd certainly hope it wouldn't be command-based.

Finally, pgcluster is very out-of-date. The last version uses 8.0.1 and
was released on Mar. 7, 2005. If the author can't find the time to
maintain it, I don't see why that burden should be put on the shoulders
of this community.
--
Jim C. Nasby, Sr. Engineering Consultant jnasby(at)pervasive(dot)com
Pervasive Software http://pervasive.com work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461


From: "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com>
To: "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>
Cc: "Chahine Hamila" <chahine(dot)hamila(at)yahoo(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: integration of pgcluster into postgresql
Date: 2006-08-26 12:44:07
Message-ID: 36e682920608260544s50a14840qe1487d2814bd7a46@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

> Second, pgcluster is (AFAIK) command-based replication, which has some
> very, very serious drawbacks. If PostgreSQL were to include a
> replication solution, I'd certainly hope it wouldn't be command-based.

Support of PGCluster-I, which we're discussing here, is being dropped
in favor of the shared-disk PGCluster-II which was demonstrated at the
anniversary conference. IIRC, PGCluster-I does use command-based
replication but is merged into the parser in such a way as to make it
work quite well--unlike the man-in-the-middle approach taken by
pgpool.

> Finally, pgcluster is very out-of-date. The last version uses 8.0.1 and
> was released on Mar. 7, 2005. If the author can't find the time to
> maintain it, I don't see why that burden should be put on the shoulders
> of this community.

Umm, I don't know where you're looking Jim, but the last update was
February 10, 2006 and it's for PostgreSQL 8.1.1. Frankly, it has had
a very good track record of development and bug fixes... so let's not
make assumptions on (very large PostgreSQL) projects we're unfamiliar
with.

--
Jonah H. Harris, Software Architect | phone: 732.331.1300
EnterpriseDB Corporation | fax: 732.331.1301
33 Wood Ave S, 2nd Floor | jharris(at)enterprisedb(dot)com
Iselin, New Jersey 08830 | http://www.enterprisedb.com/


From: Markus Schiltknecht <markus(at)bluegap(dot)ch>
To: "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com>
Cc: "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>, Chahine Hamila <chahine(dot)hamila(at)yahoo(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: integration of pgcluster into postgresql
Date: 2006-08-26 13:06:59
Message-ID: 44F04773.2090304@bluegap.ch
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Jonah H. Harris wrote:
> Support of PGCluster-I, which we're discussing here, is being dropped
> in favor of the shared-disk PGCluster-II which was demonstrated at the
> anniversary conference. IIRC, PGCluster-I does use command-based
> replication but is merged into the parser in such a way as to make it
> work quite well--unlike the man-in-the-middle approach taken by
> pgpool.

Didn't Atsushi Mitani say he wanted to continue PgCluster-I? As they
serve quite different needs that would make sense.

Regards

Markus


From: "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com>
To: "Markus Schiltknecht" <markus(at)bluegap(dot)ch>
Cc: "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>, "Chahine Hamila" <chahine(dot)hamila(at)yahoo(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: integration of pgcluster into postgresql
Date: 2006-08-26 14:10:57
Message-ID: 36e682920608260710r51bb2506ubfacd0ec10622d2b@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On 8/26/06, Markus Schiltknecht <markus(at)bluegap(dot)ch> wrote:
> Didn't Atsushi Mitani say he wanted to continue PgCluster-I? As they
> serve quite different needs that would make sense.

Hmm... I was pretty sure he said that he couldn't devote time to both projects.

--
Jonah H. Harris, Software Architect | phone: 732.331.1300
EnterpriseDB Corporation | fax: 732.331.1301
33 Wood Ave S, 2nd Floor | jharris(at)enterprisedb(dot)com
Iselin, New Jersey 08830 | http://www.enterprisedb.com/


From: Chahine Hamila <chahine(dot)hamila(at)yahoo(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Cc: "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com>, "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>
Subject: Re: integration of pgcluster into postgresql
Date: 2006-08-26 18:18:04
Message-ID: 20060826181804.11951.qmail@web57102.mail.re3.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

> Support of PGCluster-I, which we're discussing here,
> is being dropped
> in favor of the shared-disk PGCluster-II which was
> demonstrated at the
> anniversary conference. IIRC, PGCluster-I does use
> command-based
> replication but is merged into the parser in such a
> way as to make it
> work quite well--unlike the man-in-the-middle
> approach taken by
> pgpool.

A shared disk approach doesn't fullfill the needs of
everyone. So I guess PGCluster I and II would answer
different needs and can co-exist.

>
> > Finally, pgcluster is very out-of-date. The last
> version uses 8.0.1 and
> > was released on Mar. 7, 2005. If the author can't
> find the time to
> > maintain it, I don't see why that burden should be
> put on the shoulders
> > of this community.
>
> Umm, I don't know where you're looking Jim, but the
> last update was
> February 10, 2006 and it's for PostgreSQL 8.1.1.
> Frankly, it has had
> a very good track record of development and bug
> fixes... so let's not
> make assumptions on (very large PostgreSQL) projects
> we're unfamiliar
> with.

8.1.2 actually, which I have updated to apply to
8.1.4. I posted a patch on the pgcluster mailing list
but I already have two significant fixes related to
pgcluster and one minor change related to the upgrade
itself. I am to use PGCluster in a real time embedded
fault-tolerant system, so I'm likely to emit a few
more patches in the way to make it more robust and
performant on some aspects. That said, my company
would feel more confortable with the idea that it's
part of the postgresql mainstream distro for many
obvious reasons - or we might drop postgresql
altogether - which is why I'm proposing myself to do
the necessary work to integrate it in postgresql if
there's interest.

It's pretty non intrusive for your average postgresql
user who won't see a difference, and very little so
for a postgresql developer. At the same time, anyone
wanting replication will have that option in standard.
It's all benefits. So, should I give it a try?

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


From: "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>
To: "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com>
Cc: Chahine Hamila <chahine(dot)hamila(at)yahoo(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: integration of pgcluster into postgresql
Date: 2006-08-26 22:56:09
Message-ID: 20060826225608.GK73562@pervasive.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On Sat, Aug 26, 2006 at 08:44:07AM -0400, Jonah H. Harris wrote:
> >Second, pgcluster is (AFAIK) command-based replication, which has some
> >very, very serious drawbacks. If PostgreSQL were to include a
> >replication solution, I'd certainly hope it wouldn't be command-based.
>
> Support of PGCluster-I, which we're discussing here, is being dropped
> in favor of the shared-disk PGCluster-II which was demonstrated at the
> anniversary conference. IIRC, PGCluster-I does use command-based
> replication but is merged into the parser in such a way as to make it
> work quite well--unlike the man-in-the-middle approach taken by
> pgpool.

Ahh, I didn't realize that. Good to know.

> >Finally, pgcluster is very out-of-date. The last version uses 8.0.1 and
> >was released on Mar. 7, 2005. If the author can't find the time to
> >maintain it, I don't see why that burden should be put on the shoulders
> >of this community.
>
> Umm, I don't know where you're looking Jim, but the last update was
> February 10, 2006 and it's for PostgreSQL 8.1.1. Frankly, it has had
> a very good track record of development and bug fixes... so let's not
> make assumptions on (very large PostgreSQL) projects we're unfamiliar
> with.

http://pgcluster.projects.postgresql.org/; the latest date I see there
is Mar. 7, 2005, and the newest version is 8.0.1.
--
Jim C. Nasby, Sr. Engineering Consultant jnasby(at)pervasive(dot)com
Pervasive Software http://pervasive.com work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461


From: "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>
To: Chahine Hamila <chahine(dot)hamila(at)yahoo(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org, "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com>
Subject: Re: integration of pgcluster into postgresql
Date: 2006-08-26 22:59:03
Message-ID: 20060826225902.GL73562@pervasive.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On Sat, Aug 26, 2006 at 11:18:04AM -0700, Chahine Hamila wrote:

> 8.1.2 actually, which I have updated to apply to
> 8.1.4. I posted a patch on the pgcluster mailing list
> but I already have two significant fixes related to
> pgcluster and one minor change related to the upgrade
> itself. I am to use PGCluster in a real time embedded
> fault-tolerant system, so I'm likely to emit a few
> more patches in the way to make it more robust and
> performant on some aspects. That said, my company
> would feel more confortable with the idea that it's
> part of the postgresql mainstream distro for many
> obvious reasons - or we might drop postgresql
> altogether - which is why I'm proposing myself to do

If they're that concerned, why don't they just pay for something like
mammouth replicator? Or pay someone for a support contract.

> the necessary work to integrate it in postgresql if
> there's interest.
>
> It's pretty non intrusive for your average postgresql
> user who won't see a difference, and very little so
> for a postgresql developer. At the same time, anyone
> wanting replication will have that option in standard.
> It's all benefits. So, should I give it a try?

From an advocacy standpoint, I'd love to see built-in replication... but
I just don't see it happening. The communities been pretty clear on
this...
--
Jim C. Nasby, Sr. Engineering Consultant jnasby(at)pervasive(dot)com
Pervasive Software http://pervasive.com work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461


From: "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com>
To: "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>
Cc: "Chahine Hamila" <chahine(dot)hamila(at)yahoo(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: integration of pgcluster into postgresql
Date: 2006-08-27 02:50:26
Message-ID: 36e682920608261950t4b271ef2pc5ff1aa7830525b@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Caution! Blatant use of sarcasm ahead.

On 8/26/06, Jim C. Nasby <jnasby(at)pervasive(dot)com> wrote:
> > Umm, I don't know where you're looking Jim, but the last update was
> > February 10, 2006
>
> http://pgcluster.projects.postgresql.org/; the latest date I see there
> is Mar. 7, 2005, and the newest version is 8.0.1.

<sarcasm>
*Everyone* knows that pgfoundry is the source for all things
PostgreSQL! Google has led you astray... pgfoundry is the search
engine of the future. Don't trust the top Google links my friend!
</sarcasm>

In all reality, I'm just kiddin' with ya Jim. I have to be sarcastic
as I've been beaten lately (by multiple people) into believing that
everyone knows about and uses pgfoundry :( For gory details see
"[PATCHES] Adding fulldisjunctions to the contrib".

Nevertheless, here's the new link to PGCluster:

http://pgfoundry.org/projects/pgcluster

/me is done writing emails for the night. Being sick is a killer on
my patience and email diplomacy :(

-Jonah


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Chahine Hamila <chahine(dot)hamila(at)yahoo(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org, "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com>, "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>
Subject: Re: integration of pgcluster into postgresql
Date: 2006-08-27 04:22:53
Message-ID: 17446.1156652573@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Chahine Hamila <chahine(dot)hamila(at)yahoo(dot)com> writes:
> I posted a patch on the pgcluster mailing list
> but I already have two significant fixes related to
> pgcluster and one minor change related to the upgrade
> itself. I am to use PGCluster in a real time embedded
> fault-tolerant system, so I'm likely to emit a few
> more patches in the way to make it more robust and
> performant on some aspects.

That all sounds great.

> That said, my company
> would feel more confortable with the idea that it's
> part of the postgresql mainstream distro for many
> obvious reasons - or we might drop postgresql
> altogether - which is why I'm proposing myself to do
> the necessary work to integrate it in postgresql if
> there's interest.

The core development team has only a very finite number of cycles
available. Would you rather we spend our time on fixing pgcluster
than on fixing the core Postgres database?

My take on all this is that there's no one-size-fits-all replication
solution, and therefore the right approach is to have multiple active
subprojects. pgcluster sounds like it's steaming along nicely where
it is.

regards, tom lane


From: "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "Chahine Hamila" <chahine(dot)hamila(at)yahoo(dot)com>, pgsql-hackers(at)postgresql(dot)org, "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>
Subject: Re: integration of pgcluster into postgresql
Date: 2006-08-27 04:59:11
Message-ID: 36e682920608262159m7da6b074ld5c26f176f13f2e7@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On 8/27/06, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> My take on all this is that there's no one-size-fits-all replication
> solution, and therefore the right approach is to have multiple active
> subprojects.

Can't help but agree there. Maybe someday the subprojects will get
together and come up with a standard framework each of them could
use... but PGCluster, as good as it is, certainly doesn't address much
of the replication arena; primarily asynchronous replication for both
multimaster and master-slave.

--
Jonah H. Harris, Software Architect | phone: 732.331.1300
EnterpriseDB Corporation | fax: 732.331.1301
33 Wood Ave S, 2nd Floor | jharris(at)enterprisedb(dot)com
Iselin, New Jersey 08830 | http://www.enterprisedb.com/


From: Gregory Stark <stark(at)enterprisedb(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Chahine Hamila <chahine(dot)hamila(at)yahoo(dot)com>, pgsql-hackers(at)postgresql(dot)org, "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com>, "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>
Subject: Re: integration of pgcluster into postgresql
Date: 2006-08-27 07:40:30
Message-ID: 87irkemxsh.fsf@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> writes:

>> That said, my company would feel more confortable with the idea that it's
>> part of the postgresql mainstream distro for many obvious reasons - or we
>> might drop postgresql altogether - which is why I'm proposing myself to do
>> the necessary work to integrate it in postgresql if there's interest.
>
> The core development team has only a very finite number of cycles available.
> Would you rather we spend our time on fixing pgcluster than on fixing the
> core Postgres database?

I'm beginning to wonder whether it would be better from a PR perspective to
rename pgfoundry to something like modules.postgresql.org. While "modules"
isn't necessarily technically right in postgresql vocabulary it's right in the
more general sense

And it doesn't imply the pieces of code are still in progress like
"projects.postgresql.org" might and doesn't give the impression that they're
living on their own without support from other postgres people like having a
separate domain does.

--
Gregory Stark
EnterpriseDB http://www.enterprisedb.com


From: "Guillaume Smet" <guillaume(dot)smet(at)gmail(dot)com>
To: "Gregory Stark" <stark(at)enterprisedb(dot)com>
Cc: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Chahine Hamila" <chahine(dot)hamila(at)yahoo(dot)com>, pgsql-hackers(at)postgresql(dot)org, "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com>, "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>
Subject: Re: integration of pgcluster into postgresql
Date: 2006-08-27 10:16:12
Message-ID: 1d4e0c10608270316m3ea91d5at1b6d5b94384a9054@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On 8/27/06, Gregory Stark <stark(at)enterprisedb(dot)com> wrote:
> I'm beginning to wonder whether it would be better from a PR perspective to
> rename pgfoundry to something like modules.postgresql.org. While "modules"
> isn't necessarily technically right in postgresql vocabulary it's right in the
> more general sense
>
> And it doesn't imply the pieces of code are still in progress like
> "projects.postgresql.org" might and doesn't give the impression that they're
> living on their own without support from other postgres people like having a
> separate domain does.

I don't know what the name should be but we should at least be
consistent between pgFoundry and websites hosted on pgFoundry.

Currently we have http://pgcluster.projects.postgresql.org/ for the
website hosted on pgFoundry and
http://pgfoundry.org/projects/pgcluster for the project itself (yes,
Jonah, they are both pgFoundry stuff, it's just that the website is
probably not maintained by pgcluster staff currently).

I agree with Gregory that renaming pgfoundry.org to
[whatever].postgresql.org could be a good idea to make it more
"official". And project sites should keep their
projectname.[whatever].postgresql.org address.

--
Guillaume


From: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Chahine Hamila <chahine(dot)hamila(at)yahoo(dot)com>, pgsql-hackers(at)postgresql(dot)org, "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com>, "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>
Subject: Re: integration of pgcluster into postgresql
Date: 2006-08-27 14:51:16
Message-ID: 44F1B164.8050304@pse-consulting.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Tom Lane wrote:
>
> My take on all this is that there's no one-size-fits-all replication
> solution, and therefore the right approach is to have multiple active
> subprojects.
Anybody knowing a little about the world of replication needs will
agree with you here. Unfortunately, AFAICS pgcluster can't be added as
module as e.g. Slony-I, since it's rather a not-so-small patch to the
pgsql sources. So I wonder if it's possible to provide some
not-too-intrusive hooks in core pgsql, enabling pgcluster to do most of
the work in modules, to have the best of both worlds: core with as few
modifications as possible, and modules extending the operation,
profiting from backend development immediately.

Regards,
Andreas


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>
Cc: Chahine Hamila <chahine(dot)hamila(at)yahoo(dot)com>, pgsql-hackers(at)postgresql(dot)org, "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com>, "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>
Subject: Re: integration of pgcluster into postgresql
Date: 2006-08-27 16:47:12
Message-ID: 1378.1156697232@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Andreas Pflug <pgadmin(at)pse-consulting(dot)de> writes:
> Tom Lane wrote:
>> My take on all this is that there's no one-size-fits-all replication
>> solution, and therefore the right approach is to have multiple active
>> subprojects.

> Anybody knowing a little about the world of replication needs will
> agree with you here. Unfortunately, AFAICS pgcluster can't be added as
> module as e.g. Slony-I, since it's rather a not-so-small patch to the
> pgsql sources. So I wonder if it's possible to provide some
> not-too-intrusive hooks in core pgsql, enabling pgcluster to do most of
> the work in modules, to have the best of both worlds: core with as few
> modifications as possible, and modules extending the operation,
> profiting from backend development immediately.

I don't have any objection in principle to adding hooks that're needed
by replication projects. But again, I don't want the core project to be
seen as favoring some replication projects over others. So I'd want to
see some kind of joint proposal by multiple replication projects about
what hooks to add. Anybody out there want to organize such a thing?

regards, tom lane


From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Andreas Pflug <pgadmin(at)pse-consulting(dot)de>, Chahine Hamila <chahine(dot)hamila(at)yahoo(dot)com>, "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com>, "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>
Subject: Re: integration of pgcluster into postgresql
Date: 2006-08-27 17:07:39
Message-ID: 200608271907.41104.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Tom Lane wrote:
> So I'd want to see some kind of joint proposal by multiple
> replication projects about what hooks to add. Anybody out there want
> to organize such a thing?

Well, at least the pgcluster group could come up with a rough list of
required hooks, and then the other groups can judge whether that list
can be shaped into something universally useful or whether it's
completely useless to them.
--
Peter Eisentraut
http://developer.postgresql.org/~petere/


From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Andreas Pflug <pgadmin(at)pse-consulting(dot)de>, Chahine Hamila <chahine(dot)hamila(at)yahoo(dot)com>, "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com>, "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>
Subject: Re: integration of pgcluster into postgresql
Date: 2006-08-27 17:40:48
Message-ID: 20060827174048.GB14525@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Peter Eisentraut wrote:
> Tom Lane wrote:
> > So I'd want to see some kind of joint proposal by multiple
> > replication projects about what hooks to add. Anybody out there want
> > to organize such a thing?
>
> Well, at least the pgcluster group could come up with a rough list of
> required hooks, and then the other groups can judge whether that list
> can be shaped into something universally useful or whether it's
> completely useless to them.

... or the pgcluster group could check the hook list posted by the GORDA
project guys. In fact IIRC that patch was committed already, without
much discussion?

--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.


From: "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com>
To: "Peter Eisentraut" <peter_e(at)gmx(dot)net>, pgsql-hackers(at)postgresql(dot)org, "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Andreas Pflug" <pgadmin(at)pse-consulting(dot)de>, "Chahine Hamila" <chahine(dot)hamila(at)yahoo(dot)com>, "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com>, "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>
Subject: Re: integration of pgcluster into postgresql
Date: 2006-08-27 17:45:00
Message-ID: 36e682920608271045w6e33ff10l517e37e91744f153@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On 8/27/06, Alvaro Herrera <alvherre(at)commandprompt(dot)com> wrote:
> ... or the pgcluster group could check the hook list posted by the GORDA
> project guys. In fact IIRC that patch was committed already, without
> much discussion?

I thought the GORDA patch got turned down because there was no
communication between replication providers. Although, I do like the
trigger hooks GORDA provides.

--
Jonah H. Harris, Software Architect | phone: 732.331.1300
EnterpriseDB Corporation | fax: 732.331.1301
33 Wood Ave S, 2nd Floor | jharris(at)enterprisedb(dot)com
Iselin, New Jersey 08830 | http://www.enterprisedb.com/


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com>
Cc: "Peter Eisentraut" <peter_e(at)gmx(dot)net>, pgsql-hackers(at)postgresql(dot)org, "Andreas Pflug" <pgadmin(at)pse-consulting(dot)de>, "Chahine Hamila" <chahine(dot)hamila(at)yahoo(dot)com>, "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>
Subject: Re: integration of pgcluster into postgresql
Date: 2006-08-27 19:44:16
Message-ID: 9776.1156707856@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

"Jonah H. Harris" <jonah(dot)harris(at)gmail(dot)com> writes:
> On 8/27/06, Alvaro Herrera <alvherre(at)commandprompt(dot)com> wrote:
>> ... or the pgcluster group could check the hook list posted by the GORDA
>> project guys. In fact IIRC that patch was committed already, without
>> much discussion?

> I thought the GORDA patch got turned down because there was no
> communication between replication providers.

Exactly; we asked for some evidence that these particular hook
definitions were generally useful. So it seems like a joint
pgcluster/GORDA/Slony proposal would go over a lot better.

regards, tom lane


From: Chahine Hamila <chahine(dot)hamila(at)yahoo(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, Andreas Pflug <pgadmin(at)pse-consulting(dot)de>, Chahine Hamila <chahine(dot)hamila(at)yahoo(dot)com>, "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com>
Subject: Re: integration of pgcluster into postgresql
Date: 2006-08-28 01:47:14
Message-ID: 20060828014714.27202.qmail@web57103.mail.re3.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

The idea of hooks sounds quite good to me indeed. The
issue is not PR, it's indeed pgcluster benefiting from
the maintenance of postgresql and avoiding the hassle
of having to resync its code at each postgresql
change.
I will propose something along those lines once I get
a more stable pgcluster and have a better grasp at all
details of its code.
I could send a mail to the slony and gorda people at
that point to see if they're interested in
coordinating efforts.

--- Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:

> "Jonah H. Harris" <jonah(dot)harris(at)gmail(dot)com> writes:
> > On 8/27/06, Alvaro Herrera
> <alvherre(at)commandprompt(dot)com> wrote:
> >> ... or the pgcluster group could check the hook
> list posted by the GORDA
> >> project guys. In fact IIRC that patch was
> committed already, without
> >> much discussion?
>
> > I thought the GORDA patch got turned down because
> there was no
> > communication between replication providers.
>
> Exactly; we asked for some evidence that these
> particular hook
> definitions were generally useful. So it seems like
> a joint
> pgcluster/GORDA/Slony proposal would go over a lot
> better.
>
> regards, tom lane
>

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


From: Andrew Sullivan <ajs(at)crankycanuck(dot)ca>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: integration of pgcluster into postgresql
Date: 2006-09-05 14:58:40
Message-ID: 20060905145840.GA29192@phlogiston.dyndns.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On Sun, Aug 27, 2006 at 12:47:12PM -0400, Tom Lane wrote:
> see some kind of joint proposal by multiple replication projects about
> what hooks to add. Anybody out there want to organize such a thing?

We were attempting to define such a set of hooks as part of the
Slony-II work, but that sort of fell off the rails. I am very
strongly in favour of such a framework, though, and would love to see
it.

I am willing to do the co-ordination and "project management" slog
work on this if those who need the hooks are willing to work on a set
of common definitions. If anyone would like that, please let me
know. If people want to contact me off-list, that's also fine; I'll
summarise.

A

--
Andrew Sullivan | ajs(at)crankycanuck(dot)ca
Everything that happens in the world happens at some place.
--Jane Jacobs