DROP USER

Name

DROP USER  --  Removes an user account information ユーザアカウント情報を削除する

Synopsis

DROP USER name
  

入力

name

The name of an existing user.

既存ユーザの名前。

出力

DROP

The message returned if the user is successfully deleted.

ユーザの削除が成功した場合に返されるメッセージです。

ERROR: removeUser: user "name" does not exist.

This message occurs if the username is not found.

このメッセージはユーザ名が見つけられなかった場合に表示 されます。

説明

DROP USER removes the specified user from the database, along with any databases owned by the user. It does not remove tables, views, or triggers owned by the named user in databases not owned by the user. This statement can be used in place of the destroyuser script, regardless of how the user was created.

DROP USER は、指定されたユーザを データベースから削除すると共に、そのユーザが所有者となっている データベースも削除します。 このユーザが所有していないデータベースの中にある、 名指しされたユーザが所有するテーブル、ビュー、あるいはトリガ は削除しません。 この命令は、どのようにユーザが作成されたかに関わらず、 destroyuser スクリプトの代わりに 使うことができます。

注意

DROP USER is a Postgres language extension.

DROP USER は、 Postgres の言語拡張です。

Refer to CREATE USER and ALTER USER for information on how to create or modify user accounts.

ユーザアカウントの作成、あるいは変更の方法についての情報は、 CREATE USERALTER USER を参照して下さい。

使用法

To drop a user account:

Jonathan というユーザアカウントを取り去ります:

DROP USER Jonathan;
   

互換性

SQL92

There is no DROP USER in SQL92.

SQL92 には、DROP USER は有りません。