↑↓ select↵ open⌫ change scopeOpen full search

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

Wiki / Operator Families

hash/float_ops (family)

Hash operator family containing 2 classes, 4 operator strategies and 4 support functions in this source build.

Reading PG 18·Select a recorded version

Object kind
Operator family
Index AM
Hash
aliases
float_ops, hash/float_ops
signature
hash/float_ops
source oid
1971

Definition PG 18

Hash operator family containing 2 classes, 4 operator strategies and 4 support functions in this source build.

Family operator strategies

Operator overloadStrategyPurposeOrdering familyMembership scopeSource description
=(float4,float4)1searchFamily memberequal
=(float8,float8)1searchFamily memberequal
=(float4,float8)1searchFamily memberequal
=(float8,float4)1searchFamily memberequal

Family support functions

Support numberLeft typeRight typeFunction signatureResult type
1float4float4hashfloat4(float4)int4
2float4float4hashfloat4extended(float4,int8)int8
1float8float8hashfloat8(float8)int4
2float8float8hashfloat8extended(float8,int8)int8

Classes in this family

ClassInput typeKey typeDefault
float4_opsfloat4Same as input typeyes
float8_opsfloat8Same as input typeyes

Compare versions

Complete source facts

classes

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

family

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

operators

map[description:equal family:float_ops family_slug:family-hash-float_ops left_type:float4 method:hash operator:=(float4,float4) operator_slug:op-3d-float4-float4 purpose:search result_type:bool right_type:float4 sort_family: sort_family_slug: strategy:1], map[description:equal family:float_ops family_slug:family-hash-float_ops left_type:float8 method:hash operator:=(float8,float8) operator_slug:op-3d-float8-float8 purpose:search result_type:bool right_type:float8 sort_family: sort_family_slug: strategy:1], map[description:equal family:float_ops family_slug:family-hash-float_ops left_type:float4 method:hash operator:=(float4,float8) operator_slug:op-3d-float4-float8 purpose:search result_type:bool right_type:float8 sort_family: sort_family_slug: strategy:1], map[description:equal family:float_ops family_slug:family-hash-float_ops left_type:float8 method:hash operator:=(float8,float4) operator_slug:op-3d-float8-float4 purpose:search result_type:bool right_type:float4 sort_family: sort_family_slug: strategy:1]

support functions

map[family:float_ops family_slug:family-hash-float_ops function:hashfloat4(float4) left_type:float4 method:hash number:1 result_type:int4 right_type:float4], map[family:float_ops family_slug:family-hash-float_ops function:hashfloat4extended(float4,int8) left_type:float4 method:hash number:2 result_type:int8 right_type:float4], map[family:float_ops family_slug:family-hash-float_ops function:hashfloat8(float8) left_type:float8 method:hash number:1 result_type:int4 right_type:float8], map[family:float_ops family_slug:family-hash-float_ops function:hashfloat8extended(float8,int8) left_type:float8 method:hash number:2 result_type:int8 right_type:float8]

Source references

Full definition and evidence JSON

Definition sources

center · PostgreSQL 18 · 555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f

Text language: en · 555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f