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

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

Wiki / 操作符族

btree/bool_ops (family)

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

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

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

Object kind
Operator family
Index AM
B-tree
aliases
bool_ops, btree/bool_ops
classes
map[default:t family:bool_ops family_slug:family-btree-bool_ops input_type:bool key_type:none method:btree name:bool_ops slug:class-btree-bool_ops source_oid:]
signature
btree/bool_ops
source oid
424

版本定义 PG 18

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

Family operator strategies

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

Family support functions

Support numberLeft typeRight typeFunction signatureResult type
1boolboolbtboolcmp(bool,bool)int4
6boolboolbtboolskipsupport(internal)void
4boolboolbtequalimage(oid)bool

Classes in this family

ClassInput typeKey typeDefault
bool_opsboolSame as input typeyes

比较版本

完整来源事实

family

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

operators

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

support functions

map[family:bool_ops family_slug:family-btree-bool_ops function:btboolcmp(bool,bool) left_type:bool method:btree number:1 result_type:int4 right_type:bool], map[family:bool_ops family_slug:family-btree-bool_ops function:btboolskipsupport(internal) left_type:bool method:btree number:6 result_type:void right_type:bool], map[family:bool_ops family_slug:family-btree-bool_ops function:btequalimage(oid) left_type:bool method:btree number:4 result_type:bool right_type:bool]

来源引用

完整定义与证据 JSON

定义来源

center · PostgreSQL 18 · 555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f

正文语言: en · 555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f