From: Stephan Szabo <sszabo@megazone.bigpanda.com>
To: Kailash Vyas <kailash.vyas@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: triggers
Date: Thu, 8 Sep 2005 15:01:23 -0700 (PDT)
Message-ID: <20050908145927.G86079@megazone.bigpanda.com> (raw)
In-Reply-To: <a3cc7917050908135979baef8c@mail.gmail.com>
References: <a3cc7917050908135979baef8c@mail.gmail.com>
On Thu, 8 Sep 2005, Kailash Vyas wrote:
> hi
>
> I have a query regarding triggers.
> On INSERT, UPDATE, DELETE I want to fire a trigger to relect it to another
> database on postgres sever.
> how can I do this operation.
This is tricky, because you probably want to have the same transactional
occurances as well (ie, rollbacks not leaving the rolledback data on the
other database). You might be best off looking at some of the replication
systems for PostgreSQL to see what they do (or perhaps just using one).
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: sszabo@megazone.bigpanda.com, kailash.vyas@gmail.com
Subject: Re: triggers
In-Reply-To: <20050908145927.G86079@megazone.bigpanda.com>
References: <a3cc7917050908135979baef8c@mail.gmail.com> <20050908145927.G86079@megazone.bigpanda.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox