↑↓ select↵ open⌫ change scopeOpen full search

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

Wiki / Operator Families

hash/bool_ops (class)

Hash operator class for bool; member of bool_ops.

Reading PG 18·Select a recorded version

Object kind
Operator class
Index AM
Hash
Input type
bool
Stored key type
Same as input type (catalog zero)
Default class
yes
aliases
bool_ops, hash/bool_ops
classes
map[default:t family:bool_ops family_slug:family-hash-bool_ops input_type:bool key_type:none method:hash name:bool_ops slug:class-hash-bool_ops source_oid:]
operators
map[description:equal family:bool_ops family_slug:family-hash-bool_ops left_type:bool method:hash operator:=(bool,bool) operator_slug:op-3d-bool-bool purpose:search result_type:bool right_type:bool sort_family: sort_family_slug: strategy:1]
signature
hash/bool_ops
source oid
Unknown

Definition PG 18

Hash operator class for bool; member of bool_ops.

Family operator strategies

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

Family support functions

Support numberLeft typeRight typeFunction signatureResult type
1boolboolhashbool(bool)int4
2boolboolhashboolextended(bool,int8)int8

Classes in this family

ClassInput typeKey typeDefault
bool_opsboolSame as input typeyes

Compare versions

Complete source facts

class

{"default":"t","family":"bool_ops","input_type":"bool","key_type":"none","method":"hash","name":"bool_ops"}

support functions

map[family:bool_ops family_slug:family-hash-bool_ops function:hashbool(bool) left_type:bool method:hash number:1 result_type:int4 right_type:bool], map[family:bool_ops family_slug:family-hash-bool_ops function:hashboolextended(bool,int8) left_type:bool method:hash number:2 result_type:int8 right_type:bool]

Source references

Full definition and evidence JSON

Definition sources

center · PostgreSQL 18 · 555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f

Text language: en · 555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f