1DROP FOREIGN DATA WRAPPER(P7o)stgreSQL 13.3 DocumentatDiRoOnP FOREIGN 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 foreign tables and servers), and in turn all objects that
27 depend on those objects (see Section 5.14).
28
29 RESTRICT
30 Refuse to drop the foreign-data wrapper if any objects depend on
31 it. This is the default.
32
34 Drop the foreign-data wrapper dbi:
35
36 DROP FOREIGN DATA WRAPPER dbi;
37
39 DROP FOREIGN DATA WRAPPER conforms to ISO/IEC 9075-9 (SQL/MED). The IF
40 EXISTS clause is a PostgreSQL extension.
41
43 CREATE FOREIGN DATA WRAPPER (CREATE_FOREIGN_DATA_WRAPPER(7)), ALTER
44 FOREIGN DATA WRAPPER (ALTER_FOREIGN_DATA_WRAPPER(7))
45
46
47
48PostgreSQL 13.3 2021 DROP FOREIGN DATA WRAPPER(7)