1DROP TEXT SEARCH TEMPLATEP(o7s)tgreSQL 9.2.24 DocumentaDtRiOoPnTEXT SEARCH TEMPLATE(7)
2
3
4
6 DROP_TEXT_SEARCH_TEMPLATE - remove a text search template
7
9 DROP TEXT SEARCH TEMPLATE [ IF EXISTS ] name [ CASCADE | RESTRICT ]
10
12 DROP TEXT SEARCH TEMPLATE drops an existing text search template. You
13 must be a superuser to use this command.
14
16 IF EXISTS
17 Do not throw an error if the text search template does not exist. A
18 notice is issued in this case.
19
20 name
21 The name (optionally schema-qualified) of an existing text search
22 template.
23
24 CASCADE
25 Automatically drop objects that depend on the text search template.
26
27 RESTRICT
28 Refuse to drop the text search template if any objects depend on
29 it. This is the default.
30
32 Remove the text search template thesaurus:
33
34 DROP TEXT SEARCH TEMPLATE thesaurus;
35
36 This command will not succeed if there are any existing text search
37 dictionaries that use the template. Add CASCADE to drop such
38 dictionaries along with the template.
39
41 There is no DROP TEXT SEARCH TEMPLATE statement in the SQL standard.
42
44 ALTER TEXT SEARCH TEMPLATE (ALTER_TEXT_SEARCH_TEMPLATE(7)), CREATE TEXT
45 SEARCH TEMPLATE (CREATE_TEXT_SEARCH_TEMPLATE(7))
46
47
48
49PostgreSQL 9.2.24 2017-11-06 DROP TEXT SEARCH TEMPLATE(7)