http://www.dbonline.jp/postgresql/role/index3.html
\zで見れる。
db=# \z
Access privileges
Schema | Name | Type | Access privileges | Column access privileges
--------+------+-------+---------------------------+--------------------------
public | test | table | postgres=arwdDxt/postgres+|
| | | =r/postgres +|
| | | dba=arwdDxt/postgres +|
| | | dml=arwdD/postgres |
(1 row)
権限を付けたユーザ(ROLE)はそのまま削除できない。
なので、削除したい場合は先にREVOKEを行ってからDROP ROLEを行う流れとなる。
0 件のコメント:
コメントを投稿