Re: Integrating Replication into Core

Поиск
Список
Период
Сортировка
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 по дате отправления:

Предыдущее
От: Stephen Harris
Дата:
Сообщение: Re: Shutting down a warm standby database in 8.2beta3
Следующее
От: "Jonah H. Harris"
Дата:
Сообщение: Re: Integrating Replication into Core