Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-general by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group