Re: How to use a trigger to write rows to a remote server
В списке pgsql-performance по дате отправления:
| От | 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
|
| Список | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера