Обсуждение: LONDISTE:replication tables with different names but same structure

Поиск
Список
Период
Сортировка

LONDISTE:replication tables with different names but same structure

От
Prabhjot Sheena
Дата:

Hello everyone
                      I have a situation here.i am using londiste. i want to replicate  Table x ( a integer primary key, b integer) from database  test 
                     to Table y( a integer primary key, b integer)   database test1. 

what i know so far is that table name has to be same. but is there a way to have different table names but same table structures.If anyone have the answer plz help me


Thanks
Prabhjot Singh. 
--

Re: LONDISTE:replication tables with different names but same structure

От
Dimitri Fontaine
Дата:
Prabhjot Sheena <psheena@ql2.com> writes:
> what i know so far is that table name has to be same. but is there a way to
> have different table names but same table structures.If anyone have the
> answer plz help me

It's possible in skytools3, using handlers, that are special python
module to customize operations on subscribers.

Regards,
--
Dimitri Fontaine
http://2ndQuadrant.fr     PostgreSQL : Expertise, Formation et Support