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

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

Wiki / 操作符族

btree/float_ops (family)

B-tree operator family containing 2 classes, 20 operator strategies and 8 support functions in this source build.

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

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

Object kind
Operator family
Index AM
B-tree
aliases
float_ops, btree/float_ops
signature
btree/float_ops
source oid
1970

版本定义 PG 18

B-tree operator family containing 2 classes, 20 operator strategies and 8 support functions in this source build.

Family operator strategies

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

Family support functions

Support numberLeft typeRight typeFunction signatureResult type
1float4float4btfloat4cmp(float4,float4)int4
2float4float4btfloat4sortsupport(internal)void
1float4float8btfloat48cmp(float4,float8)int4
1float8float8btfloat8cmp(float8,float8)int4
2float8float8btfloat8sortsupport(internal)void
1float8float4btfloat84cmp(float8,float4)int4
3float8float8in_range(float8,float8,float8,bool,bool)bool
3float4float8in_range(float4,float4,float8,bool,bool)bool

Classes in this family

ClassInput typeKey typeDefault
float4_opsfloat4Same as input typeyes
float8_opsfloat8Same as input typeyes

比较版本

完整来源事实

classes

map[default:t family:float_ops family_slug:family-btree-float_ops input_type:float4 key_type:none method:btree name:float4_ops slug:class-btree-float4_ops source_oid:], map[default:t family:float_ops family_slug:family-btree-float_ops input_type:float8 key_type:none method:btree name:float8_ops slug:class-btree-float8_ops source_oid:3123]

family

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

operators

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

support functions

map[family:float_ops family_slug:family-btree-float_ops function:btfloat4cmp(float4,float4) left_type:float4 method:btree number:1 result_type:int4 right_type:float4], map[family:float_ops family_slug:family-btree-float_ops function:btfloat4sortsupport(internal) left_type:float4 method:btree number:2 result_type:void right_type:float4], map[family:float_ops family_slug:family-btree-float_ops function:btfloat48cmp(float4,float8) left_type:float4 method:btree number:1 result_type:int4 right_type:float8], map[family:float_ops family_slug:family-btree-float_ops function:btfloat8cmp(float8,float8) left_type:float8 method:btree number:1 result_type:int4 right_type:float8], map[family:float_ops family_slug:family-btree-float_ops function:btfloat8sortsupport(internal) left_type:float8 method:btree number:2 result_type:void right_type:float8], map[family:float_ops family_slug:family-btree-float_ops function:btfloat84cmp(float8,float4) left_type:float8 method:btree number:1 result_type:int4 right_type:float4], map[family:float_ops family_slug:family-btree-float_ops function:in_range(float8,float8,float8,bool,bool) left_type:float8 method:btree number:3 result_type:bool right_type:float8], map[family:float_ops family_slug:family-btree-float_ops function:in_range(float4,float4,float8,bool,bool) left_type:float4 method:btree number:3 result_type:bool right_type:float8]

来源引用

完整定义与证据 JSON

定义来源

center · PostgreSQL 18 · 555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f

正文语言: en · 555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f