↑↓ select↵ open⌫ change scopeOpen full search

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

Wiki / Operator Families

btree/bpchar_pattern_ops (class)

B-tree operator class for bpchar; member of bpchar_pattern_ops.

Reading PG 18·Select a recorded version

Object kind
Operator class
Index AM
B-tree
Input type
bpchar
Stored key type
Same as input type (catalog zero)
Default class
no
aliases
bpchar_pattern_ops, btree/bpchar_pattern_ops
classes
map[default:f family:bpchar_pattern_ops family_slug:family-btree-bpchar_pattern_ops input_type:bpchar key_type:none method:btree name:bpchar_pattern_ops slug:class-btree-bpchar_pattern_ops source_oid:4219]
signature
btree/bpchar_pattern_ops
source oid
4219

Definition PG 18

B-tree operator class for bpchar; member of bpchar_pattern_ops.

Family operator strategies

Operator overloadStrategyPurposeOrdering familyMembership scopeSource description
~<~(bpchar,bpchar)1searchClass input pairless than
~<=~(bpchar,bpchar)2searchClass input pairless than or equal
=(bpchar,bpchar)3searchClass input pairequal
~>=~(bpchar,bpchar)4searchClass input pairgreater than or equal
~>~(bpchar,bpchar)5searchClass input pairgreater than

Family support functions

Support numberLeft typeRight typeFunction signatureResult type
1bpcharbpcharbtbpchar_pattern_cmp(bpchar,bpchar)int4
2bpcharbpcharbtbpchar_pattern_sortsupport(internal)void
4bpcharbpcharbtequalimage(oid)bool

Classes in this family

ClassInput typeKey typeDefault
bpchar_pattern_opsbpcharSame as input typeno

Compare versions

Complete source facts

class

{"default":"f","family":"bpchar_pattern_ops","input_type":"bpchar","key_type":"none","method":"btree","name":"bpchar_pattern_ops"}

operators

map[description:less than family:bpchar_pattern_ops family_slug:family-btree-bpchar_pattern_ops left_type:bpchar method:btree operator:~<~(bpchar,bpchar) operator_slug:op-7e3c7e-bpchar-bpchar purpose:search result_type:bool right_type:bpchar sort_family: sort_family_slug: strategy:1], map[description:less than or equal family:bpchar_pattern_ops family_slug:family-btree-bpchar_pattern_ops left_type:bpchar method:btree operator:~<=~(bpchar,bpchar) operator_slug:op-7e3c3d7e-bpchar-bpchar purpose:search result_type:bool right_type:bpchar sort_family: sort_family_slug: strategy:2], map[description:equal family:bpchar_pattern_ops family_slug:family-btree-bpchar_pattern_ops left_type:bpchar method:btree operator:=(bpchar,bpchar) operator_slug:op-3d-bpchar-bpchar purpose:search result_type:bool right_type:bpchar sort_family: sort_family_slug: strategy:3], map[description:greater than or equal family:bpchar_pattern_ops family_slug:family-btree-bpchar_pattern_ops left_type:bpchar method:btree operator:~>=~(bpchar,bpchar) operator_slug:op-7e3e3d7e-bpchar-bpchar purpose:search result_type:bool right_type:bpchar sort_family: sort_family_slug: strategy:4], map[description:greater than family:bpchar_pattern_ops family_slug:family-btree-bpchar_pattern_ops left_type:bpchar method:btree operator:~>~(bpchar,bpchar) operator_slug:op-7e3e7e-bpchar-bpchar purpose:search result_type:bool right_type:bpchar sort_family: sort_family_slug: strategy:5]

support functions

map[family:bpchar_pattern_ops family_slug:family-btree-bpchar_pattern_ops function:btbpchar_pattern_cmp(bpchar,bpchar) left_type:bpchar method:btree number:1 result_type:int4 right_type:bpchar], map[family:bpchar_pattern_ops family_slug:family-btree-bpchar_pattern_ops function:btbpchar_pattern_sortsupport(internal) left_type:bpchar method:btree number:2 result_type:void right_type:bpchar], map[family:bpchar_pattern_ops family_slug:family-btree-bpchar_pattern_ops function:btequalimage(oid) left_type:bpchar method:btree number:4 result_type:bool right_type:bpchar]

Source references

Full definition and evidence JSON

Definition sources

center · PostgreSQL 18 · 555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f

Text language: en · 555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f