DROP OPERATOR id ( lefttype | NONE , righttype | NONE ) [ CASCADE | RESTRICT ]
The identifier (optionally schema-qualified) of an existing operator.
The type of the operator's left argument; write NONE if the operator has no left argument.
The type of the operator's right argument; write NONE if the operator has no right argument.
Automatically drop objects that depend on the operator.
Refuse to drop the operator if there are any dependent objects. This is the default.
The message returned if the command is successful.
This message occurs if the specified binary operator does not exist.
This message occurs if the left unary operator specified does not exist.
This message occurs if the right unary operator specified does not exist.
DROP OPERATOR drops an existing operator from the database. To execute this command you must be the owner of the operator.
The left or right type of a left or right unary operator, respectively, must be specified as NONE.
The DROP OPERATOR statement is a PostgreSQL language extension.
Refer to CREATE OPERATOR for information on how to create operators.