PG_OPERATOR系统表存储有关操作符的信息。
表 1 PG_OPERATOR字段
名称
|
类型
|
引用
|
描述
|
oid
|
oid
|
-
|
行标识符(隐藏属性,必须明确选择)。
|
oprname
|
name
|
-
|
操作符的名称。
|
oprnamespace
|
oid
|
PG_NAMESPACE.oid
|
包含此操作符的名称空间的OID。
|
oprowner
|
oid
|
PG_AUTHID.oid
|
操作符所有者。
|
oprkind
|
"char"
|
-
|
- b=infix =中缀(“两边”)
- l=前缀(“左边”)
- r=后缀(“右边”)
|
oprcanmerge
|
Boolean
|
-
|
这个操作符支持合并连接。
|
oprcanhash
|
Boolean
|
-
|
这个操作符支持Hash连接。
|
oprleft
|
oid
|
PG_TYPE.oid
|
左操作数的类型。
|
oprright
|
oid
|
PG_TYPE.oid
|
右操作数的类型。
|
oprresult
|
oid
|
PG_TYPE.oid
|
结果类型。
|
oprcom
|
oid
|
PG_OPERATOR.oid
|
此操作符的交换符,如果存在的话。
|
oprnegate
|
oid
|
PG_OPERATOR.oid
|
此操作符的反转器,如果存在的话。
|
oprcode
|
regproc
|
PG_PROC.proname
|
实现这个操作符的函数。
|
oprrest
|
regproc
|
PG_PROC.proname
|
此操作符的约束选择性计算函数。
|
oprjoin
|
regproc
|
PG_PROC.proname
|
此操作符的连接选择性计算函数。
|
「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。