hash/int2_ops (class)
Hash operator class for int2; member of integer_ops.
当前阅读 PG 18·选择有来源记录的版本
此版本暂无所选语言的定义,以下显示原始英文内容。
- Object kind
- Operator class
- Index AM
- Hash
- Input type
- int2
- Stored key type
- Same as input type (catalog zero)
- Default class
- yes
- aliases
- int2_ops, hash/int2_ops
- signature
- hash/int2_ops
- source oid
- 未知
版本定义 PG 18
Hash operator class for int2; member of integer_ops.
Family operator strategies
| Operator overload | Strategy | Purpose | Ordering family | Membership scope | Source description |
|---|---|---|---|---|---|
| =(int2,int2) | 1 | search | Class input pair | equal | |
| =(int4,int4) | 1 | search | Family member | equal | |
| =(int8,int8) | 1 | search | Family member | equal | |
| =(int2,int4) | 1 | search | Family member | equal | |
| =(int2,int8) | 1 | search | Family member | equal | |
| =(int4,int2) | 1 | search | Family member | equal | |
| =(int4,int8) | 1 | search | Family member | equal | |
| =(int8,int2) | 1 | search | Family member | equal | |
| =(int8,int4) | 1 | search | Family member | equal |
Family support functions
Classes in this family
比较版本
完整来源事实
class
{"default":"t","family":"integer_ops","input_type":"int2","key_type":"none","method":"hash","name":"int2_ops"}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:]
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]
来源引用
- 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