2
.\" Title: DROP TEXT SEARCH TEMPLATE
3
.\" Author: The PostgreSQL Global Development Group
4
.\" Generator: DocBook XSL Stylesheets v1.75.1 <http://docbook.sf.net/>
6
.\" Manual: PostgreSQL 9.1beta1 Documentation
7
.\" Source: PostgreSQL 9.1beta1
10
.TH "DROP TEXT SEARCH TEMPLATE" "7" "2011-04-27" "PostgreSQL 9.1beta1" "PostgreSQL 9.1beta1 Documentation"
11
.\" -----------------------------------------------------------------
12
.\" * set default formatting
13
.\" -----------------------------------------------------------------
14
.\" disable hyphenation
16
.\" disable justification (adjust text to left margin only)
18
.\" -----------------------------------------------------------------
19
.\" * MAIN CONTENT STARTS HERE *
20
.\" -----------------------------------------------------------------
22
DROP_TEXT_SEARCH_TEMPLATE \- remove a text search template
23
.\" DROP TEXT SEARCH TEMPLATE
27
DROP TEXT SEARCH TEMPLATE [ IF EXISTS ] \fIname\fR [ CASCADE | RESTRICT ]
31
DROP TEXT SEARCH TEMPLATE
32
drops an existing text search template\&. You must be a superuser to use this command\&.
37
Do not throw an error if the text search template does not exist\&. A notice is issued in this case\&.
42
The name (optionally schema\-qualified) of an existing text search template\&.
47
Automatically drop objects that depend on the text search template\&.
52
Refuse to drop the text search template if any objects depend on it\&. This is the default\&.
56
Remove the text search template
63
DROP TEXT SEARCH TEMPLATE thesaurus;
69
This command will not succeed if there are any existing text search dictionaries that use the template\&. Add
71
to drop such dictionaries along with the template\&.
75
DROP TEXT SEARCH TEMPLATE
76
statement in the SQL standard\&.
78
ALTER TEXT SEARCH TEMPLATE (\fBALTER_TEXT_SEARCH_TEMPLATE\fR(7)), CREATE TEXT SEARCH TEMPLATE (\fBCREATE_TEXT_SEARCH_TEMPLATE\fR(7))