~ubuntu-branches/ubuntu/oneiric/postgresql-9.1/oneiric-security

« back to all changes in this revision

Viewing changes to doc/src/sgml/man7/DROP_TEXT_SEARCH_PARSER.7

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2011-05-11 10:41:53 UTC
  • Revision ID: james.westby@ubuntu.com-20110511104153-psbh2o58553fv1m0
Tags: upstream-9.1~beta1
ImportĀ upstreamĀ versionĀ 9.1~beta1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
'\" t
 
2
.\"     Title: DROP TEXT SEARCH PARSER
 
3
.\"    Author: The PostgreSQL Global Development Group
 
4
.\" Generator: DocBook XSL Stylesheets v1.75.1 <http://docbook.sf.net/>
 
5
.\"      Date: 2011-04-27
 
6
.\"    Manual: PostgreSQL 9.1beta1 Documentation
 
7
.\"    Source: PostgreSQL 9.1beta1
 
8
.\"  Language: English
 
9
.\"
 
10
.TH "DROP TEXT SEARCH PARSER" "7" "2011-04-27" "PostgreSQL 9.1beta1" "PostgreSQL 9.1beta1 Documentation"
 
11
.\" -----------------------------------------------------------------
 
12
.\" * set default formatting
 
13
.\" -----------------------------------------------------------------
 
14
.\" disable hyphenation
 
15
.nh
 
16
.\" disable justification (adjust text to left margin only)
 
17
.ad l
 
18
.\" -----------------------------------------------------------------
 
19
.\" * MAIN CONTENT STARTS HERE *
 
20
.\" -----------------------------------------------------------------
 
21
.SH "NAME"
 
22
DROP_TEXT_SEARCH_PARSER \- remove a text search parser
 
23
.\" DROP TEXT SEARCH PARSER
 
24
.SH "SYNOPSIS"
 
25
.sp
 
26
.nf
 
27
DROP TEXT SEARCH PARSER [ IF EXISTS ] \fIname\fR [ CASCADE | RESTRICT ]
 
28
.fi
 
29
.SH "DESCRIPTION"
 
30
.PP
 
31
DROP TEXT SEARCH PARSER
 
32
drops an existing text search parser\&. You must be a superuser to use this command\&.
 
33
.SH "PARAMETERS"
 
34
.PP
 
35
IF EXISTS
 
36
.RS 4
 
37
Do not throw an error if the text search parser does not exist\&. A notice is issued in this case\&.
 
38
.RE
 
39
.PP
 
40
\fIname\fR
 
41
.RS 4
 
42
The name (optionally schema\-qualified) of an existing text search parser\&.
 
43
.RE
 
44
.PP
 
45
CASCADE
 
46
.RS 4
 
47
Automatically drop objects that depend on the text search parser\&.
 
48
.RE
 
49
.PP
 
50
RESTRICT
 
51
.RS 4
 
52
Refuse to drop the text search parser if any objects depend on it\&. This is the default\&.
 
53
.RE
 
54
.SH "EXAMPLES"
 
55
.PP
 
56
Remove the text search parser
 
57
my_parser:
 
58
.sp
 
59
.if n \{\
 
60
.RS 4
 
61
.\}
 
62
.nf
 
63
DROP TEXT SEARCH PARSER my_parser;
 
64
.fi
 
65
.if n \{\
 
66
.RE
 
67
.\}
 
68
.sp
 
69
This command will not succeed if there are any existing text search configurations that use the parser\&. Add
 
70
CASCADE
 
71
to drop such configurations along with the parser\&.
 
72
.SH "COMPATIBILITY"
 
73
.PP
 
74
There is no
 
75
DROP TEXT SEARCH PARSER
 
76
statement in the SQL standard\&.
 
77
.SH "SEE ALSO"
 
78
ALTER TEXT SEARCH PARSER (\fBALTER_TEXT_SEARCH_PARSER\fR(7)), CREATE TEXT SEARCH PARSER (\fBCREATE_TEXT_SEARCH_PARSER\fR(7))