Re: How to use a trigger to write rows to a remote server

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: How to use a trigger to write rows to a remote server
Дата
Msg-id 18352.1184770316@sss.pgh.pa.us
обсуждение исходный текст
Ответ на How to use a trigger to write rows to a remote server  ("Michael Dengler" <michael.dengler@gmail.com>)
Ответы Re: How to use a trigger to write rows to a remote server  ("Michael Dengler" <michael.dengler@gmail.com>)
Список pgsql-performance
"Michael Dengler" <michael.dengler@gmail.com> writes:
> I am trying to find out how to use a trigger function on a table to copy any
> inserted row to a remote PG server.
> ...
> This is not replication, I'm not interested in a full blown trigger based
> replication solution.

To be blunt, you're nuts.  You *are* building a trigger based
replication system, and the fact that you think you can cut corners
just shows how little you know about the problems involved.

Use Slony, or some other solution that someone else has already gotten
the bugs out of.

            regards, tom lane

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

Предыдущее
От: Csaba Nagy
Дата:
Сообщение: Re: How to use a trigger to write rows to a remote server
Следующее
От: Adam Tauno Williams
Дата:
Сообщение: Re: How to use a trigger to write rows to a remote server