DROP TYPE

Name

DROP TYPE  --  Removes a user-defined type from the system catalogs ユーザ定義の型をシステムカタログから削除します。

Synopsis

DROP TYPE typename
  

入力

typename

The name of an existing type.

既存の型の名前です。

出力

DROP

The message returned if the command is successful.

コマンドが正常に実行された場合に戻るメッセージです。

ERROR: RemoveType: type 'typename' does not exist

This message occurs if the specified type is not found.

指定された型が存在しない場合に出力されるメッセージです。

説明

DROP TYPE will remove a user type from the system catalogs.

DROP TYPE はユーザ型をシステムカタログから 削除します。

Only the owner of a type can remove it.

型の所有者のみが型を削除することができます。

注意事項

DROP TYPE statement is a Postgres language extension.

DROP TYPE 文は Postgres の 拡張言語です。

Refer to CREATE TYPE for inforamation on how to create types.

型を作成するには CREATE TYPE を 参照して下さい。

It is the user's responsibility to remove any operators, functions, aggregates, access methods, subtypes, and classes that use a deleted type.

削除された型を使用する、演算子、関数、集約、 アクセスメソッド、サブ型およびクラスを削除するのは ユーザの責任範囲で行って下さい。

バグ情報

If a built-in type is removed, the behavior of the backend is unpredictable.

組み込み型を削除した場合、バックエンドの振る舞いがどうなるか 予測が付きません。

使用法

To remove the box type:

box 型を削除します:

DROP TYPE box;
   

互換性

SQL3

DROP TYPE is a SQL3 statement.

DROP TYPE は SQL3 文です。