4 DROP FOREIGN TABLE — remove a foreign table
8 DROP FOREIGN TABLE [ IF EXISTS ] name [, ...] [ CASCADE | RESTRICT ]
12 DROP FOREIGN TABLE removes a foreign table. Only the owner of a foreign
18 Do not throw an error if the foreign table does not exist. A
19 notice is issued in this case.
22 The name (optionally schema-qualified) of the foreign table to
26 Automatically drop objects that depend on the foreign table
27 (such as views), and in turn all objects that depend on those
28 objects (see Section 5.15).
31 Refuse to drop the foreign table if any objects depend on it.
36 To destroy two foreign tables, films and distributors:
37 DROP FOREIGN TABLE films, distributors;
41 This command conforms to ISO/IEC 9075-9 (SQL/MED), except that the
42 standard only allows one foreign table to be dropped per command, and
43 apart from the IF EXISTS option, which is a PostgreSQL extension.
47 ALTER FOREIGN TABLE, CREATE FOREIGN TABLE