Re: creating a trigger to access another postgres database? - Mailing list pgsql-general

From Richard Huxton
Subject Re: creating a trigger to access another postgres database?
Date
Msg-id 47ED1303.30006@archonet.com
Whole thread Raw
In response to creating a trigger to access another postgres database?  (carty mc <cartymc3@yahoo.com>)
Responses Re: creating a trigger to access another postgres database?
List 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

pgsql-general by date:

Previous
From: purple_cat
Date:
Subject: PostgreSQL terminates after crash of another server process
Next
From: Ben
Date:
Subject: Schema design question