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/>
6
.\" Manual: PostgreSQL 9.3beta1 Documentation
7
.\" Source: PostgreSQL 9.3beta1
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
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
20
.\" -----------------------------------------------------------------
21
.\" * set default formatting
22
.\" -----------------------------------------------------------------
23
.\" disable hyphenation
25
.\" disable justification (adjust text to left margin only)
27
.\" -----------------------------------------------------------------
28
.\" * MAIN CONTENT STARTS HERE *
29
.\" -----------------------------------------------------------------
31
DROP_FOREIGN_DATA_WRAPPER \- remove a foreign\-data wrapper
32
.\" DROP FOREIGN DATA WRAPPER
36
DROP FOREIGN DATA WRAPPER [ IF EXISTS ] \fIname\fR [ CASCADE | RESTRICT ]
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\&.
47
Do not throw an error if the foreign\-data wrapper does not exist\&. A notice is issued in this case\&.
52
The name of an existing foreign\-data wrapper\&.
57
Automatically drop objects that depend on the foreign\-data wrapper (such as servers)\&.
62
Refuse to drop the foreign\-data wrappers if any objects depend on it\&. This is the default\&.
66
Drop the foreign\-data wrapper
73
DROP FOREIGN DATA WRAPPER dbi;
81
\fBDROP FOREIGN DATA WRAPPER\fR
82
conforms to ISO/IEC 9075\-9 (SQL/MED)\&. The
88
CREATE FOREIGN DATA WRAPPER (\fBCREATE_FOREIGN_DATA_WRAPPER\fR(7)), ALTER FOREIGN DATA WRAPPER (\fBALTER_FOREIGN_DATA_WRAPPER\fR(7))