Re: Integrating Replication into Core

From: Jeff Davis <pgsql(at)j-davis(dot)com>
To: Markus Schiltknecht <markus(at)bluegap(dot)ch>
Cc: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>, Shane Ambler <pgsql(at)007Marketing(dot)com>, Simon Riggs <simon(at)2ndquadrant(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Integrating Replication into Core
Date: 2006-11-22 22:01:20
Message-ID: 1164232880.10359.81.camel@dogma.v10.wvs
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-advocacy pgsql-hackers

On Wed, 2006-11-22 at 20:31 +0100, Markus Schiltknecht wrote:
> Hi,
>
> Jeff Davis wrote:
> > Nothing's wrong with that approach. My prediction, however, is that:
> >
> > (1) Similar replication solutions will first agree on some common hooks
> > they need in the backend that may have no actual SQL syntax associated,
> > and get patches in
>
> Well, before that, you need to know what hooks you need. And that again
> involves lots of implementation details. Thus better first implement
> without hooks, otherwise you might later notice that there is something
> you didn't think of.

I think you misunderstand my point. I was talking about replication
implementations that already exist. They already have patches on the
backend that are necessary for their solution to work.

The idea is to design a single set of hooks that can be used to
implement an entire class of replication. This only makes sense after
existing solutions come to some agreement. I view that as a first step,
assuming that it is necessary to alter the core in order to implement
the class of replication in question.

Once that step is complete, ideally you'd be able to implement Postgres-
R without having to patch the postgresql backend to accomplish it
(except for maybe adding the syntax for your solution). Then, when a
syntax is agreed upon, you won't need to patch the backend at all. Isn't
that the goal, to be able to implement your replication without patching
the backend?

Regards,
Jeff Davis

In response to

Responses

Browse pgsql-advocacy by date

  From Date Subject
Next Message Markus Schiltknecht 2006-11-23 07:50:11 Re: Integrating Replication into Core
Previous Message Markus Schiltknecht 2006-11-22 20:41:48 Re: Integrating Replication into Core

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2006-11-22 22:23:43 Re: FKs + partial indexes?
Previous Message Tom Lane 2006-11-22 21:54:37 Re: FKs + partial indexes?