Sync 2 tables in 2 databases

Поиск
Список
Период
Сортировка
От SHARMILA JOTHIRAJAH
Тема Sync 2 tables in 2 databases
Дата
Msg-id 288306.49184.qm@web110716.mail.gq1.yahoo.com
обсуждение исходный текст
Ответы Re: Sync 2 tables in 2 databases  (Scott Marlowe <scott.marlowe@gmail.com>)
Список pgsql-general
Hi,
I have 2 postgres databases with similar structure. I want to keep some tables in sync in these 2 databases(They can be
syncedjust once a day). Is there a way to archive this using function ? 
Something like....

  Select syncTable('foo')

where syncTable is a function that compares table 'foo' in db1 with table 'foo' in db2 and make
changes(update/insert/delete)to 'foo' in db1 

Thanks
Sharmila




В списке pgsql-general по дате отправления:

Предыдущее
От: Steve Crawford
Дата:
Сообщение: Re: Server Shutting Down
Следующее
От: Scott Marlowe
Дата:
Сообщение: Re: Sync 2 tables in 2 databases