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 SERVER" "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_SERVER \- remove a foreign server descriptor
27
DROP SERVER [ IF EXISTS ] \fIserver_name\fR [ CASCADE | RESTRICT ]
32
removes an existing foreign server descriptor\&. To execute this command, the current user must be the owner of the server\&.
37
Do not throw an error if the server does not exist\&. A notice is issued in this case\&.
42
The name of an existing server\&.
47
Automatically drop objects that depend on the server (such as user mappings)\&.
52
Refuse to drop the server if any objects depend on it\&. This is the default\&.
64
DROP SERVER IF EXISTS foo;
72
conforms to ISO/IEC 9075\-9 (SQL/MED)\&. The
78
CREATE SERVER (\fBCREATE_SERVER\fR(7)), ALTER SERVER (\fBALTER_SERVER\fR(7))