Removes a text search template.
DROP TEXT SEARCH TEMPLATE [ IF EXISTS ] <name> [ CASCADE | RESTRICT ]
DROP TEXT SEARCH TEMPLATE
drops an existing text search template. You must be a superuser to use this command.
You must be a superuser to use ALTER TEXT SEARCH TEMPLATE
.
Remove the text search template thesaurus
:
DROP TEXT SEARCH TEMPLATE thesaurus;
This command will not succeed if there are any existing text search dictionaries that use the template. Add CASCADE
to drop such dictionaries along with the template.
There is no DROP TEXT SEARCH TEMPLATE
statement in the SQL standard.
ALTER TEXT SEARCH TEMPLATE, CREATE TEXT SEARCH TEMPLATE
Parent topic: SQL Commands