1DROP TEXT SEARCH CONFIGURAPToIsOtNg(r7e)SQL 11.6 DocumDeRnOtPatTiEoXnT SEARCH CONFIGURATION(7)
2
3
4

NAME

6       DROP_TEXT_SEARCH_CONFIGURATION - remove a text search configuration
7

SYNOPSIS

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

DESCRIPTION

12       DROP TEXT SEARCH CONFIGURATION drops an existing text search
13       configuration. To execute this command you must be the owner of the
14       configuration.
15

PARAMETERS

17       IF EXISTS
18           Do not throw an error if the text search configuration does not
19           exist. A notice is issued in this case.
20
21       name
22           The name (optionally schema-qualified) of an existing text search
23           configuration.
24
25       CASCADE
26           Automatically drop objects that depend on the text search
27           configuration, and in turn all objects that depend on those objects
28           (see Section 5.13).
29
30       RESTRICT
31           Refuse to drop the text search configuration if any objects depend
32           on it. This is the default.
33

EXAMPLES

35       Remove the text search configuration my_english:
36
37           DROP TEXT SEARCH CONFIGURATION my_english;
38
39       This command will not succeed if there are any existing indexes that
40       reference the configuration in to_tsvector calls. Add CASCADE to drop
41       such indexes along with the text search configuration.
42

COMPATIBILITY

44       There is no DROP TEXT SEARCH CONFIGURATION statement in the SQL
45       standard.
46

SEE ALSO

48       ALTER TEXT SEARCH CONFIGURATION (ALTER_TEXT_SEARCH_CONFIGURATION(7)),
49       CREATE TEXT SEARCH CONFIGURATION (CREATE_TEXT_SEARCH_CONFIGURATION(7))
50
51
52
53PostgreSQL 11.6                      2019    DROP TEXT SEARCH CONFIGURATION(7)
Impressum