Search Postgresql Archives

Re: catalog view use to find DATABASE, LANGUAGE, TABLESPACE, SCHEMA, SEQUENCE privileges granted to user or role

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Louis Lam" <louis.lam@xxxxxxxxxxxx> writes:
> Since you know this are well.  Do you know if there is some kind of
> records filtering use by PostgreSQL when selecting system objects?  For
> example, I run this query by PostgreSQL user. 

> select count(*) from information_schema.table_privileges;

The information_schema views filter out information about objects that
you don't have any privileges for.  This is required by SQL spec.
It's a bit pointless, since anybody can look at the underlying catalogs,
but we make them follow spec anyway.

			regards, tom lane

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux