DROP_OPERATOR
remove an operator
- Provided by: postgres-xc-client (Version: 1.1-2ubuntu2)
- Source: postgres-xc
- Report a bug
remove an operator
DROP OPERATOR [ IF EXISTS ] name ( { left_type | NONE } , { right_type | NONE } ) [ CASCADE | RESTRICT ]
The following description applies both to Postgres-XC and PostgreSQL if not described explicitly.
DROP OPERATOR drops an existing operator from the database system. To execute this command you must be the owner of the operator.
IF EXISTS
name
left_type
right_type
CASCADE
RESTRICT
Remove the power operator a^b for type integer:
DROP OPERATOR ^ (integer, integer);
Remove the left unary bitwise complement operator ~b for type bit:
DROP OPERATOR ~ (none, bit);
Remove the right unary factorial operator x! for type bigint:
DROP OPERATOR ! (bigint, none);
There is no DROP OPERATOR statement in the SQL standard.
CREATE OPERATOR (CREATE_OPERATOR(7)), ALTER OPERATOR (ALTER_OPERATOR(7))