From: | "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk> |
---|---|
To: | "Ryan Proud" <ryan(at)binarymelon(dot)com>, <pgadmin-support(at)postgresql(dot)org> |
Subject: | Re: Hide databases |
Date: | 2006-10-26 13:12:49 |
Message-ID: | E7F85A1B5FF8D44C8A1AF6885BC9A0E40176D91B@ratbert.vale-housing.co.uk |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-support |
________________________________
From: pgadmin-support-owner(at)postgresql(dot)org
[mailto:pgadmin-support-owner(at)postgresql(dot)org] On Behalf Of Ryan Proud
Sent: 26 October 2006 13:40
To: pgadmin-support(at)postgresql(dot)org
Subject: Re: [pgadmin-support] Hide databases
Uwe Dalluege wrote:
Hi,
is it possible to hide the databases where I am not the owner?
In our university we have many postgresql user.
Each user has his own database.
When I start pgAdmin all databases are displayed.
Is there a button to avoid showing these databases?
Ok,
Dave and me have been discussing a little about this request,
and we'll probably implement a configurable SQL restriction for that in
1.5/1.6. Your requirement seems typical for universities, let's declare
this as my contribution to the Deutsches Bildungssystem! Greetings to
the Geomatikum, where I spent quite some sleepy mornings in lectures, I
remember... Regards,
Andreas
Has there been any update on this?
Yes - you can hide databases and schemas in 1.6 (currently in beta). You
reminded me so I've added the following note to the docs (the server
properties page to be exact):
The DB restriction field allows you to enter an SQL restriction that
will be used against the pg_database
<file:///C:/Documents%20and%20Settings/dpage/My%20Documents/SVN/pgadmin3
/docs/en_US/pg/catalog-pg-database.html> table to limit the databases
that you see. For example, you might enter: datname IN ('live_db',
'test_db') so that only live_db and test_db are shown in the pgAdmin
browser. Note that you can also limit the schemas shown in the database
from the Database properties dialogue by entering a restriction against
pg_namespace
<file:///C:/Documents%20and%20Settings/dpage/My%20Documents/SVN/pgadmin3
/docs/en_US/pg/catalog-pg-namespace.html> .
Regards, Dave.
From | Date | Subject | |
---|---|---|---|
Next Message | Erwin Brandstetter | 2006-10-27 18:13:02 | Database bar (was: Re: Beta 3 crashing reproducably) |
Previous Message | Ryan Proud | 2006-10-26 12:40:21 | Re: Hide databases |