{"Entry":{"collection":"operator","key":"op-403e-anyrange-anyrange","name":"@\u003e(anyrange,anyrange)","aliases":["@\u003e","@\u003e(anyrange,anyrange)"],"metadata":{"aliases":["@\u003e","@\u003e(anyrange,anyrange)"],"category":"Pseudo-types","content_hash":"887e54df39cdcbe49e7aa7d223ba90ffae0c4dbb8f47e444b16b8d687f44704b","imported_at":"2026-09-30T00:40:43.567229+08:00","name":"@\u003e(anyrange,anyrange)","name_zh":"","slug":"op-403e-anyrange-anyrange","summary":"contains"}},"Definition":{"Collection":"operator","Key":"op-403e-anyrange-anyrange","SourceDatabase":"center","Version":"18","SourceTable":"pg_operator_entry","SourceKey":"op-403e-anyrange-anyrange","SourceRevision":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f","Facts":{"aliases":["@\u003e","@\u003e(anyrange,anyrange)"],"comparison_data":{"memberships":[{"family":"range_inclusion_ops","left_type":"anyrange","method":"brin","operator":"@\u003e(anyrange,anyrange)","purpose":"search","right_type":"anyrange","sort_family":"","strategy":"7"},{"family":"range_ops","left_type":"anyrange","method":"gist","operator":"@\u003e(anyrange,anyrange)","purpose":"search","right_type":"anyrange","sort_family":"","strategy":"7"},{"family":"range_ops","left_type":"anyrange","method":"spgist","operator":"@\u003e(anyrange,anyrange)","purpose":"search","right_type":"anyrange","sort_family":"","strategy":"7"}],"operator":{"commutator":"\u003c@(anyrange,anyrange)","function":"range_contains(anyrange,anyrange)","hash_join":"f","kind":"b","left_type":"anyrange","merge_join":"f","negator":"","result_type":"bool","right_type":"anyrange","symbol":"@\u003e"}},"comparison_hash":"e2ab08de5c79193816ca0ad1f1370f6d0d411c33a939f3641653d778395661cd","description":["contains"],"facts":[{"label":"Left operand","value":"anyrange"},{"label":"Right operand","value":"anyrange"},{"label":"Result type","value":"bool"},{"label":"Implementing function","value":"range_contains(anyrange,anyrange)"},{"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":"range_ops","family_slug":"family-gist-range_ops","left_type":"anyrange","method":"gist","operator":"@\u003e(anyrange,anyrange)","operator_slug":"op-403e-anyrange-anyrange","purpose":"search","result_type":"bool","right_type":"anyrange","sort_family":"","sort_family_slug":"","strategy":"7"},{"description":"contains","family":"range_ops","family_slug":"family-spgist-range_ops","left_type":"anyrange","method":"spgist","operator":"@\u003e(anyrange,anyrange)","operator_slug":"op-403e-anyrange-anyrange","purpose":"search","result_type":"bool","right_type":"anyrange","sort_family":"","sort_family_slug":"","strategy":"7"},{"description":"contains","family":"range_inclusion_ops","family_slug":"family-brin-range_inclusion_ops","left_type":"anyrange","method":"brin","operator":"@\u003e(anyrange,anyrange)","operator_slug":"op-403e-anyrange-anyrange","purpose":"search","result_type":"bool","right_type":"anyrange","sort_family":"","sort_family_slug":"","strategy":"7"}],"operator":{"commutator":"\u003c@(anyrange,anyrange)","function":"range_contains(anyrange,anyrange)","hash_join":"f","kind":"b","left_type":"anyrange","merge_join":"f","negator":"","result_type":"bool","right_type":"anyrange","symbol":"@\u003e"},"related":[{"label":"anyrange data type","url":"/wiki/type/anyrange/?v=18"},{"label":"bool data type","url":"/wiki/type/bool/?v=18"},{"label":"Commutator: \u003c@(anyrange,anyrange)","url":"/wiki/operator/op-3c40-anyrange-anyrange/?v=18"},{"label":"gist/range_ops family","url":"/wiki/opclass/family-gist-range_ops/?v=18"},{"label":"spgist/range_ops family","url":"/wiki/opclass/family-spgist-range_ops/?v=18"},{"label":"brin/range_inclusion_ops family","url":"/wiki/opclass/family-brin-range_inclusion_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 the first range contain the second?","int4range(2,4) @\u003e int4range(2,3) → t"],"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(anyrange,anyrange) → bool","source_oid":"3890","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-range.html","path":"functions-range.html","sha256":"a29f39b55f385dff18da029dfc4fdc67c18440d8eecd302b53ff7be551008d10","url":"/docs/18/functions-range.html#RANGE-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":"range_ops","url":"/wiki/opclass/family-gist-range_ops/?v=18"},"method":{"text":"GiST","url":"/wiki/indexam/gist/?v=18"},"purpose":"search","sort_family":"","strategy":"7"},{"family":{"text":"range_ops","url":"/wiki/opclass/family-spgist-range_ops/?v=18"},"method":{"text":"SP-GiST","url":"/wiki/indexam/spgist/?v=18"},"purpose":"search","sort_family":"","strategy":"7"},{"family":{"text":"range_inclusion_ops","url":"/wiki/opclass/family-brin-range_inclusion_ops/?v=18"},"method":{"text":"BRIN","url":"/wiki/indexam/brin/?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-range.html","path":"functions-range.html","sha256":"a29f39b55f385dff18da029dfc4fdc67c18440d8eecd302b53ff7be551008d10","url":"/docs/18/functions-range.html#RANGE-OPERATORS-TABLE"}]},"MeasuredEvidence":{}},"Text":{"Collection":"operator","Key":"op-403e-anyrange-anyrange","SourceDatabase":"center","Version":"18","Locale":"en","Title":"@\u003e(anyrange,anyrange)","Summary":"contains","BodyHTML":"\u003cp\u003econtains\u003c/p\u003e","SourceRevision":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f","ContentHash":"3172bc28cd14ff246b88c61955a192b8dd9497b67d0194b7e568fd204f1a5de2","Payload":{"description":["contains"],"related":[{"label":"anyrange data type","url":"/wiki/type/anyrange/?v=18"},{"label":"bool data type","url":"/wiki/type/bool/?v=18"},{"label":"Commutator: \u003c@(anyrange,anyrange)","url":"/wiki/operator/op-3c40-anyrange-anyrange/?v=18"},{"label":"gist/range_ops family","url":"/wiki/opclass/family-gist-range_ops/?v=18"},{"label":"spgist/range_ops family","url":"/wiki/opclass/family-spgist-range_ops/?v=18"},{"label":"brin/range_inclusion_ops family","url":"/wiki/opclass/family-brin-range_inclusion_ops/?v=18"}],"sections":[{"paragraphs":["Does the first range contain the second?","int4range(2,4) @\u003e int4range(2,3) → t"],"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":"range_ops","url":"/wiki/opclass/family-gist-range_ops/?v=18"},"method":{"text":"GiST","url":"/wiki/indexam/gist/?v=18"},"purpose":"search","sort_family":"","strategy":"7"},{"family":{"text":"range_ops","url":"/wiki/opclass/family-spgist-range_ops/?v=18"},"method":{"text":"SP-GiST","url":"/wiki/indexam/spgist/?v=18"},"purpose":"search","sort_family":"","strategy":"7"},{"family":{"text":"range_inclusion_ops","url":"/wiki/opclass/family-brin-range_inclusion_ops/?v=18"},"method":{"text":"BRIN","url":"/wiki/indexam/brin/?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}
