postgresql - view schema privileges

后端 未结 9 1989
再見小時候
再見小時候 2020-12-24 12:17

Is there a query I can run to show currently assigned privileges on a particular schema?

i.e. privileges that were assigned like so:

GRANT USAGE ON S         


        
9条回答
  •  南方客
    南方客 (楼主)
    2020-12-24 12:43

    in console util psql:

    \dn+
    

    will show you

         Name      |  Owner   |   Access privileges   |      Description   
    

提交回复
热议问题