Re: psql -U user -l cive all db list - Mailing list pgsql-general

From Tino Wildenhain
Subject Re: psql -U user -l cive all db list
Date
Msg-id 1116339532.2441.29.camel@sabrina.peacock.de
Whole thread Raw
In response to Re: psql -U user -l cive all db list  (Scott Marlowe <smarlowe@g2switchworks.com>)
Responses Re: psql -U user -l cive all db list
TIP 9
List pgsql-general
Am Dienstag, den 17.05.2005, 08:58 -0500 schrieb Scott Marlowe:
> On Tue, 2005-05-17 at 04:52, Richard Huxton wrote:
> > Margus Roo wrote:
> > >
> > > What I must change that non root user will see only own databases?
> >
> > You can't at the moment. There has been some discussion about this, but
> > at present read access to the system catalogues is available to everyone.
> >
> > That doesn't mean they can connect to the database (that's controlled by
> > your pg_hba.conf file). It does mean you can see what databases are
> > available though.
>
> Everyone realizes that even Oracle doesn't provide this functionality,
> right?
>
And you can get close to that if you carefully moc around with
the system tables and views and their permissions.
But if you do it wrong - restore is your friend :-)

Regards
Tino
--
Tino Wildenhain <tino@wildenhain.de>


pgsql-general by date:

Previous
From: Scott Marlowe
Date:
Subject: Re: Distinguishing between connections in pg_hba.conf
Next
From: Scott Marlowe
Date:
Subject: Re: psql -U user -l cive all db list