Historical version. PostgreSQL 9.0 has reached end of support. 2015-10-08. See the current manual.
DROP FOREIGN DATA WRAPPER
Description
DROP FOREIGN DATA WRAPPER removes an existing foreign-data wrapper. To execute this command, the current user must be the owner of the foreign-data wrapper.
Parameters
- IF EXISTS
Do not throw an error if the foreign-data wrapper does not exist. A notice is issued in this case.
- name
The name of an existing foreign-data wrapper.
- CASCADE
Automatically drop objects that depend on the foreign-data wrapper (such as servers).
- RESTRICT
Refuse to drop the foreign-data wrappers if any objects depend on it. This is the default.
Report a documentation issue
Read the upstream documentation. For corrections, first check the current manual.