Re: creating a trigger to access another postgres database?

From: Richard Huxton <dev(at)archonet(dot)com>
To: carty mc <cartymc3(at)yahoo(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: creating a trigger to access another postgres database?
Date: 2008-03-28 15:47:15
Message-ID: 47ED1303.30006@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

carty mc wrote:
> I have a question regarding postgres Trigger. We have two
> applications which connect to two different databases (Both are
> postgres). Is it possible to create a trigger (row based) in one
> database say A, which can access another database say B and updates a
> table there.

Sure - check the manuals (in 8.3) for dblink - it's in contrib. It's
been there for a while, but the documentation for contrib modules wasn't
in the manual until 8.3

--
Richard Huxton
Archonet Ltd

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ben 2008-03-28 15:55:00 Schema design question
Previous Message Scott Marlowe 2008-03-28 15:37:00 Re: Using tables in other PostGreSQL database