バージョンごとのドキュメント一覧

DROP TEXT SEARCH DICTIONARY

DROP TEXT SEARCH DICTIONARY <refpurpose>remove a text search dictionary</refpurpose> — テキスト検索辞書を削除する

概要

DROP TEXT SEARCH DICTIONARY [ IF EXISTS ] name [ CASCADE | RESTRICT ]

説明

<title>Description</title>

<command>DROP TEXT SEARCH DICTIONARY</command> drops an existing text search dictionary. To execute this command you must be the owner of the dictionary. DROP TEXT SEARCH DICTIONARYは既存のテキスト検索辞書を削除します。 このコマンドを実行するためには、その辞書の所有者でなければなりません。

パラメータ

<title>Parameters</title>
IF EXISTS

Do not throw an error if the text search dictionary does not exist. A notice is issued in this case. テキスト検索辞書が存在しない場合でもエラーとしません。 この場合は注意が発行されます。

name

The name (optionally schema-qualified) of an existing text search dictionary. 既存のテキスト検索辞書の名称(スキーマ修飾可)です。

CASCADE

Automatically drop objects that depend on the text search dictionary, and in turn all objects that depend on those objects (see <xref linkend="ddl-depend"/>). テキスト検索辞書に依存するオブジェクトを自動的に削除し、さらにそれらのオブジェクトに依存するすべてのオブジェクトも削除します(5.14参照)。

RESTRICT

Refuse to drop the text search dictionary if any objects depend on it. This is the default. 依存するオブジェクトが存在する場合、テキスト検索辞書の削除を中止します。 これがデフォルトです。

<title>Examples</title>

Remove the text search dictionary <literal>english</literal>: テキスト検索辞書englishを削除します。

DROP TEXT SEARCH DICTIONARY english;

This command will not succeed if there are any existing text search configurations that use the dictionary. Add <literal>CASCADE</literal> to drop such configurations along with the dictionary. この辞書を使用するテキスト検索設定が存在する場合、このコマンドは成功しません。 こうした設定を辞書と一緒に削除するためにはCASCADEを付けてください。

互換性

<title>Compatibility</title>

There is no <command>DROP TEXT SEARCH DICTIONARY</command> statement in the SQL standard. 標準SQLにはDROP TEXT SEARCH DICTIONARY文はありません。

関連項目

<title>See Also</title> ALTER TEXT SEARCH DICTIONARY, CREATE TEXT SEARCH DICTIONARY