1DROP TEXT SEARCH PARSER(7P)ostgreSQL 9.2.24 DocumentatiDoRnOP TEXT SEARCH PARSER(7)
2
3
4
6 DROP_TEXT_SEARCH_PARSER - remove a text search parser
7
9 DROP TEXT SEARCH PARSER [ IF EXISTS ] name [ CASCADE | RESTRICT ]
10
12 DROP TEXT SEARCH PARSER drops an existing text search parser. You must
13 be a superuser to use this command.
14
16 IF EXISTS
17 Do not throw an error if the text search parser 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 parser.
23
24 CASCADE
25 Automatically drop objects that depend on the text search parser.
26
27 RESTRICT
28 Refuse to drop the text search parser if any objects depend on it.
29 This is the default.
30
32 Remove the text search parser my_parser:
33
34 DROP TEXT SEARCH PARSER my_parser;
35
36 This command will not succeed if there are any existing text search
37 configurations that use the parser. Add CASCADE to drop such
38 configurations along with the parser.
39
41 There is no DROP TEXT SEARCH PARSER statement in the SQL standard.
42
44 ALTER TEXT SEARCH PARSER (ALTER_TEXT_SEARCH_PARSER(7)), CREATE TEXT
45 SEARCH PARSER (CREATE_TEXT_SEARCH_PARSER(7))
46
47
48
49PostgreSQL 9.2.24 2017-11-06 DROP TEXT SEARCH PARSER(7)