Information_schema.table_constraints

Started by Ravi Krishnaover 3 years ago3 messagesgeneral
Jump to latest
#1Ravi Krishna
s_ravikrishna@aol.com

Any idea why select on this table does not yield any output for a user who otherwise can get output for other information_schema tables. Does this table require any special privilege compared to other tables of information_schema.Thanks

#2Adrian Klaver
adrian.klaver@aklaver.com
In reply to: Ravi Krishna (#1)
Re: Information_schema.table_constraints

On 8/25/22 13:53, Ravi Krishna wrote:

Any idea why select on this table does not yield any output for a user
who otherwise can get output for other information_schema tables. Does
this table require any special privilege compared to other tables of
information_schema.

https://www.postgresql.org/docs/current/infoschema-table-constraints.html

"The view table_constraints contains all constraints belonging to tables
that the current user owns or has some privilege other than SELECT on."

Thanks

--
Adrian Klaver
adrian.klaver@aklaver.com

#3Ravi Krishna
s_ravikrishna@aol.com
In reply to: Adrian Klaver (#2)
Re: Information_schema.table_constraints

https://www.postgresql.org/docs/current/infoschema-table-constraints.html

"The view table_constraints contains all constraints belonging to tables
that the current user owns or has some privilege other than SELECT on."

thank you.  that explains.