Re: Hiding table structure information - Mailing list pgsql-admin

From Bruno Wolff III
Subject Re: Hiding table structure information
Date
Msg-id 20060627160148.GA7623@wolff.to
Whole thread Raw
In response to Re: Hiding table structure information  ("Aaron Bono" <postgresql@aranya.com>)
Responses Re: Hiding table structure information
List pgsql-admin
On Mon, Jun 26, 2006 at 19:48:32 -0500,
  Aaron Bono <postgresql@aranya.com> wrote:
> Would there be a way to set up the 2 databases - one with the tables and
> data and the other that connects to the first with views into the second
> database?
>
> Actually I am interested because I will soon need to set up a way to feed
> data to multiple databases and would love to have a stored procedure or
> trigger that, when the data is updated in one database, the changes are
> propagated to all the other databases.

There is a contrib package dblink that will do at least some of what you
want.

You might also see if just separating stuff into different schemas will
be good enough for you. That would allow you to have separate name spaces
but still be able to reference tables in other schemas efficiently.

pgsql-admin by date:

Previous
From: Thomas Mack
Date:
Subject: Re: Aborting transactions
Next
From: "Chris Hoover"
Date:
Subject: Re: 8.1.3 - autovacuum question