SQL Reference Contents
drop operator - remove an operator from the system
drop
operator opr_desc
This command drops an existing operator
from the database. To execute this command you must be the owner of the
operator.
Opr_desc is the name of the operator to be removed followed by
a parenthesized list of the operand types for the operator. The left or
right type of a left or right unary operator, respectively, may be specified
as none.
It is the user's responsibility to remove any access methods, operator
classes, etc. that rely on the deleted operator.
--
--Remove power
operator a^n for int4
--
drop operator ^ (int4, int4)
--
--Remove left unary
operator !a for booleans
--
drop operator ! (none, bool)
--
--Remove right
unary factorial operator a! for int4
--
drop operator ! (int4, none)
create operator(l)
.
Table of Contents