Re: Using tables in other PostGreSQL database - Mailing list pgsql-general

From Scott Marlowe
Subject Re: Using tables in other PostGreSQL database
Date
Msg-id dcc563d10803280837x41a94a9dta3f367a99ccabc3e@mail.gmail.com
Whole thread Raw
In response to Re: Using tables in other PostGreSQL database  ("Swaminathan Saikumar" <swami@giveexam.com>)
List pgsql-general
On Thu, Mar 27, 2008 at 11:29 PM, Swaminathan Saikumar
<swami@giveexam.com> wrote:
> I am fairly new to Postgres. However, I have to say that I agree with
> Barry's comments.

The real problem here is that you are not using the db properly.  You
should have one db with all these data in it in different schemas.
PostgreSQL provides you with the ability to segregate these data via
schemas and fine grained (by the table) ACLs.

Your refusal to use multiple schemas in one database due to some
perceived problem with them all being in the same database is what's
causing your issues.

Put your data into various schemas in one database and you can then
use access control to decide who sees what.

pgsql-general by date:

Previous
From:
Date:
Subject: Re: Users, groups and inheritance questions
Next
From: "Teemu Juntunen"
Date:
Subject: Delete after trigger fixing the key of row numbers