1DROP TEXT SEARCH PARSER(7) SQL Commands DROP TEXT SEARCH PARSER(7)
2
3
4
6 DROP TEXT SEARCH PARSER - remove a text search parser
7
8
10 DROP TEXT SEARCH PARSER [ IF EXISTS ] name [ CASCADE | RESTRICT ]
11
12
14 DROP TEXT SEARCH PARSER drops an existing text search parser. You must
15 be a superuser to use this command.
16
18 IF EXISTS
19 Do not throw an error if the text search parser does not exist.
20 A notice is issued in this case.
21
22 name The name (optionally schema-qualified) of an existing text
23 search parser.
24
25 CASCADE
26 Automatically drop objects that depend on the text search
27 parser.
28
29 RESTRICT
30 Refuse to drop the text search parser if any objects depend on
31 it. This is the default.
32
34 Remove the text search parser my_parser:
35
36 DROP TEXT SEARCH PARSER my_parser;
37
38 This command will not succeed if there are any existing text search
39 configurations that use the parser. Add CASCADE to drop such configura‐
40 tions along with the parser.
41
43 There is no DROP TEXT SEARCH PARSER statement in the SQL standard.
44
46 ALTER TEXT SEARCH PARSER [alter_text_search_parser(7)], CREATE TEXT
47 SEARCH PARSER [create_text_search_parser(7)]
48
49
50
51SQL - Language Statements 2011-09-22 DROP TEXT SEARCH PARSER(7)