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

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

Wiki / 操作符族

hash/integer_ops (family)

Hash operator family containing 3 classes, 9 operator strategies and 6 support functions in this source build.

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

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

Object kind
Operator family
Index AM
Hash
aliases
integer_ops, hash/integer_ops
signature
hash/integer_ops
source oid
1977

版本定义 PG 18

Hash operator family containing 3 classes, 9 operator strategies and 6 support functions in this source build.

Family operator strategies

Operator overloadStrategyPurposeOrdering familyMembership scopeSource description
=(int2,int2)1searchFamily memberequal
=(int4,int4)1searchFamily memberequal
=(int8,int8)1searchFamily memberequal
=(int2,int4)1searchFamily memberequal
=(int2,int8)1searchFamily memberequal
=(int4,int2)1searchFamily memberequal
=(int4,int8)1searchFamily memberequal
=(int8,int2)1searchFamily memberequal
=(int8,int4)1searchFamily memberequal

Family support functions

Support numberLeft typeRight typeFunction signatureResult type
1int2int2hashint2(int2)int4
2int2int2hashint2extended(int2,int8)int8
1int4int4hashint4(int4)int4
2int4int4hashint4extended(int4,int8)int8
1int8int8hashint8(int8)int4
2int8int8hashint8extended(int8,int8)int8

Classes in this family

ClassInput typeKey typeDefault
int2_opsint2Same as input typeyes
int4_opsint4Same as input typeyes
int8_opsint8Same as input typeyes

比较版本

完整来源事实

classes

map[default:t family:integer_ops family_slug:family-hash-integer_ops input_type:int2 key_type:none method:hash name:int2_ops slug:class-hash-int2_ops source_oid:], map[default:t family:integer_ops family_slug:family-hash-integer_ops input_type:int4 key_type:none method:hash name:int4_ops slug:class-hash-int4_ops source_oid:], map[default:t family:integer_ops family_slug:family-hash-integer_ops input_type:int8 key_type:none method:hash name:int8_ops slug:class-hash-int8_ops source_oid:]

family

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

operators

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

support functions

map[family:integer_ops family_slug:family-hash-integer_ops function:hashint2(int2) left_type:int2 method:hash number:1 result_type:int4 right_type:int2], map[family:integer_ops family_slug:family-hash-integer_ops function:hashint2extended(int2,int8) left_type:int2 method:hash number:2 result_type:int8 right_type:int2], map[family:integer_ops family_slug:family-hash-integer_ops function:hashint4(int4) left_type:int4 method:hash number:1 result_type:int4 right_type:int4], map[family:integer_ops family_slug:family-hash-integer_ops function:hashint4extended(int4,int8) left_type:int4 method:hash number:2 result_type:int8 right_type:int4], map[family:integer_ops family_slug:family-hash-integer_ops function:hashint8(int8) left_type:int8 method:hash number:1 result_type:int4 right_type:int8], map[family:integer_ops family_slug:family-hash-integer_ops function:hashint8extended(int8,int8) left_type:int8 method:hash number:2 result_type:int8 right_type:int8]

来源引用

完整定义与证据 JSON

定义来源

center · PostgreSQL 18 · 555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f

正文语言: en · 555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f