↑↓ select↵ open⌫ change scopeOpen full search

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

Wiki / Operator Families

hash/timestamptz_ops (class)

Hash operator class for timestamptz; member of timestamptz_ops.

Reading PG 18·Select a recorded version

Object kind
Operator class
Index AM
Hash
Input type
timestamptz
Stored key type
Same as input type (catalog zero)
Default class
yes
aliases
timestamptz_ops, hash/timestamptz_ops
classes
map[default:t family:timestamptz_ops family_slug:family-hash-timestamptz_ops input_type:timestamptz key_type:none method:hash name:timestamptz_ops slug:class-hash-timestamptz_ops source_oid:]
signature
hash/timestamptz_ops
source oid
Unknown

Definition PG 18

Hash operator class for timestamptz; member of timestamptz_ops.

Family operator strategies

Operator overloadStrategyPurposeOrdering familyMembership scopeSource description
=(timestamptz,timestamptz)1searchClass input pairequal

Family support functions

Support numberLeft typeRight typeFunction signatureResult type
1timestamptztimestamptztimestamptz_hash(timestamptz)int4
2timestamptztimestamptztimestamptz_hash_extended(timestamptz,int8)int8

Classes in this family

ClassInput typeKey typeDefault
timestamptz_opstimestamptzSame as input typeyes

Compare versions

Complete source facts

class

{"default":"t","family":"timestamptz_ops","input_type":"timestamptz","key_type":"none","method":"hash","name":"timestamptz_ops"}

operators

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

support functions

map[family:timestamptz_ops family_slug:family-hash-timestamptz_ops function:timestamptz_hash(timestamptz) left_type:timestamptz method:hash number:1 result_type:int4 right_type:timestamptz], map[family:timestamptz_ops family_slug:family-hash-timestamptz_ops function:timestamptz_hash_extended(timestamptz,int8) left_type:timestamptz method:hash number:2 result_type:int8 right_type:timestamptz]

Source references

Full definition and evidence JSON

Definition sources

center · PostgreSQL 18 · 555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f

Text language: en · 555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f