Re: Trigger to clone across databases?

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: Trigger to clone across databases?
Дата
Msg-id dcc563d10901170008y1399aebam57bbd5b8e82726b0@mail.gmail.com
обсуждение исходный текст
Ответ на Trigger to clone across databases?  (Darren Govoni <darren@ontrenet.com>)
Список pgsql-general
On Fri, Jan 16, 2009 at 6:31 PM, Darren Govoni <darren@ontrenet.com> wrote:
> Hi,
>  I'm looking for a trigger (any language) that can clone the inserted
> row and insert it in another postgres server elsewhere. Is this
> possible? Practical? Thoughts?
>
> I know there are some replication systems out there, but I'm hoping a
> simple trigger will suffice since I only need to clone one row at a time
> on insert.

Slony does essentially that.  A trigger puts the updates into a log
table, the slony process gathers all the changes up and puts them into
the destination tables.

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

Предыдущее
От: "Scott Marlowe"
Дата:
Сообщение: Re: accessing user table structures from SQL
Следующее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: Autovacuum daemon terminated by signal 11