btree/float8_ops (class)
B-tree operator class for float8; member of float_ops.
当前阅读 PG 18·选择有来源记录的版本
此版本暂无所选语言的定义,以下显示原始英文内容。
- Object kind
- Operator class
- Index AM
- B-tree
- Input type
- float8
- Stored key type
- Same as input type (catalog zero)
- Default class
- yes
- aliases
- float8_ops, btree/float8_ops
- signature
- btree/float8_ops
- source oid
- 3123
版本定义 PG 18
B-tree operator class for float8; member of float_ops.
Family operator strategies
| Operator overload | Strategy | Purpose | Ordering family | Membership scope | Source description |
|---|---|---|---|---|---|
| <(float4,float4) | 1 | search | Family member | less than | |
| <=(float4,float4) | 2 | search | Family member | less than or equal | |
| =(float4,float4) | 3 | search | Family member | equal | |
| >=(float4,float4) | 4 | search | Family member | greater than or equal | |
| >(float4,float4) | 5 | search | Family member | greater than | |
| <(float4,float8) | 1 | search | Family member | less than | |
| <=(float4,float8) | 2 | search | Family member | less than or equal | |
| =(float4,float8) | 3 | search | Family member | equal | |
| >=(float4,float8) | 4 | search | Family member | greater than or equal | |
| >(float4,float8) | 5 | search | Family member | greater than | |
| <(float8,float8) | 1 | search | Class input pair | less than | |
| <=(float8,float8) | 2 | search | Class input pair | less than or equal | |
| =(float8,float8) | 3 | search | Class input pair | equal | |
| >=(float8,float8) | 4 | search | Class input pair | greater than or equal | |
| >(float8,float8) | 5 | search | Class input pair | greater than | |
| <(float8,float4) | 1 | search | Family member | less than | |
| <=(float8,float4) | 2 | search | Family member | less than or equal | |
| =(float8,float4) | 3 | search | Family member | equal | |
| >=(float8,float4) | 4 | search | Family member | greater than or equal | |
| >(float8,float4) | 5 | search | Family member | greater than |
Family support functions
| Support number | Left type | Right type | Function signature | Result type |
|---|---|---|---|---|
| 1 | float4 | float4 | btfloat4cmp(float4,float4) | int4 |
| 2 | float4 | float4 | btfloat4sortsupport(internal) | void |
| 1 | float4 | float8 | btfloat48cmp(float4,float8) | int4 |
| 1 | float8 | float8 | btfloat8cmp(float8,float8) | int4 |
| 2 | float8 | float8 | btfloat8sortsupport(internal) | void |
| 1 | float8 | float4 | btfloat84cmp(float8,float4) | int4 |
| 3 | float8 | float8 | in_range(float8,float8,float8,bool,bool) | bool |
| 3 | float4 | float8 | in_range(float4,float4,float8,bool,bool) | bool |
Classes in this family
| Class | Input type | Key type | Default |
|---|---|---|---|
| float4_ops | float4 | Same as input type | yes |
| float8_ops | float8 | Same as input type | yes |
比较版本
完整来源事实
class
{"default":"t","family":"float_ops","input_type":"float8","key_type":"none","method":"btree","name":"float8_ops"}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]
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]
来源引用
- Matching PostgreSQL source archive
- PostgreSQL 18 English manual: indexes-opclass.html
- PostgreSQL 18 English manual: catalog-pg-opclass.html
- PostgreSQL 18 English manual: catalog-pg-amop.html
- PostgreSQL 18 English manual: catalog-pg-amproc.html
- 固定 PostgreSQL 源码归档
定义来源
center · PostgreSQL 18 · 555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f
正文语言: en · 555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f