1DROP TEXT SEARCH CONFIGURPAoTsItOgNr(e7S)QL 9.2.24 DocuDmReOnPtaTtEiXoTnSEARCH CONFIGURATION(7)
2
3
4
6 DROP_TEXT_SEARCH_CONFIGURATION - remove a text search configuration
7
9 DROP TEXT SEARCH CONFIGURATION [ IF EXISTS ] name [ CASCADE | RESTRICT ]
10
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
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.
28
29 RESTRICT
30 Refuse to drop the text search configuration if any objects depend
31 on it. This is the default.
32
34 Remove the text search configuration my_english:
35
36 DROP TEXT SEARCH CONFIGURATION my_english;
37
38 This command will not succeed if there are any existing indexes that
39 reference the configuration in to_tsvector calls. Add CASCADE to drop
40 such indexes along with the text search configuration.
41
43 There is no DROP TEXT SEARCH CONFIGURATION statement in the SQL
44 standard.
45
47 ALTER TEXT SEARCH CONFIGURATION (ALTER_TEXT_SEARCH_CONFIGURATION(7)),
48 CREATE TEXT SEARCH CONFIGURATION (CREATE_TEXT_SEARCH_CONFIGURATION(7))
49
50
51
52PostgreSQL 9.2.24 2017-11-06 DROP TEXT SEARCH CONFIGURATION(7)