Seeing privileges on a schema
Seeing privileges on a schema
От:
John Scalia <jayknowsunix@gmail.com>
Дата:
In psql, I know that \dp or \dpp will show me which privileges are granted on tables, views, sequences, and functions, what it doesn’t appear to be able to do, is show me what privileges are in the schema itself, like if I grant usage on a schema. Then a \dpp doesn’t produce anything. Is there an easy way to see what privileges are on a schema? — Jay Sent from my iPad
Re: Seeing privileges on a schema
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
John Scalia writes: > In psql, I know that \dp or \dpp will show me which privileges are granted on tables, views, sequences, and functions, what it doesn’t appear to be able to do, is show me what privileges are in the schema itself, like if I grant usage on a schema. Then a \dpp doesn’t produce anything. Is there an easy way to see what privileges are on a schema? \dn+ includes that. regards, tom lane
Re: Seeing privileges on a schema
От:
John Scalia <jayknowsunix@gmail.com>
Дата:
Thanks, I didn’t realize that. Sent from my iPad > On Dec 2, 2020, at 2:00 PM, Tom Lane wrote: > > John Scalia writes: >> In psql, I know that \dp or \dpp will show me which privileges are granted on tables, views, sequences, and functions, what it doesn’t appear to be able to do, is show me what privileges are in the schema itself, like if I grant usage on a schema. Then a \dpp doesn’t produce anything. Is there an easy way to see what privileges are on a schema? > > \dn+ includes that. > > regards, tom lane