pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Information_schema.table_constraints
3+ messages / 2 participants
[nested] [flat]

* Information_schema.table_constraints
@ 2022-08-25 20:53  Ravi Krishna <s_ravikrishna@aol.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Ravi Krishna @ 2022-08-25 20:53 UTC (permalink / raw)
  To: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>

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

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Information_schema.table_constraints
@ 2022-08-25 22:03  Adrian Klaver <adrian.klaver@aklaver.com>
  parent: Ravi Krishna <s_ravikrishna@aol.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Adrian Klaver @ 2022-08-25 22:03 UTC (permalink / raw)
  To: Ravi Krishna <s_ravikrishna@aol.com>; pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>

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





^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Information_schema.table_constraints
@ 2022-08-25 23:30  Ravi Krishna <s_ravikrishna@aol.com>
  parent: Adrian Klaver <adrian.klaver@aklaver.com>
  0 siblings, 0 replies; 3+ messages in thread

From: Ravi Krishna @ 2022-08-25 23:30 UTC (permalink / raw)
  To: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>; Adrian Klaver <adrian.klaver@aklaver.com>


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.





^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2022-08-25 23:30 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2022-08-25 20:53 Information_schema.table_constraints Ravi Krishna <s_ravikrishna@aol.com>
2022-08-25 22:03 ` Adrian Klaver <adrian.klaver@aklaver.com>
2022-08-25 23:30   ` Ravi Krishna <s_ravikrishna@aol.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox