↑↓ 选择↵ 打开⌫ 切换范围完整搜索

PG.CENTER 连接 PostgreSQL 文档、百科与生态知识。由 Pigsty 维护。

Wiki / 操作符族

btree/reltime_ops (family)

B-tree operator family containing 1 classes, 5 operator strategies and 1 support functions in this source build.

当前阅读 PG 11·选择有来源记录的版本

此版本暂无所选语言的定义,以下显示原始英文内容。

Object kind
Operator family
Index AM
B-tree
aliases
reltime_ops, btree/reltime_ops
classes
map[default:t family:reltime_ops family_slug:family-btree-reltime_ops input_type:reltime key_type:none method:btree name:reltime_ops slug:class-btree-reltime_ops source_oid:]
signature
btree/reltime_ops
source oid
2233
support functions
map[family:reltime_ops family_slug:family-btree-reltime_ops function:btreltimecmp(reltime,reltime) left_type:reltime method:btree number:1 result_type:int4 right_type:reltime]

版本定义 PG 11

B-tree operator family containing 1 classes, 5 operator strategies and 1 support functions in this source build.

Family operator strategies

Operator overloadStrategyPurposeOrdering familyMembership scopeSource description
<(reltime,reltime)1searchFamily memberless than
<=(reltime,reltime)2searchFamily memberless than or equal
=(reltime,reltime)3searchFamily memberequal
>=(reltime,reltime)4searchFamily membergreater than or equal
>(reltime,reltime)5searchFamily membergreater than

Family support functions

Support numberLeft typeRight typeFunction signatureResult type
1reltimereltimebtreltimecmp(reltime,reltime)int4

Classes in this family

ClassInput typeKey typeDefault
reltime_opsreltimeSame as input typeyes

比较版本

完整来源事实

family

{"method":"btree","name":"reltime_ops"}

operators

map[description:less than family:reltime_ops family_slug:family-btree-reltime_ops left_type:reltime method:btree operator:<(reltime,reltime) operator_slug:op-3c-reltime-reltime purpose:search result_type:bool right_type:reltime sort_family: sort_family_slug: strategy:1], map[description:less than or equal family:reltime_ops family_slug:family-btree-reltime_ops left_type:reltime method:btree operator:<=(reltime,reltime) operator_slug:op-3c3d-reltime-reltime purpose:search result_type:bool right_type:reltime sort_family: sort_family_slug: strategy:2], map[description:equal family:reltime_ops family_slug:family-btree-reltime_ops left_type:reltime method:btree operator:=(reltime,reltime) operator_slug:op-3d-reltime-reltime purpose:search result_type:bool right_type:reltime sort_family: sort_family_slug: strategy:3], map[description:greater than or equal family:reltime_ops family_slug:family-btree-reltime_ops left_type:reltime method:btree operator:>=(reltime,reltime) operator_slug:op-3e3d-reltime-reltime purpose:search result_type:bool right_type:reltime sort_family: sort_family_slug: strategy:4], map[description:greater than family:reltime_ops family_slug:family-btree-reltime_ops left_type:reltime method:btree operator:>(reltime,reltime) operator_slug:op-3e-reltime-reltime purpose:search result_type:bool right_type:reltime sort_family: sort_family_slug: strategy:5]

来源引用

完整定义与证据 JSON

定义来源

center · PostgreSQL 11 · 2cb7c97d7a0d7278851bbc9c61f467b69c094c72b81740b751108e7892ebe1f0

正文语言: en · 2cb7c97d7a0d7278851bbc9c61f467b69c094c72b81740b751108e7892ebe1f0