↑↓ select↵ open⌫ change scopeOpen full search

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

Wiki / Operator Families

gin/jsonb_path_ops (class)

GIN operator class for jsonb; member of jsonb_path_ops.

Reading PG 18·Select a recorded version

Object kind
Operator class
Index AM
GIN
Input type
jsonb
Stored key type
int4
Default class
no
aliases
jsonb_path_ops, gin/jsonb_path_ops
classes
map[default:f family:jsonb_path_ops family_slug:family-gin-jsonb_path_ops input_type:jsonb key_type:int4 method:gin name:jsonb_path_ops slug:class-gin-jsonb_path_ops source_oid:]
signature
gin/jsonb_path_ops
source oid
Unknown

Definition PG 18

GIN operator class for jsonb; member of jsonb_path_ops.

Family operator strategies

Operator overloadStrategyPurposeOrdering familyMembership scopeSource description
@>(jsonb,jsonb)7searchClass input paircontains
@?(jsonb,jsonpath)15searchFamily memberjsonpath exists
@@(jsonb,jsonpath)16searchFamily memberjsonpath match

Family support functions

Support numberLeft typeRight typeFunction signatureResult type
1jsonbjsonbbtint4cmp(int4,int4)int4
2jsonbjsonbgin_extract_jsonb_path(jsonb,internal,internal)internal
3jsonbjsonbgin_extract_jsonb_query_path(jsonb,internal,int2,internal,internal,internal,internal)internal
4jsonbjsonbgin_consistent_jsonb_path(internal,int2,jsonb,int4,internal,internal,internal,internal)bool
6jsonbjsonbgin_triconsistent_jsonb_path(internal,int2,jsonb,int4,internal,internal,internal)char

Classes in this family

ClassInput typeKey typeDefault
jsonb_path_opsjsonbint4no

Compare versions

Complete source facts

class

{"default":"f","family":"jsonb_path_ops","input_type":"jsonb","key_type":"int4","method":"gin","name":"jsonb_path_ops"}

operators

map[description:contains family:jsonb_path_ops family_slug:family-gin-jsonb_path_ops left_type:jsonb method:gin operator:@>(jsonb,jsonb) operator_slug:op-403e-jsonb-jsonb purpose:search result_type:bool right_type:jsonb sort_family: sort_family_slug: strategy:7], map[description:jsonpath exists family:jsonb_path_ops family_slug:family-gin-jsonb_path_ops left_type:jsonb method:gin operator:@?(jsonb,jsonpath) operator_slug:op-403f-jsonb-jsonpath purpose:search result_type:bool right_type:jsonpath sort_family: sort_family_slug: strategy:15], map[description:jsonpath match family:jsonb_path_ops family_slug:family-gin-jsonb_path_ops left_type:jsonb method:gin operator:@@(jsonb,jsonpath) operator_slug:op-4040-jsonb-jsonpath purpose:search result_type:bool right_type:jsonpath sort_family: sort_family_slug: strategy:16]

support functions

map[family:jsonb_path_ops family_slug:family-gin-jsonb_path_ops function:btint4cmp(int4,int4) left_type:jsonb method:gin number:1 result_type:int4 right_type:jsonb], map[family:jsonb_path_ops family_slug:family-gin-jsonb_path_ops function:gin_extract_jsonb_path(jsonb,internal,internal) left_type:jsonb method:gin number:2 result_type:internal right_type:jsonb], map[family:jsonb_path_ops family_slug:family-gin-jsonb_path_ops function:gin_extract_jsonb_query_path(jsonb,internal,int2,internal,internal,internal,internal) left_type:jsonb method:gin number:3 result_type:internal right_type:jsonb], map[family:jsonb_path_ops family_slug:family-gin-jsonb_path_ops function:gin_consistent_jsonb_path(internal,int2,jsonb,int4,internal,internal,internal,internal) left_type:jsonb method:gin number:4 result_type:bool right_type:jsonb], map[family:jsonb_path_ops family_slug:family-gin-jsonb_path_ops function:gin_triconsistent_jsonb_path(internal,int2,jsonb,int4,internal,internal,internal) left_type:jsonb method:gin number:6 result_type:char right_type:jsonb]

Source references

Full definition and evidence JSON

Definition sources

center · PostgreSQL 18 · 555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f

Text language: en · 555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f