Re: Information_schema.table_constraints - Mailing list pgsql-general

From Adrian Klaver
Subject Re: Information_schema.table_constraints
Date
Msg-id 988bb91f-89d2-bb38-4b46-846c5da6e20a@aklaver.com
Whole thread Raw
In response to Information_schema.table_constraints  (Ravi Krishna <s_ravikrishna@aol.com>)
Responses Re: Information_schema.table_constraints
List pgsql-general
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



pgsql-general by date:

Previous
From: Ravi Krishna
Date:
Subject: Information_schema.table_constraints
Next
From: Ravi Krishna
Date:
Subject: Re: Information_schema.table_constraints