PostgreSQL 계정 삭제

1 개요[ | ]

PostgreSQL DROP ROLE
PostgreSQL 계정 삭제
DROP ROLE 계정명;

2 실행예시[ | ]

template1=# \du;
                             List of roles
 Role name |                   Attributes                   | Member of 
-----------+------------------------------------------------+-----------
 postgres  | Superuser, Create role, Create DB, Replication | {}
 testuser  | Cannot login                                   | {}
template1=# DROP ROLE testuser;
DROP ROLE
template1=# \du;
                             List of roles
 Role name |                   Attributes                   | Member of 
-----------+------------------------------------------------+-----------
 postgres  | Superuser, Create role, Create DB, Replication | {}

3 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}