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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Michael Dengler" <michael(dot)dengler(at)gmail(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: How to use a trigger to write rows to a remote server
Date: 2007-07-18 14:51:56
Message-ID: 18352.1184770316@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

"Michael Dengler" <michael(dot)dengler(at)gmail(dot)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

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Adam Tauno Williams 2007-07-18 15:43:42 Re: How to use a trigger to write rows to a remote server
Previous Message Csaba Nagy 2007-07-18 14:02:12 Re: How to use a trigger to write rows to a remote server