Thread: GRANT on information_schema & keys

GRANT on information_schema & keys

From
Marcello Verona
Date:
Hi
I've a problem with the GRANT on information_schema and view
"key_column_usage".
Only a superuser is granted to see the record of this view (and other
views about index... see table_constraint)
What kind of permission is necessary for a simple user?

Thank you!

Marcello

Re: GRANT on information_schema & keys

From
Tom Lane
Date:
Marcello Verona <marcelloverona@tiscali.it> writes:
> I've a problem with the GRANT on information_schema and view
> "key_column_usage".
> Only a superuser is granted to see the record of this view (and other
> views about index... see table_constraint)
> What kind of permission is necessary for a simple user?

It will only show you rows about tables that you own or have some access
privilege for.

            regards, tom lane