{"Entry":{"collection":"operator","key":"op-403e-tsquery-tsquery","name":"@\u003e(tsquery,tsquery)","aliases":["@\u003e","@\u003e(tsquery,tsquery)"],"metadata":{"aliases":["@\u003e","@\u003e(tsquery,tsquery)"],"category":"Text search","content_hash":"22f6ceb1a234faa809d866664c2c360c8e39ca368503401ebd1bf9b89c4efa76","imported_at":"2026-09-30T00:40:43.607076+08:00","name":"@\u003e(tsquery,tsquery)","name_zh":"","slug":"op-403e-tsquery-tsquery","summary":"contains"}},"Definition":{"Collection":"operator","Key":"op-403e-tsquery-tsquery","SourceDatabase":"center","Version":"18","SourceTable":"pg_operator_entry","SourceKey":"op-403e-tsquery-tsquery","SourceRevision":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f","Facts":{"aliases":["@\u003e","@\u003e(tsquery,tsquery)"],"comparison_data":{"memberships":[{"family":"tsquery_ops","left_type":"tsquery","method":"gist","operator":"@\u003e(tsquery,tsquery)","purpose":"search","right_type":"tsquery","sort_family":"","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"}},"comparison_hash":"4c11648f85417e86bc6facd95fcb3fcbae1b3df2ecd808f6d149648c5e542289","description":["contains"],"facts":[{"label":"Left operand","value":"tsquery"},{"label":"Right operand","value":"tsquery"},{"label":"Result type","value":"bool"},{"label":"Implementing function","value":"tsq_mcontains(tsquery,tsquery)"},{"label":"Operator kind","value":"Binary"},{"label":"Hash join candidate","value":"no"},{"label":"Merge join candidate","value":"no"}],"manual_semantics":"Exact operand/result signature matched","memberships":[{"description":"contains","family":"tsquery_ops","family_slug":"family-gist-tsquery_ops","left_type":"tsquery","method":"gist","operator":"@\u003e(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"},"related":[{"label":"tsquery data type","url":"/wiki/type/tsquery/?v=18"},{"label":"bool data type","url":"/wiki/type/bool/?v=18"},{"label":"Commutator: \u003c@(tsquery,tsquery)","url":"/wiki/operator/op-3c40-tsquery-tsquery/?v=18"},{"label":"gist/tsquery_ops family","url":"/wiki/opclass/family-gist-tsquery_ops/?v=18"}],"release":{"catalog_fingerprint":"deec62e0f0c649d9d0d058ddd0b16bf41afffd569c3fd73949ff0971ce5cabd6","channel":"stable","label":"18.6","major":"18","manual_fingerprint":"fefce9e478eb2afe5e17e869492bbedc67dce23d317f0a5257240113d6496ebc","ref":"https://ftp.postgresql.org/pub/source/v18.6/postgresql-18.6.tar.bz2","revision":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f","source_sha256":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"},"sections":[{"paragraphs":["Does first tsquery contain the second? (This considers only whether all the lexemes appearing in one query appear in the other, ignoring the combining operators.)","'cat'::tsquery @\u003e 'cat \u0026 rat'::tsquery → f"],"title":"English manual definition"},{"paragraphs":["The catalog pg_operator stores information about operators. See CREATE OPERATOR and Section 36.14 for more information."],"title":"Catalog interpretation"}],"signature":"@\u003e(tsquery,tsquery) → bool","source_oid":"3693","sources":[{"label":"Matching PostgreSQL source archive","sha256":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f","url":"https://ftp.postgresql.org/pub/source/v18.6/postgresql-18.6.tar.bz2"},{"label":"PostgreSQL 18 English manual: catalog-pg-operator.html","path":"catalog-pg-operator.html","sha256":"e0b1817914e5e8f9037955cd41e9a43584e9227fcc115784898ecdd9a6c0ecd6","url":"/docs/18/catalog-pg-operator.html"},{"label":"PostgreSQL 18 English manual: catalog-pg-amop.html","path":"catalog-pg-amop.html","sha256":"e65b90ee78eaf4b4da97ce5b08b972cee2e2660b882ec107be22eca47201f7d1","url":"/docs/18/catalog-pg-amop.html"},{"label":"PostgreSQL 18 English manual: functions-textsearch.html","path":"functions-textsearch.html","sha256":"1f73b1fad81afe1e34084a5ee098c54a9b1910e70fdc896c7cd56c5d270b09ee","url":"/docs/18/functions-textsearch.html#TEXTSEARCH-OPERATORS-TABLE"}],"tables":[{"columns":[{"key":"method","label":"Index AM"},{"key":"family","label":"Family"},{"key":"strategy","label":"Strategy"},{"key":"purpose","label":"Purpose"},{"key":"sort_family","label":"Ordering family"}],"key":"memberships","rows":[{"family":{"text":"tsquery_ops","url":"/wiki/opclass/family-gist-tsquery_ops/?v=18"},"method":{"text":"GiST","url":"/wiki/indexam/gist/?v=18"},"purpose":"search","sort_family":"","strategy":"7"}],"title":"Declared operator-family membership"}]},"ManualEvidence":{"release":{"catalog_fingerprint":"deec62e0f0c649d9d0d058ddd0b16bf41afffd569c3fd73949ff0971ce5cabd6","channel":"stable","label":"18.6","major":"18","manual_fingerprint":"fefce9e478eb2afe5e17e869492bbedc67dce23d317f0a5257240113d6496ebc","ref":"https://ftp.postgresql.org/pub/source/v18.6/postgresql-18.6.tar.bz2","revision":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f","source_sha256":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"},"sources":[{"label":"Matching PostgreSQL source archive","sha256":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f","url":"https://ftp.postgresql.org/pub/source/v18.6/postgresql-18.6.tar.bz2"},{"label":"PostgreSQL 18 English manual: catalog-pg-operator.html","path":"catalog-pg-operator.html","sha256":"e0b1817914e5e8f9037955cd41e9a43584e9227fcc115784898ecdd9a6c0ecd6","url":"/docs/18/catalog-pg-operator.html"},{"label":"PostgreSQL 18 English manual: catalog-pg-amop.html","path":"catalog-pg-amop.html","sha256":"e65b90ee78eaf4b4da97ce5b08b972cee2e2660b882ec107be22eca47201f7d1","url":"/docs/18/catalog-pg-amop.html"},{"label":"PostgreSQL 18 English manual: functions-textsearch.html","path":"functions-textsearch.html","sha256":"1f73b1fad81afe1e34084a5ee098c54a9b1910e70fdc896c7cd56c5d270b09ee","url":"/docs/18/functions-textsearch.html#TEXTSEARCH-OPERATORS-TABLE"}]},"MeasuredEvidence":{}},"Text":{"Collection":"operator","Key":"op-403e-tsquery-tsquery","SourceDatabase":"center","Version":"18","Locale":"en","Title":"@\u003e(tsquery,tsquery)","Summary":"contains","BodyHTML":"\u003cp\u003econtains\u003c/p\u003e","SourceRevision":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f","ContentHash":"87269b7a4f959e22ac11bf840aa90a36896bb4ffffe779322f7e3189ada5dce1","Payload":{"description":["contains"],"related":[{"label":"tsquery data type","url":"/wiki/type/tsquery/?v=18"},{"label":"bool data type","url":"/wiki/type/bool/?v=18"},{"label":"Commutator: \u003c@(tsquery,tsquery)","url":"/wiki/operator/op-3c40-tsquery-tsquery/?v=18"},{"label":"gist/tsquery_ops family","url":"/wiki/opclass/family-gist-tsquery_ops/?v=18"}],"sections":[{"paragraphs":["Does first tsquery contain the second? (This considers only whether all the lexemes appearing in one query appear in the other, ignoring the combining operators.)","'cat'::tsquery @\u003e 'cat \u0026 rat'::tsquery → f"],"title":"English manual definition"},{"paragraphs":["The catalog pg_operator stores information about operators. See CREATE OPERATOR and Section 36.14 for more information."],"title":"Catalog interpretation"}],"tables":[{"columns":[{"key":"method","label":"Index AM"},{"key":"family","label":"Family"},{"key":"strategy","label":"Strategy"},{"key":"purpose","label":"Purpose"},{"key":"sort_family","label":"Ordering family"}],"key":"memberships","rows":[{"family":{"text":"tsquery_ops","url":"/wiki/opclass/family-gist-tsquery_ops/?v=18"},"method":{"text":"GiST","url":"/wiki/indexam/gist/?v=18"},"purpose":"search","sort_family":"","strategy":"7"}],"title":"Declared operator-family membership"}]}},"RequestedLocale":"zh-Hans","Fallback":true,"Versions":["10","11","12","13","14","15","16","17","18","19","20"],"Locales":["en"],"Signatures":null,"Spellings":null,"SQLState":null,"Evidence":null}
