DROP OPERATOR CLASS
Synopsis
Use the DROP OPERATOR CLASS
statement to remove an operator class.
Syntax
drop_operator_class ::= DROP OPERATOR CLASS [ IF EXISTS ]
operator_class_name USING index_method
[ CASCADE | RESTRICT ]
drop_operator_class
Semantics
See the semantics of each option in the [PostgreSQL docs][postgresql-docs-drop-operator-class].
Examples
Basic example.
yugabyte=# CREATE OPERATOR CLASS my_op_class
FOR TYPE int4
USING btree AS
OPERATOR 1 <,
OPERATOR 2 <=;
yugabyte=# DROP OPERATOR CLASS my_op_class USING btree;
See also
当前内容版权归 YugabyteDB 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 YugabyteDB .