↑↓ select↵ open⌫ change scopeOpen full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

Wiki / Operator Families

btree/float8_ops (class)

B-tree operator class for float8; member of float_ops.

Reading PG 18·Select a recorded version

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

Definition PG 18

B-tree operator class for float8; member of float_ops.

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)1searchClass input pairless than
<=(float8,float8)2searchClass input pairless than or equal
=(float8,float8)3searchClass input pairequal
>=(float8,float8)4searchClass input pairgreater than or equal
>(float8,float8)5searchClass input pairgreater 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

Compare versions

Complete source facts

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]

Source references

Full definition and evidence JSON

Definition sources

center · PostgreSQL 18 · 555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f

Text language: en · 555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f