DROP TEXT SEARCH DICTIONARY deletes a full-text retrieval dictionary.
1 | DROP TEXT SEARCH DICTIONARY [ IF EXISTS ] name [ CASCADE | RESTRICT ] |
Reports a notice instead of throwing an error if the specified full-text retrieval dictionary does not exist.
Specifies the name of a dictionary to be deleted. (If you do not specify a schema name, the dictionary in the current schema will be deleted by default.)
Value range: name of an existing dictionary
Automatically deletes dependent objects of a dictionary and then deletes all dependent objects of these objects in sequence.
If any text search configuration that uses the dictionary exists, DROP execution will fail. You can add CASCADE to delete all text search configurations and dictionaries that use the dictionary.
Rejects the deletion of a dictionary if any object depends on the dictionary. This is the default.
Delete the english dictionary.
1 | DROP TEXT SEARCH DICTIONARY english; |