—
NAME
DROP_OPERATOR - remove an operator
SYNOPSIS
bash
DROP OPERATOR [ IF EXISTS ] \nname\n ( { \nleft_type\n | NONE } , \nright_type\n ) [, ...] [ CASCADE | RESTRICT ]DESCRIPTION
DROP OPERATOR drops an existing operator from the database system. To execute this command you must be the owner of the operator.
PARAMETERS
IF EXISTS
name
left_type
right_type
CASCADE
RESTRICT
EXAMPLES
Remove the power operator a^b for type integer:
bash
DROP OPERATOR ^ (integer, integer);Remove the bitwise-complement prefix operator ~b for type bit:
bash
DROP OPERATOR ~ (none, bit);Remove multiple operators in one command:
bash
DROP OPERATOR ~ (none, bit), ^ (integer, integer);COMPATIBILITY
There is no DROP OPERATOR statement in the SQL standard.
SEE ALSO
CREATE OPERATOR (CREATE_OPERATOR(7)), ALTER OPERATOR (ALTER_OPERATOR(7))