Re: triggers/functions across databases - Mailing list pgsql-general

From Scott Marlowe
Subject Re: triggers/functions across databases
Date
Msg-id 1117036317.31821.311.camel@state.g2switchworks.com
Whole thread Raw
In response to triggers/functions across databases  ("Eric Jones" <Eric.Jones@noaa.gov>)
List pgsql-general
On Wed, 2005-05-25 at 07:08, Eric Jones wrote:
> We are migrating from Informix to Postgres 7.4.7 and are having a
> difficult time finding if postgres can insert/update tables across
> different databases. Namely using functions/triggers when an
> update/insert is performed on a table it updates/inserts in a table on a
> different database. Informix can do this with no problem but we were
> wondering if there is an easy way for postgres to do this. I've searched
> numerous sites and found vague answers. Thanks in advance.

Could you solve this problem using schemas in one database?  OR do you
need the data to be in two physically separate locations?  If so, you
might be better off using listen / notify between the two databases, or
using an external program to begin transactions in both places and
commit or roll them back together.

pgsql-general by date:

Previous
From: "Tim Vadnais"
Date:
Subject: Re: Update on tables when the row doesn't change
Next
From: Himanshu Baweja
Date:
Subject: Re: More detailed error logging?