1DROP FOREIGN DATA WRAPPERP(o7s)tgreSQL 9.2.24 DocumentaDtRiOoPnFOREIGN DATA WRAPPER(7)
2
3
4
6 DROP_FOREIGN_DATA_WRAPPER - remove a foreign-data wrapper
7
9 DROP FOREIGN DATA WRAPPER [ IF EXISTS ] name [ CASCADE | RESTRICT ]
10
12 DROP FOREIGN DATA WRAPPER removes an existing foreign-data wrapper. To
13 execute this command, the current user must be the owner of the
14 foreign-data wrapper.
15
17 IF EXISTS
18 Do not throw an error if the foreign-data wrapper does not exist. A
19 notice is issued in this case.
20
21 name
22 The name of an existing foreign-data wrapper.
23
24 CASCADE
25 Automatically drop objects that depend on the foreign-data wrapper
26 (such as servers).
27
28 RESTRICT
29 Refuse to drop the foreign-data wrappers if any objects depend on
30 it. This is the default.
31
33 Drop the foreign-data wrapper dbi:
34
35 DROP FOREIGN DATA WRAPPER dbi;
36
38 DROP FOREIGN DATA WRAPPER conforms to ISO/IEC 9075-9 (SQL/MED). The IF
39 EXISTS clause is a PostgreSQL extension.
40
42 CREATE FOREIGN DATA WRAPPER (CREATE_FOREIGN_DATA_WRAPPER(7)), ALTER
43 FOREIGN DATA WRAPPER (ALTER_FOREIGN_DATA_WRAPPER(7))
44
45
46
47PostgreSQL 9.2.24 2017-11-06 DROP FOREIGN DATA WRAPPER(7)