Re: PG vs MySQL - Mailing list pgsql-general

From Marc G. Fournier
Subject Re: PG vs MySQL
Date
Msg-id 20040329002838.C51637@ganymede.hub.org
Whole thread Raw
In response to Re: PG vs MySQL  (Mike Nolan <nolan@gw.tssi.com>)
Responses Re: PG vs MySQL
List pgsql-general
On Sun, 28 Mar 2004, Mike Nolan wrote:

> The \l command should only list databases that the current user is
> authorized for, the \du command should only list users authorized for
> the current database (and perhaps only superusers should get even that
> much information), etc.  Perhaps it is possible to set PG to do this,
> but that should probably be the default.

Just curious ... restricting \l itself isn't too difficult ... but how
does MySQL restrict the ability to do something like:

SELECT datname FROM pg_database;

or does it not have an equivalent to that?

----
Marc G. Fournier           Hub.Org Networking Services (http://www.hub.org)
Email: scrappy@hub.org           Yahoo!: yscrappy              ICQ: 7615664

pgsql-general by date:

Previous
From: "Marc G. Fournier"
Date:
Subject: Re: PG vs MySQL
Next
From: "Uwe C. Schroeder"
Date:
Subject: Re: PG vs MySQL