Removes a foreign server descriptor.
DROP SERVER [ IF EXISTS ] <servername> [ CASCADE | RESTRICT ]
DROP SERVER
removes an existing foreign server descriptor. The user running this command must be the owner of the server.
Drop the server named foo
if it exists:
DROP SERVER IF EXISTS foo;
DROP SERVER
conforms to ISO/IEC 9075-9 (SQL/MED). The IF EXISTS
clause is a Greenplum Database extension.
Parent topic: SQL Commands