1DROP TEXT SEARCH PARSER(7)PostgreSQL 12.2 DocumentatioDnROP TEXT SEARCH PARSER(7)
2
3
4

NAME

6       DROP_TEXT_SEARCH_PARSER - remove a text search parser
7

SYNOPSIS

9       DROP TEXT SEARCH PARSER [ IF EXISTS ] name [ CASCADE | RESTRICT ]
10

DESCRIPTION

12       DROP TEXT SEARCH PARSER drops an existing text search parser. You must
13       be a superuser to use this command.
14

PARAMETERS

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           and in turn all objects that depend on those objects (see
27           Section 5.14).
28
29       RESTRICT
30           Refuse to drop the text search parser if any objects depend on it.
31           This is the default.
32

EXAMPLES

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
40       configurations along with the parser.
41

COMPATIBILITY

43       There is no DROP TEXT SEARCH PARSER statement in the SQL standard.
44

SEE ALSO

46       ALTER TEXT SEARCH PARSER (ALTER_TEXT_SEARCH_PARSER(7)), CREATE TEXT
47       SEARCH PARSER (CREATE_TEXT_SEARCH_PARSER(7))
48
49
50
51PostgreSQL 12.2                      2020           DROP TEXT SEARCH PARSER(7)
Impressum