Re: [Replica-hooks-discuss] Integrating Replication ino

From: alfranio correia junior <alfranio(at)lsd(dot)di(dot)uminho(dot)pt>
To: Markus Schiltknecht <markus(at)bluegap(dot)ch>
Cc: replica-hooks-discuss(at)pgfoundry(dot)org, José Orlando Pereira <jop(at)lsd(dot)di(dot)uminho(dot)pt>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [Replica-hooks-discuss] Integrating Replication ino
Date: 2006-11-24 11:53:24
Message-ID: 4566DD34.2070005@lsd.di.uminho.pt
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-advocacy pgsql-hackers

Hi !!!

> I still maintain the point that I want to check requirements first. For
> that I need a working prototype. And I'm easy with prototyping in C in
> the backend code. If there's really a requirement for hooks, I can add
> them and decouple from PostgreSQL source code later on.

I agree with you. You should build prototypes and try things in order to
figure out exactly what we need.
However, based on the experience that you already have in developing
such prototypes most likely there are different futures that would like
to see into PostgreSQL. What are they ?

> What do you currently base your hooks on? IMO it's just naive to expect
> to be able to define hooks now, especially hooks as general as you seem
> to be heading to (I've read about sync and async multi master
> replication, single master replication as well as materialized views).

You have "prototypes" built upon such hooks: sync and async, single
master and multi master. However, I am not arguing that hooks are the
solution to any problem. But they work for the limited view that we have
on the subject.

> Another point: modularization is nice and well, where appropriate. But
> here I don't see how it could help the user. Or do you expect users to
> plug in and out replication solutions like USB sticks? I think most
> users want to have *one* replication solution that works. Out of the
> box. Maybe they want one which can do sync as well as async replication,
> sure. But hooks don't give you that, nor do they make it any easier.

I don't expect that. But I would like to test different replication
protocols without patching the PostgreSQL. And I believe that we might
come up with a set of in-core features that would enable this.

Regards,

Alfranio.

In response to

Browse pgsql-advocacy by date

  From Date Subject
Next Message Florian G. Pflug 2006-11-24 15:21:11 Re: [Replica-hooks-discuss] Integrating Replication ino
Previous Message Brad Nicholson 2006-11-23 20:40:15 Re: Priority to a mission critical transaction

Browse pgsql-hackers by date

  From Date Subject
Next Message Stephen Harris 2006-11-24 12:20:52 Re: Shutting down a warm standby database in 8.2beta3
Previous Message Euler Taveira de Oliveira 2006-11-24 09:24:12 Re: Day and month name localization uses wrong locale category