Hello,
It is NOT possible to access another database from a database.
Is the case so specific that you cannot create different databases for the
different groups of users? Doing this, you can fairly easy regulate users'
access to databases through GRANT/REVOKE and pg_hba.conf
Stoyan Genov