Removes a data access protocol from a database.
DROP PROTOCOL [IF EXISTS] <name>
DROP PROTOCOL
removes the specified protocol from a database. You specify a protocol name in the CREATE EXTERNAL TABLE
command to read data from or write data to an external data source.
You must be a superuser or the protocol owner to drop a protocol.
CautionIf you drop a data access prococol, external tables that have been defined specifying the protocol will no longer be able to access the external data source.
Dropping a data access protocol, does not drop the protocol's call handlers. You must drop these functions manually.
Be sure to remove any shared libraries that were used by the protocol from the Greenplum Database hosts.
DROP PROTOCOL
is a Greenplum Database extension.
CREATE EXTERNAL TABLE, CREATE PROTOCOL
Parent topic: SQL Commands