↑↓ select↵ open⌫ change scopeOpen full search

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

Wiki / Operators

@>(tsquery,tsquery)

contains

Reading PG 18·Select a recorded version

Left operand
tsquery
Right operand
tsquery
Result type
bool
Implementing function
tsq_mcontains(tsquery,tsquery)
Operator kind
Binary
Hash join candidate
no
Merge join candidate
no
aliases
@>, @>(tsquery,tsquery)
manual semantics
Exact operand/result signature matched
signature
@>(tsquery,tsquery) → bool
source oid
3693

Definition PG 18

contains

Declared operator-family membership

Index AMFamilyStrategyPurposeOrdering family
GiSTtsquery_ops7search

Compare versions

Complete source facts

memberships

map[description:contains family:tsquery_ops family_slug:family-gist-tsquery_ops left_type:tsquery method:gist operator:@>(tsquery,tsquery) operator_slug:op-403e-tsquery-tsquery purpose:search result_type:bool right_type:tsquery sort_family: sort_family_slug: strategy:7]

operator

{"commutator":"\u003c@(tsquery,tsquery)","function":"tsq_mcontains(tsquery,tsquery)","hash_join":"f","kind":"b","left_type":"tsquery","merge_join":"f","negator":"","result_type":"bool","right_type":"tsquery","symbol":"@\u003e"}

Source references

Full definition and evidence JSON

Definition sources

center · PostgreSQL 18 · 555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f

Text language: en · 555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f