DROP OPERATOR CLASS 中文man页面

系统
DROP OPERATOR CLASS 从数据库中删除一个现有操作符表。要执行这条命令,你必须是此操作符表的所有者。

NAME

DROP OPERATOR CLASS - 删除一个操作符类

SYNOPSIS

DROP OPERATOR CLASS name USING index_method [ CASCADE | RESTRICT ]

DESCRIPTION 描述

DROP OPERATOR CLASS 从数据库中删除一个现有操作符表。要执行这条命令,你必须是此操作符表的所有者。  

PARAMETERS 参数

name

 一个现存操作符表的名字(可以用模式修饰)。
index_method

 操作符表所对付的索引访问方法的名字。
CASCADE

 自动删除依赖于该操作符表的对象。
RESTRICT

 如果有任何依赖对象存在,则拒绝删除此操作符表。这个行为是缺省。

EXAMPLES 例子


 删除 B-tree 操作符表 widget_ops:

DROP OPERATOR CLASS widget_ops USING btree;


 如果有任何现存的索引使用这个操作符表,那么这条命令将不能 执行。增加一个 CASCADE 删除这样的索引以及这个 操作符表。  

COMPATIBILITY 兼容性


 在 SQL 标准里没有 DROP OPERATOR CLASS。  

SEE ALSO 参见

ALTER OPERATOR CLASS [alter_operator_class(7)], CREATE OPERATOR CLASS [create_operator_class(l)]

#p#

NAME

DROP OPERATOR CLASS - remove an operator class

SYNOPSIS

DROP OPERATOR CLASS name USING index_method [ CASCADE | RESTRICT ]

DESCRIPTION

DROP OPERATOR CLASS drops an existing operator class. To execute this command you must be the owner of the operator class.  

PARAMETERS

name
The name (optionally schema-qualified) of an existing operator class.
index_method
The name of the index access method the operator class is for.
CASCADE
Automatically drop objects that depend on the operator class.
RESTRICT
Refuse to drop the operator class if any objects depend on it. This is the default.

EXAMPLES

Remove the B-tree operator class widget_ops:

DROP OPERATOR CLASS widget_ops USING btree;

This command will not succeed if there are any existing indexes that use the operator class. Add CASCADE to drop such indexes along with the operator class.  

COMPATIBILITY

There is no DROP OPERATOR CLASS statement in the SQL standard.  

SEE ALSO

ALTER OPERATOR CLASS [alter_operator_class(7)], CREATE OPERATOR CLASS [create_operator_class(l)]

责任编辑:韩亚珊 来源: CMPP.net
相关推荐

2011-08-24 14:35:33

DROP OPERAT中文man

2011-08-24 11:26:46

CREATE OPER中文man

2011-08-24 09:36:00

alter_opera中文man

2011-08-24 11:23:20

CREATE OPER中文man

2011-08-24 14:06:36

DROP AGGREG中文man

2011-08-24 14:10:10

DROP CAST中文man

2011-08-24 14:25:43

DROP GROUP中文man

2011-08-24 14:40:50

DROP RULE中文man

2011-08-24 14:28:47

DROP INDEX中文man

2011-08-24 14:22:11

DROP FUNCTI中文man

2011-08-24 14:13:27

DROP CONVER中文man

2011-08-24 14:31:48

DROP LANGUA中文man

2011-08-24 14:16:18

DROP DATABA中文man

2011-08-24 14:19:14

DROP DOMAIN中文man

2011-08-24 14:46:42

drop_sequen中文man

2011-08-24 14:52:31

drop_trigge中文man

2011-08-24 14:43:21

drop_schema中文man

2011-08-24 14:59:50

drop_user中文man

2011-08-24 14:49:13

drop_table中文man

2011-08-24 15:03:08

drop_view中文man
点赞
收藏

51CTO技术栈公众号