~ubuntu-branches/debian/sid/postgresql-9.3/sid

« back to all changes in this revision

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

  • Committer: Package Import Robot
  • Author(s): Martin Pitt
  • Date: 2013-05-08 05:39:52 UTC
  • Revision ID: package-import@ubuntu.com-20130508053952-1j7uilp7mjtrvq8q
Tags: upstream-9.3~beta1
ImportĀ upstreamĀ versionĀ 9.3~beta1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
'\" t
 
2
.\"     Title: DROP FOREIGN DATA WRAPPER
 
3
.\"    Author: The PostgreSQL Global Development Group
 
4
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
 
5
.\"      Date: 2013-05-06
 
6
.\"    Manual: PostgreSQL 9.3beta1 Documentation
 
7
.\"    Source: PostgreSQL 9.3beta1
 
8
.\"  Language: English
 
9
.\"
 
10
.TH "DROP FOREIGN DATA WRAPPER" "7" "2013-05-06" "PostgreSQL 9.3beta1" "PostgreSQL 9.3beta1 Documentation"
 
11
.\" -----------------------------------------------------------------
 
12
.\" * Define some portability stuff
 
13
.\" -----------------------------------------------------------------
 
14
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
15
.\" http://bugs.debian.org/507673
 
16
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
 
17
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
18
.ie \n(.g .ds Aq \(aq
 
19
.el       .ds Aq '
 
20
.\" -----------------------------------------------------------------
 
21
.\" * set default formatting
 
22
.\" -----------------------------------------------------------------
 
23
.\" disable hyphenation
 
24
.nh
 
25
.\" disable justification (adjust text to left margin only)
 
26
.ad l
 
27
.\" -----------------------------------------------------------------
 
28
.\" * MAIN CONTENT STARTS HERE *
 
29
.\" -----------------------------------------------------------------
 
30
.SH "NAME"
 
31
DROP_FOREIGN_DATA_WRAPPER \- remove a foreign\-data wrapper
 
32
.\" DROP FOREIGN DATA WRAPPER
 
33
.SH "SYNOPSIS"
 
34
.sp
 
35
.nf
 
36
DROP FOREIGN DATA WRAPPER [ IF EXISTS ] \fIname\fR [ CASCADE | RESTRICT ]
 
37
.fi
 
38
.SH "DESCRIPTION"
 
39
.PP
 
40
 
 
41
\fBDROP FOREIGN DATA WRAPPER\fR
 
42
removes an existing foreign\-data wrapper\&. To execute this command, the current user must be the owner of the foreign\-data wrapper\&.
 
43
.SH "PARAMETERS"
 
44
.PP
 
45
IF EXISTS
 
46
.RS 4
 
47
Do not throw an error if the foreign\-data wrapper does not exist\&. A notice is issued in this case\&.
 
48
.RE
 
49
.PP
 
50
\fIname\fR
 
51
.RS 4
 
52
The name of an existing foreign\-data wrapper\&.
 
53
.RE
 
54
.PP
 
55
CASCADE
 
56
.RS 4
 
57
Automatically drop objects that depend on the foreign\-data wrapper (such as servers)\&.
 
58
.RE
 
59
.PP
 
60
RESTRICT
 
61
.RS 4
 
62
Refuse to drop the foreign\-data wrappers if any objects depend on it\&. This is the default\&.
 
63
.RE
 
64
.SH "EXAMPLES"
 
65
.PP
 
66
Drop the foreign\-data wrapper
 
67
dbi:
 
68
.sp
 
69
.if n \{\
 
70
.RS 4
 
71
.\}
 
72
.nf
 
73
DROP FOREIGN DATA WRAPPER dbi;
 
74
.fi
 
75
.if n \{\
 
76
.RE
 
77
.\}
 
78
.SH "COMPATIBILITY"
 
79
.PP
 
80
 
 
81
\fBDROP FOREIGN DATA WRAPPER\fR
 
82
conforms to ISO/IEC 9075\-9 (SQL/MED)\&. The
 
83
IF EXISTS
 
84
clause is a
 
85
PostgreSQL
 
86
extension\&.
 
87
.SH "SEE ALSO"
 
88
CREATE FOREIGN DATA WRAPPER (\fBCREATE_FOREIGN_DATA_WRAPPER\fR(7)), ALTER FOREIGN DATA WRAPPER (\fBALTER_FOREIGN_DATA_WRAPPER\fR(7))