Re: Integrating Replication into Core - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: Integrating Replication into Core
Date
Msg-id 45649DDA.1050304@dunslane.net
Whole thread Raw
In response to Re: Integrating Replication into Core  (Alvaro Herrera <alvherre@commandprompt.com>)
Responses Re: Integrating Replication into Core  ("Jonah H. Harris" <jonah.harris@gmail.com>)
Re: Integrating Replication into Core  ("Joshua D. Drake" <jd@commandprompt.com>)
Re: Integrating Replication into Core  (Markus Schiltknecht <markus@bluegap.ch>)
Re: Integrating Replication into Core  (Alvaro Herrera <alvherre@commandprompt.com>)
Re: Integrating Replication into Core  (Andrew Sullivan <ajs@crankycanuck.ca>)
List pgsql-hackers
Alvaro Herrera wrote:
> Markus Schiltknecht wrote:
>
>   
>>> However, there may not be nifty syntax changes nor GUCs in core to
>>> support a specific implementation of a replicator.
>>>       
>> I'd love to get into that one. Some of the people who have attended my 
>> talk at the summit might know that I've introduced the following syntax 
>> to Postgres-R:
>>
>> ALTER DATABASE testdb START REPLICATION IN GROUP testgroup USING egcs;
>>
>> And I'm using the system catalogs to store replication settings. What's 
>> so wrong with that?
>>     
>
> I don't know if there's anything wrong, but in Mammoth Replicator, the
> syntax to enable replication of a single table is 
>
> ALTER TABLE foo ENABLE REPLICATION 
>
> and we store the replication settings in system catalogs as well.
>
>   

Wasn't there supposed to be some discussion among replication authors to 
try to come up with at least some common hooks?

If everybody invents their own grammar, GUC vars, etc. etc. it will be 
impossible to handle down the track. We'd be faced with a choice of 
never having any replication in core, or picking one and leaving the 
others out in the cold. This is supposed to be a *community*.

cheers

andrew


pgsql-hackers by date:

Previous
From: Stephen Harris
Date:
Subject: Re: Shutting down a warm standby database in 8.2beta3
Next
From: "Jonah H. Harris"
Date:
Subject: Re: Integrating Replication into Core