↑↓ select↵ open⌫ change scopeOpen full search

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

Wiki / Operator Families

btree/bytea_ops (family)

B-tree operator family containing 1 classes, 5 operator strategies and 3 support functions in this source build.

Reading PG 18·Select a recorded version

Object kind
Operator family
Index AM
B-tree
aliases
bytea_ops, btree/bytea_ops
classes
map[default:t family:bytea_ops family_slug:family-btree-bytea_ops input_type:bytea key_type:none method:btree name:bytea_ops slug:class-btree-bytea_ops source_oid:]
signature
btree/bytea_ops
source oid
428

Definition PG 18

B-tree operator family containing 1 classes, 5 operator strategies and 3 support functions in this source build.

Family operator strategies

Operator overloadStrategyPurposeOrdering familyMembership scopeSource description
<(bytea,bytea)1searchFamily memberless than
<=(bytea,bytea)2searchFamily memberless than or equal
=(bytea,bytea)3searchFamily memberequal
>=(bytea,bytea)4searchFamily membergreater than or equal
>(bytea,bytea)5searchFamily membergreater than

Family support functions

Support numberLeft typeRight typeFunction signatureResult type
1byteabyteabyteacmp(bytea,bytea)int4
2byteabyteabytea_sortsupport(internal)void
4byteabyteabtequalimage(oid)bool

Classes in this family

ClassInput typeKey typeDefault
bytea_opsbyteaSame as input typeyes

Compare versions

Complete source facts

family

{"method":"btree","name":"bytea_ops"}

operators

map[description:less than family:bytea_ops family_slug:family-btree-bytea_ops left_type:bytea method:btree operator:<(bytea,bytea) operator_slug:op-3c-bytea-bytea purpose:search result_type:bool right_type:bytea sort_family: sort_family_slug: strategy:1], map[description:less than or equal family:bytea_ops family_slug:family-btree-bytea_ops left_type:bytea method:btree operator:<=(bytea,bytea) operator_slug:op-3c3d-bytea-bytea purpose:search result_type:bool right_type:bytea sort_family: sort_family_slug: strategy:2], map[description:equal family:bytea_ops family_slug:family-btree-bytea_ops left_type:bytea method:btree operator:=(bytea,bytea) operator_slug:op-3d-bytea-bytea purpose:search result_type:bool right_type:bytea sort_family: sort_family_slug: strategy:3], map[description:greater than or equal family:bytea_ops family_slug:family-btree-bytea_ops left_type:bytea method:btree operator:>=(bytea,bytea) operator_slug:op-3e3d-bytea-bytea purpose:search result_type:bool right_type:bytea sort_family: sort_family_slug: strategy:4], map[description:greater than family:bytea_ops family_slug:family-btree-bytea_ops left_type:bytea method:btree operator:>(bytea,bytea) operator_slug:op-3e-bytea-bytea purpose:search result_type:bool right_type:bytea sort_family: sort_family_slug: strategy:5]

support functions

map[family:bytea_ops family_slug:family-btree-bytea_ops function:byteacmp(bytea,bytea) left_type:bytea method:btree number:1 result_type:int4 right_type:bytea], map[family:bytea_ops family_slug:family-btree-bytea_ops function:bytea_sortsupport(internal) left_type:bytea method:btree number:2 result_type:void right_type:bytea], map[family:bytea_ops family_slug:family-btree-bytea_ops function:btequalimage(oid) left_type:bytea method:btree number:4 result_type:bool right_type:bytea]

Source references

Full definition and evidence JSON

Definition sources

center · PostgreSQL 18 · 555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f

Text language: en · 555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f