{"kind": "opclass", "major": "18", "item": {"slug": "class-btree-oid8_ops", "name": "btree/oid8_ops (class)", "name_zh": "", "category": "B-tree \u64cd\u4f5c\u7b26\u7c7b", "summary": "\u6240\u9009\u7248\u672c\u672a\u6536\u5f55\u6b64\u6761\u76ee\u3002", "aliases": ["oid8_ops", "btree/oid8_ops"], "content_hash": "a99cf67ba1f086cf534ff07b02b9bf522d0e6005dced6d15b564ceb8aeb87254", "versions": {"19": {"class": {"name": "oid8_ops", "family": "oid8_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "oid8"}, "facts": [{"label": "\u5bf9\u8c61\u79cd\u7c7b", "value": "\u64cd\u4f5c\u7b26\u7c7b"}, {"label": "\u7d22\u5f15\u8bbf\u95ee\u65b9\u6cd5", "value": "B-tree"}, {"label": "\u8f93\u5165\u7c7b\u578b", "value": "oid8"}, {"label": "\u5b58\u50a8\u952e\u7c7b\u578b", "value": "Same as input type (catalog zero)"}, {"label": "\u9ed8\u8ba4\u64cd\u4f5c\u7b26\u7c7b", "value": "\u662f"}], "tables": [{"key": "operators", "rows": [{"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-oid8-oid8/?v=19", "text": "<(oid8,oid8)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-oid8-oid8/?v=19", "text": "<=(oid8,oid8)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-oid8-oid8/?v=19", "text": "=(oid8,oid8)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-oid8-oid8/?v=19", "text": ">=(oid8,oid8)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-oid8-oid8/?v=19", "text": ">(oid8,oid8)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}], "title": "\u5bb6\u65cf\u4e2d\u7684\u64cd\u4f5c\u7b26\u7b56\u7565", "columns": [{"key": "operator", "label": "\u64cd\u4f5c\u7b26\u91cd\u8f7d"}, {"key": "strategy", "label": "\u7b56\u7565"}, {"key": "purpose", "label": "\u7528\u9014"}, {"key": "sort_family", "label": "\u6392\u5e8f\u5bb6\u65cf"}, {"key": "scope", "label": "\u6210\u5458\u8303\u56f4"}, {"key": "description", "label": "\u6e90\u7801\u8bf4\u660e"}]}, {"key": "support-functions", "rows": [{"number": "1", "function": "btoid8cmp(oid8,oid8)", "left_type": {"url": "/wiki/type/oid8/?v=19", "text": "oid8"}, "right_type": {"url": "/wiki/type/oid8/?v=19", "text": "oid8"}, "result_type": "int4"}, {"number": "2", "function": "btoid8sortsupport(internal)", "left_type": {"url": "/wiki/type/oid8/?v=19", "text": "oid8"}, "right_type": {"url": "/wiki/type/oid8/?v=19", "text": "oid8"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/oid8/?v=19", "text": "oid8"}, "right_type": {"url": "/wiki/type/oid8/?v=19", "text": "oid8"}, "result_type": "bool"}, {"number": "6", "function": "btoid8skipsupport(internal)", "left_type": {"url": "/wiki/type/oid8/?v=19", "text": "oid8"}, "right_type": {"url": "/wiki/type/oid8/?v=19", "text": "oid8"}, "result_type": "void"}], "title": "\u5bb6\u65cf\u652f\u6301\u51fd\u6570", "columns": [{"key": "number", "label": "\u652f\u6301\u51fd\u6570\u7f16\u53f7"}, {"key": "left_type", "label": "\u5de6\u4fa7\u7c7b\u578b"}, {"key": "right_type", "label": "\u53f3\u4fa7\u7c7b\u578b"}, {"key": "function", "label": "\u51fd\u6570\u7b7e\u540d"}, {"key": "result_type", "label": "\u8fd4\u56de\u7c7b\u578b"}]}, {"key": "classes", "rows": [{"class": {"url": "/wiki/opclass/class-btree-oid8_ops/?v=19", "text": "oid8_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/oid8/?v=19", "text": "oid8"}}], "title": "\u672c\u5bb6\u65cf\u7684\u64cd\u4f5c\u7b26\u7c7b", "columns": [{"key": "class", "label": "\u64cd\u4f5c\u7b26\u7c7b"}, {"key": "input_type", "label": "\u8f93\u5165\u7c7b\u578b"}, {"key": "key_type", "label": "\u952e\u7c7b\u578b"}, {"key": "default", "label": "\u9ed8\u8ba4\u503c"}]}], "aliases": ["oid8_ops", "btree/oid8_ops"], "classes": [{"name": "oid8_ops", "slug": "class-btree-oid8_ops", "family": "oid8_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "oid8", "source_oid": "", "family_slug": "family-btree-oid8_ops"}], "related": [{"url": "/wiki/indexam/btree/?v=19", "label": "B-tree \u7d22\u5f15\u8bbf\u95ee\u65b9\u6cd5"}, {"url": "/wiki/opclass/family-btree-oid8_ops/?v=19", "label": "oid8_ops \u5bb6\u65cf"}, {"url": "/wiki/type/oid8/?v=19", "label": "oid8 \u6570\u636e\u7c7b\u578b"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v19rc1/postgresql-19rc1.tar.bz2", "label": "19rc1", "major": "19", "channel": "preview", "revision": "af105fc8e960fc836a09fc2cd7f582b49fd17675d9d36631abe3a565bfd7d701", "source_sha256": "af105fc8e960fc836a09fc2cd7f582b49fd17675d9d36631abe3a565bfd7d701", "manual_fingerprint": "63afc6091780ed5e52920ff9ef5adb6aa7dfcc82f8f413ed36ad46095788488d", "catalog_fingerprint": "da7a8a4e03b72cd120b91ffdff4265e065ccad9eab9964fc3eb1279a58464eb8"}, "sources": [{"url": "https://ftp.postgresql.org/pub/source/v19rc1/postgresql-19rc1.tar.bz2", "label": "Matching PostgreSQL source archive", "sha256": "af105fc8e960fc836a09fc2cd7f582b49fd17675d9d36631abe3a565bfd7d701"}, {"url": "/docs/19/indexes-opclass.html", "path": "indexes-opclass.html", "label": "PostgreSQL 19 English manual: indexes-opclass.html", "sha256": "067b0ab52538156edc926c386cbdbd14038c2cf0b7da2333198643f531ca8fcf"}, {"url": "/docs/19/catalog-pg-opclass.html", "path": "catalog-pg-opclass.html", "label": "PostgreSQL 19 English manual: catalog-pg-opclass.html", "sha256": "3278db27e4e6820e39bca3d5647ab7024ee87901f6487ddeb55246f93e8576cd"}, {"url": "/docs/19/catalog-pg-amop.html", "path": "catalog-pg-amop.html", "label": "PostgreSQL 19 English manual: catalog-pg-amop.html", "sha256": "ff953e362a227387990b27226aff52dfd10f5f25b408d1bac8fa3e50bb45d00f"}, {"url": "/docs/19/catalog-pg-amproc.html", "path": "catalog-pg-amproc.html", "label": "PostgreSQL 19 English manual: catalog-pg-amproc.html", "sha256": "7a4705b9c5a0552c9232931179257747b96da8d195008bfc68304c53fc8be766"}], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-structured-summary", "manual": {"url": "/zh/docs/19/indexes-opclass.html", "anchor": "", "locale": "zh-Hans", "version": "19", "build_id": 109, "page_key": "indexes-opclass.html", "extraction": "concept-introduction", "source_hash": "9efd572f75ebc4499f3c73a8a6442fe2177a8511456f4a8a4a85ae2ae05951de", "fragment_sha256": "dad5545190ebde655fce48dfc13cd02d2863166fac7cf0c2b28b059c9e419ae4", "source_revision": "sha256:af105fc8e960fc836a09fc2cd7f582b49fd17675d9d36631abe3a565bfd7d701", "translation_revision": "git:b1b500221dbe5437cfca004d6b04d3f6e422765d;html-sha256:65fda1f1b62a89992b84014c9157e61b67dbe8190e93945826efec668fad038c", "translated_from_revision": "sha256:af105fc8e960fc836a09fc2cd7f582b49fd17675d9d36631abe3a565bfd7d701"}, "body_sha256": "8ee857ad9e6123de6541e9dfd2ca30765806e3c0ac38350a9cf5061d601d5026", "runtime_rerun": false, "authored_translation": "source-derived-structured-summary", "source_facts_revision": "af105fc8e960fc836a09fc2cd7f582b49fd17675d9d36631abe3a565bfd7d701"}, "facts_zh": [{"label": "\u5bf9\u8c61\u79cd\u7c7b", "value": "\u64cd\u4f5c\u7b26\u7c7b"}, {"label": "\u7d22\u5f15\u8bbf\u95ee\u65b9\u6cd5", "value": "B-tree"}, {"label": "\u8f93\u5165\u7c7b\u578b", "value": "oid8"}, {"label": "\u5b58\u50a8\u952e\u7c7b\u578b", "value": "Same as input type (catalog zero)"}, {"label": "\u9ed8\u8ba4\u64cd\u4f5c\u7b26\u7c7b", "value": "\u662f"}], "sections": [{"title": "\u64cd\u4f5c\u7b26\u7c7b\u4e0e\u5bb6\u65cf", "paragraphs": ["\u4e00\u4e2a\u7d22\u5f15\u5b9a\u4e49\u53ef\u4ee5\u4e3a\u7d22\u5f15\u7684\u6bcf\u4e00\u5217\u6307\u5b9a\u4e00\u4e2a \u64cd\u4f5c\u7b26\u7c7b \u3002", "\u64cd\u4f5c\u7b26\u7c7b\u6807\u8bc6\u8be5\u7d22\u5f15\u5728\u8be5\u5217\u4e0a\u8981\u4f7f\u7528\u54ea\u4e9b\u64cd\u4f5c\u7b26\u3002\u4f8b\u5982\uff0c\u7c7b\u578b int4 \u4e0a\u7684\u4e00\u4e2a B-\u6811\u7d22\u5f15\u4f1a\u4f7f\u7528 int4_ops \u7c7b\uff1b\u8fd9\u4e2a\u64cd\u4f5c\u7b26\u7c7b\u5305\u542b\u5bf9 int4 \u503c\u8fdb\u884c\u6bd4\u8f83\u6240\u9700\u7684\u51fd\u6570\u3002\u5b9e\u8df5\u4e2d\uff0c\u5217\u6570\u636e\u7c7b\u578b\u7684\u9ed8\u8ba4\u64cd\u4f5c\u7b26\u7c7b\u901a\u5e38\u5df2\u7ecf\u8db3\u591f\u3002\u4e4b\u6240\u4ee5\u5b58\u5728\u64cd\u4f5c\u7b26\u7c7b\uff0c\u4e3b\u8981\u662f\u56e0\u4e3a\u5bf9\u67d0\u4e9b\u6570\u636e\u7c7b\u578b\u6765\u8bf4\uff0c\u53ef\u80fd\u5b58\u5728\u591a\u79cd\u6709\u610f\u4e49\u7684\u7d22\u5f15\u884c\u4e3a\u3002\u4f8b\u5982\uff0c\u6211\u4eec\u53ef\u80fd\u5e0c\u671b\u6309\u7edd\u5bf9\u503c\u6392\u5e8f\u4e00\u79cd\u590d\u6570\u6570\u636e\u7c7b\u578b\uff0c\u4e5f\u53ef\u80fd\u5e0c\u671b\u6309\u5b9e\u90e8\u6392\u5e8f\u3002\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u4e3a\u8be5\u6570\u636e\u7c7b\u578b\u5b9a\u4e49\u4e24\u4e2a\u64cd\u4f5c\u7b26\u7c7b\uff0c\u5e76\u5728\u521b\u5efa\u7d22\u5f15\u65f6\u9009\u62e9\u5408\u9002\u7684\u90a3\u4e2a\u6765\u505a\u5230\u8fd9\u4e00\u70b9\u3002\u64cd\u4f5c\u7b26\u7c7b\u51b3\u5b9a\u4e86\u57fa\u7840\u6392\u5e8f\u987a\u5e8f\uff08\u4e4b\u540e\u8fd8\u53ef\u4ee5\u901a\u8fc7\u6dfb\u52a0\u6392\u5e8f\u9009\u9879 COLLATE \u3001 ASC / DESC \u548c/\u6216 NULLS FIRST / NULLS LAST \u6765\u4fee\u6539\uff09\u3002", "\u9664\u4e86\u9ed8\u8ba4\u64cd\u4f5c\u7b26\u7c7b\u4e4b\u5916\uff0c\u8fd8\u6709\u4e00\u4e9b\u5185\u7f6e\u64cd\u4f5c\u7b26\u7c7b\uff1a"]}], "center_zh": {"title": "btree/oid8_ops (class)", "locale": "zh-Hans", "source": {"key": "class-btree-oid8_ops", "locale": "zh-Hans", "version": "19", "text_hash": "117624ec8093dc908cb33fba3cbbedc5ea6e23fc56c5b16b5b201a6eac8e1aa4", "collection": "opclass", "dataset_hash": "7c31b524dfe136022d39a6ae8dcfac6b3bbd5f8fdaf422536599981252aff0c9", "source_database": "center", "source_revision": "af105fc8e960fc836a09fc2cd7f582b49fd17675d9d36631abe3a565bfd7d701"}, "payload": {"facts": [{"label": "\u5bf9\u8c61\u79cd\u7c7b", "value": "\u64cd\u4f5c\u7b26\u7c7b"}, {"label": "\u7d22\u5f15\u8bbf\u95ee\u65b9\u6cd5", "value": "B-tree"}, {"label": "\u8f93\u5165\u7c7b\u578b", "value": "oid8"}, {"label": "\u5b58\u50a8\u952e\u7c7b\u578b", "value": "Same as input type (catalog zero)"}, {"label": "\u9ed8\u8ba4\u64cd\u4f5c\u7b26\u7c7b", "value": "\u662f"}], "tables": [{"key": "operators", "rows": [{"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-oid8-oid8/?v=19", "text": "<(oid8,oid8)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-oid8-oid8/?v=19", "text": "<=(oid8,oid8)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-oid8-oid8/?v=19", "text": "=(oid8,oid8)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-oid8-oid8/?v=19", "text": ">=(oid8,oid8)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-oid8-oid8/?v=19", "text": ">(oid8,oid8)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}], "title": "\u5bb6\u65cf\u4e2d\u7684\u64cd\u4f5c\u7b26\u7b56\u7565", "columns": [{"key": "operator", "label": "\u64cd\u4f5c\u7b26\u91cd\u8f7d"}, {"key": "strategy", "label": "\u7b56\u7565"}, {"key": "purpose", "label": "\u7528\u9014"}, {"key": "sort_family", "label": "\u6392\u5e8f\u5bb6\u65cf"}, {"key": "scope", "label": "\u6210\u5458\u8303\u56f4"}, {"key": "description", "label": "\u6e90\u7801\u8bf4\u660e"}]}, {"key": "support-functions", "rows": [{"number": "1", "function": "btoid8cmp(oid8,oid8)", "left_type": {"url": "/wiki/type/oid8/?v=19", "text": "oid8"}, "right_type": {"url": "/wiki/type/oid8/?v=19", "text": "oid8"}, "result_type": "int4"}, {"number": "2", "function": "btoid8sortsupport(internal)", "left_type": {"url": "/wiki/type/oid8/?v=19", "text": "oid8"}, "right_type": {"url": "/wiki/type/oid8/?v=19", "text": "oid8"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/oid8/?v=19", "text": "oid8"}, "right_type": {"url": "/wiki/type/oid8/?v=19", "text": "oid8"}, "result_type": "bool"}, {"number": "6", "function": "btoid8skipsupport(internal)", "left_type": {"url": "/wiki/type/oid8/?v=19", "text": "oid8"}, "right_type": {"url": "/wiki/type/oid8/?v=19", "text": "oid8"}, "result_type": "void"}], "title": "\u5bb6\u65cf\u652f\u6301\u51fd\u6570", "columns": [{"key": "number", "label": "\u652f\u6301\u51fd\u6570\u7f16\u53f7"}, {"key": "left_type", "label": "\u5de6\u4fa7\u7c7b\u578b"}, {"key": "right_type", "label": "\u53f3\u4fa7\u7c7b\u578b"}, {"key": "function", "label": "\u51fd\u6570\u7b7e\u540d"}, {"key": "result_type", "label": "\u8fd4\u56de\u7c7b\u578b"}]}, {"key": "classes", "rows": [{"class": {"url": "/wiki/opclass/class-btree-oid8_ops/?v=19", "text": "oid8_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/oid8/?v=19", "text": "oid8"}}], "title": "\u672c\u5bb6\u65cf\u7684\u64cd\u4f5c\u7b26\u7c7b", "columns": [{"key": "class", "label": "\u64cd\u4f5c\u7b26\u7c7b"}, {"key": "input_type", "label": "\u8f93\u5165\u7c7b\u578b"}, {"key": "key_type", "label": "\u952e\u7c7b\u578b"}, {"key": "default", "label": "\u9ed8\u8ba4\u503c"}]}], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-structured-summary", "manual": {"url": "/zh/docs/19/indexes-opclass.html", "anchor": "", "locale": "zh-Hans", "version": "19", "build_id": 109, "page_key": "indexes-opclass.html", "extraction": "concept-introduction", "source_hash": "9efd572f75ebc4499f3c73a8a6442fe2177a8511456f4a8a4a85ae2ae05951de", "fragment_sha256": "dad5545190ebde655fce48dfc13cd02d2863166fac7cf0c2b28b059c9e419ae4", "source_revision": "sha256:af105fc8e960fc836a09fc2cd7f582b49fd17675d9d36631abe3a565bfd7d701", "translation_revision": "git:b1b500221dbe5437cfca004d6b04d3f6e422765d;html-sha256:65fda1f1b62a89992b84014c9157e61b67dbe8190e93945826efec668fad038c", "translated_from_revision": "sha256:af105fc8e960fc836a09fc2cd7f582b49fd17675d9d36631abe3a565bfd7d701"}, "body_sha256": "8ee857ad9e6123de6541e9dfd2ca30765806e3c0ac38350a9cf5061d601d5026", "runtime_rerun": false, "authored_translation": "source-derived-structured-summary", "source_facts_revision": "af105fc8e960fc836a09fc2cd7f582b49fd17675d9d36631abe3a565bfd7d701"}, "sections": [{"title": "\u64cd\u4f5c\u7b26\u7c7b\u4e0e\u5bb6\u65cf", "paragraphs": ["\u4e00\u4e2a\u7d22\u5f15\u5b9a\u4e49\u53ef\u4ee5\u4e3a\u7d22\u5f15\u7684\u6bcf\u4e00\u5217\u6307\u5b9a\u4e00\u4e2a \u64cd\u4f5c\u7b26\u7c7b \u3002", "\u64cd\u4f5c\u7b26\u7c7b\u6807\u8bc6\u8be5\u7d22\u5f15\u5728\u8be5\u5217\u4e0a\u8981\u4f7f\u7528\u54ea\u4e9b\u64cd\u4f5c\u7b26\u3002\u4f8b\u5982\uff0c\u7c7b\u578b int4 \u4e0a\u7684\u4e00\u4e2a B-\u6811\u7d22\u5f15\u4f1a\u4f7f\u7528 int4_ops \u7c7b\uff1b\u8fd9\u4e2a\u64cd\u4f5c\u7b26\u7c7b\u5305\u542b\u5bf9 int4 \u503c\u8fdb\u884c\u6bd4\u8f83\u6240\u9700\u7684\u51fd\u6570\u3002\u5b9e\u8df5\u4e2d\uff0c\u5217\u6570\u636e\u7c7b\u578b\u7684\u9ed8\u8ba4\u64cd\u4f5c\u7b26\u7c7b\u901a\u5e38\u5df2\u7ecf\u8db3\u591f\u3002\u4e4b\u6240\u4ee5\u5b58\u5728\u64cd\u4f5c\u7b26\u7c7b\uff0c\u4e3b\u8981\u662f\u56e0\u4e3a\u5bf9\u67d0\u4e9b\u6570\u636e\u7c7b\u578b\u6765\u8bf4\uff0c\u53ef\u80fd\u5b58\u5728\u591a\u79cd\u6709\u610f\u4e49\u7684\u7d22\u5f15\u884c\u4e3a\u3002\u4f8b\u5982\uff0c\u6211\u4eec\u53ef\u80fd\u5e0c\u671b\u6309\u7edd\u5bf9\u503c\u6392\u5e8f\u4e00\u79cd\u590d\u6570\u6570\u636e\u7c7b\u578b\uff0c\u4e5f\u53ef\u80fd\u5e0c\u671b\u6309\u5b9e\u90e8\u6392\u5e8f\u3002\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u4e3a\u8be5\u6570\u636e\u7c7b\u578b\u5b9a\u4e49\u4e24\u4e2a\u64cd\u4f5c\u7b26\u7c7b\uff0c\u5e76\u5728\u521b\u5efa\u7d22\u5f15\u65f6\u9009\u62e9\u5408\u9002\u7684\u90a3\u4e2a\u6765\u505a\u5230\u8fd9\u4e00\u70b9\u3002\u64cd\u4f5c\u7b26\u7c7b\u51b3\u5b9a\u4e86\u57fa\u7840\u6392\u5e8f\u987a\u5e8f\uff08\u4e4b\u540e\u8fd8\u53ef\u4ee5\u901a\u8fc7\u6dfb\u52a0\u6392\u5e8f\u9009\u9879 COLLATE \u3001 ASC / DESC \u548c/\u6216 NULLS FIRST / NULLS LAST \u6765\u4fee\u6539\uff09\u3002", "\u9664\u4e86\u9ed8\u8ba4\u64cd\u4f5c\u7b26\u7c7b\u4e4b\u5916\uff0c\u8fd8\u6709\u4e00\u4e9b\u5185\u7f6e\u64cd\u4f5c\u7b26\u7c7b\uff1a"]}], "description_zh": "oid8_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002", "description_zh_html": "<p>oid8_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002</p><dl><dt>\u540d\u79f0</dt><dd><code>oid8_ops</code></dd><dt>\u8fd0\u7b97\u7b26\u65cf</dt><dd><code>oid8_ops</code></dd><dt>\u7d22\u5f15\u8bbf\u95ee\u65b9\u6cd5</dt><dd><code>btree</code></dd><dt>\u9ed8\u8ba4\u7c7b</dt><dd><code>\u662f</code></dd><dt>\u5b58\u50a8\u952e\u7c7b\u578b</dt><dd><code>\u65e0</code></dd><dt>\u8f93\u5165\u7c7b\u578b</dt><dd><code>oid8</code></dd></dl><h3>\u7b56\u7565\u8fd0\u7b97\u7b26</h3><table><thead><tr><th>\u7b56\u7565\u7f16\u53f7</th><th>\u7528\u9014</th><th>\u8fd0\u7b97\u7b26</th><th>\u5de6\u64cd\u4f5c\u6570\u7c7b\u578b</th><th>\u53f3\u64cd\u4f5c\u6570\u7c7b\u578b</th><th>\u6392\u5e8f\u8fd0\u7b97\u7b26\u65cf</th></tr></thead><tbody><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(oid8,oid8)</code></td><td><code>oid8</code></td><td><code>oid8</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(oid8,oid8)</code></td><td><code>oid8</code></td><td><code>oid8</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(oid8,oid8)</code></td><td><code>oid8</code></td><td><code>oid8</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(oid8,oid8)</code></td><td><code>oid8</code></td><td><code>oid8</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(oid8,oid8)</code></td><td><code>oid8</code></td><td><code>oid8</code></td><td><code></code></td></tr></tbody></table><h3>\u652f\u6301\u51fd\u6570</h3><table><thead><tr><th>\u652f\u6301\u51fd\u6570\u7f16\u53f7</th><th>\u5b9e\u73b0\u51fd\u6570</th><th>\u5de6\u64cd\u4f5c\u6570\u7c7b\u578b</th><th>\u53f3\u64cd\u4f5c\u6570\u7c7b\u578b</th><th>\u7ed3\u679c\u7c7b\u578b</th></tr></thead><tbody><tr><td><code>1</code></td><td><code>btoid8cmp(oid8,oid8)</code></td><td><code>oid8</code></td><td><code>oid8</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>btoid8sortsupport(internal)</code></td><td><code>oid8</code></td><td><code>oid8</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>oid8</code></td><td><code>oid8</code></td><td><code>bool</code></td></tr><tr><td><code>6</code></td><td><code>btoid8skipsupport(internal)</code></td><td><code>oid8</code></td><td><code>oid8</code></td><td><code>void</code></td></tr></tbody></table><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u8282\u9009</h3><p>\n   \u4e00\u4e2a\u7d22\u5f15\u5b9a\u4e49\u53ef\u4ee5\u4e3a\u7d22\u5f15\u7684\u6bcf\u4e00\u5217\u6307\u5b9a\u4e00\u4e2a<em class=\"firstterm\">\u64cd\u4f5c\u7b26\u7c7b</em>\u3002\n</p><p>\n   \u64cd\u4f5c\u7b26\u7c7b\u6807\u8bc6\u8be5\u7d22\u5f15\u5728\u8be5\u5217\u4e0a\u8981\u4f7f\u7528\u54ea\u4e9b\u64cd\u4f5c\u7b26\u3002\u4f8b\u5982\uff0c\u7c7b\u578b <code class=\"type\">int4</code> \u4e0a\u7684\u4e00\u4e2a B-\u6811\u7d22\u5f15\u4f1a\u4f7f\u7528 <code class=\"literal\">int4_ops</code> \u7c7b\uff1b\u8fd9\u4e2a\u64cd\u4f5c\u7b26\u7c7b\u5305\u542b\u5bf9 <code class=\"type\">int4</code> \u503c\u8fdb\u884c\u6bd4\u8f83\u6240\u9700\u7684\u51fd\u6570\u3002\u5b9e\u8df5\u4e2d\uff0c\u5217\u6570\u636e\u7c7b\u578b\u7684\u9ed8\u8ba4\u64cd\u4f5c\u7b26\u7c7b\u901a\u5e38\u5df2\u7ecf\u8db3\u591f\u3002\u4e4b\u6240\u4ee5\u5b58\u5728\u64cd\u4f5c\u7b26\u7c7b\uff0c\u4e3b\u8981\u662f\u56e0\u4e3a\u5bf9\u67d0\u4e9b\u6570\u636e\u7c7b\u578b\u6765\u8bf4\uff0c\u53ef\u80fd\u5b58\u5728\u591a\u79cd\u6709\u610f\u4e49\u7684\u7d22\u5f15\u884c\u4e3a\u3002\u4f8b\u5982\uff0c\u6211\u4eec\u53ef\u80fd\u5e0c\u671b\u6309\u7edd\u5bf9\u503c\u6392\u5e8f\u4e00\u79cd\u590d\u6570\u6570\u636e\u7c7b\u578b\uff0c\u4e5f\u53ef\u80fd\u5e0c\u671b\u6309\u5b9e\u90e8\u6392\u5e8f\u3002\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u4e3a\u8be5\u6570\u636e\u7c7b\u578b\u5b9a\u4e49\u4e24\u4e2a\u64cd\u4f5c\u7b26\u7c7b\uff0c\u5e76\u5728\u521b\u5efa\u7d22\u5f15\u65f6\u9009\u62e9\u5408\u9002\u7684\u90a3\u4e2a\u6765\u505a\u5230\u8fd9\u4e00\u70b9\u3002\u64cd\u4f5c\u7b26\u7c7b\u51b3\u5b9a\u4e86\u57fa\u7840\u6392\u5e8f\u987a\u5e8f\uff08\u4e4b\u540e\u8fd8\u53ef\u4ee5\u901a\u8fc7\u6dfb\u52a0\u6392\u5e8f\u9009\u9879 <code class=\"literal\">COLLATE</code>\u3001<code class=\"literal\">ASC</code>/<code class=\"literal\">DESC</code> \u548c/\u6216 <code class=\"literal\">NULLS FIRST</code>/<code class=\"literal\">NULLS LAST</code> \u6765\u4fee\u6539\uff09\u3002\n  </p><p>\n   \u9664\u4e86\u9ed8\u8ba4\u64cd\u4f5c\u7b26\u7c7b\u4e4b\u5916\uff0c\u8fd8\u6709\u4e00\u4e9b\u5185\u7f6e\u64cd\u4f5c\u7b26\u7c7b\uff1a\n\n   </p><p>\n    \u4e0b\u9762\u7684\u67e5\u8be2\u4f1a\u663e\u793a\u6240\u6709\u5df2\u5b9a\u4e49\u7684\u64cd\u4f5c\u7b26\u7c7b\uff1a\n\n</p><p><a href=\"/zh/docs/19/indexes-opclass.html\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "summary": "oid8_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002", "version": "19", "link_map": {"/zh/docs/19/indexes-opclass.html": "/docs/19/indexes-opclass.html"}, "body_html": "<p>oid8_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002</p><dl><dt>\u540d\u79f0</dt><dd><code>oid8_ops</code></dd><dt>\u8fd0\u7b97\u7b26\u65cf</dt><dd><code>oid8_ops</code></dd><dt>\u7d22\u5f15\u8bbf\u95ee\u65b9\u6cd5</dt><dd><code>btree</code></dd><dt>\u9ed8\u8ba4\u7c7b</dt><dd><code>\u662f</code></dd><dt>\u5b58\u50a8\u952e\u7c7b\u578b</dt><dd><code>\u65e0</code></dd><dt>\u8f93\u5165\u7c7b\u578b</dt><dd><code>oid8</code></dd></dl><h3>\u7b56\u7565\u8fd0\u7b97\u7b26</h3><table><thead><tr><th>\u7b56\u7565\u7f16\u53f7</th><th>\u7528\u9014</th><th>\u8fd0\u7b97\u7b26</th><th>\u5de6\u64cd\u4f5c\u6570\u7c7b\u578b</th><th>\u53f3\u64cd\u4f5c\u6570\u7c7b\u578b</th><th>\u6392\u5e8f\u8fd0\u7b97\u7b26\u65cf</th></tr></thead><tbody><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(oid8,oid8)</code></td><td><code>oid8</code></td><td><code>oid8</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(oid8,oid8)</code></td><td><code>oid8</code></td><td><code>oid8</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(oid8,oid8)</code></td><td><code>oid8</code></td><td><code>oid8</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(oid8,oid8)</code></td><td><code>oid8</code></td><td><code>oid8</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(oid8,oid8)</code></td><td><code>oid8</code></td><td><code>oid8</code></td><td><code></code></td></tr></tbody></table><h3>\u652f\u6301\u51fd\u6570</h3><table><thead><tr><th>\u652f\u6301\u51fd\u6570\u7f16\u53f7</th><th>\u5b9e\u73b0\u51fd\u6570</th><th>\u5de6\u64cd\u4f5c\u6570\u7c7b\u578b</th><th>\u53f3\u64cd\u4f5c\u6570\u7c7b\u578b</th><th>\u7ed3\u679c\u7c7b\u578b</th></tr></thead><tbody><tr><td><code>1</code></td><td><code>btoid8cmp(oid8,oid8)</code></td><td><code>oid8</code></td><td><code>oid8</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>btoid8sortsupport(internal)</code></td><td><code>oid8</code></td><td><code>oid8</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>oid8</code></td><td><code>oid8</code></td><td><code>bool</code></td></tr><tr><td><code>6</code></td><td><code>btoid8skipsupport(internal)</code></td><td><code>oid8</code></td><td><code>oid8</code></td><td><code>void</code></td></tr></tbody></table><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u8282\u9009</h3><p>\n   \u4e00\u4e2a\u7d22\u5f15\u5b9a\u4e49\u53ef\u4ee5\u4e3a\u7d22\u5f15\u7684\u6bcf\u4e00\u5217\u6307\u5b9a\u4e00\u4e2a<em>\u64cd\u4f5c\u7b26\u7c7b</em>\u3002\n</p><p>\n   \u64cd\u4f5c\u7b26\u7c7b\u6807\u8bc6\u8be5\u7d22\u5f15\u5728\u8be5\u5217\u4e0a\u8981\u4f7f\u7528\u54ea\u4e9b\u64cd\u4f5c\u7b26\u3002\u4f8b\u5982\uff0c\u7c7b\u578b <code>int4</code> \u4e0a\u7684\u4e00\u4e2a B-\u6811\u7d22\u5f15\u4f1a\u4f7f\u7528 <code>int4_ops</code> \u7c7b\uff1b\u8fd9\u4e2a\u64cd\u4f5c\u7b26\u7c7b\u5305\u542b\u5bf9 <code>int4</code> \u503c\u8fdb\u884c\u6bd4\u8f83\u6240\u9700\u7684\u51fd\u6570\u3002\u5b9e\u8df5\u4e2d\uff0c\u5217\u6570\u636e\u7c7b\u578b\u7684\u9ed8\u8ba4\u64cd\u4f5c\u7b26\u7c7b\u901a\u5e38\u5df2\u7ecf\u8db3\u591f\u3002\u4e4b\u6240\u4ee5\u5b58\u5728\u64cd\u4f5c\u7b26\u7c7b\uff0c\u4e3b\u8981\u662f\u56e0\u4e3a\u5bf9\u67d0\u4e9b\u6570\u636e\u7c7b\u578b\u6765\u8bf4\uff0c\u53ef\u80fd\u5b58\u5728\u591a\u79cd\u6709\u610f\u4e49\u7684\u7d22\u5f15\u884c\u4e3a\u3002\u4f8b\u5982\uff0c\u6211\u4eec\u53ef\u80fd\u5e0c\u671b\u6309\u7edd\u5bf9\u503c\u6392\u5e8f\u4e00\u79cd\u590d\u6570\u6570\u636e\u7c7b\u578b\uff0c\u4e5f\u53ef\u80fd\u5e0c\u671b\u6309\u5b9e\u90e8\u6392\u5e8f\u3002\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u4e3a\u8be5\u6570\u636e\u7c7b\u578b\u5b9a\u4e49\u4e24\u4e2a\u64cd\u4f5c\u7b26\u7c7b\uff0c\u5e76\u5728\u521b\u5efa\u7d22\u5f15\u65f6\u9009\u62e9\u5408\u9002\u7684\u90a3\u4e2a\u6765\u505a\u5230\u8fd9\u4e00\u70b9\u3002\u64cd\u4f5c\u7b26\u7c7b\u51b3\u5b9a\u4e86\u57fa\u7840\u6392\u5e8f\u987a\u5e8f\uff08\u4e4b\u540e\u8fd8\u53ef\u4ee5\u901a\u8fc7\u6dfb\u52a0\u6392\u5e8f\u9009\u9879 <code>COLLATE</code>\u3001<code>ASC</code>/<code>DESC</code> \u548c/\u6216 <code>NULLS FIRST</code>/<code>NULLS LAST</code> \u6765\u4fee\u6539\uff09\u3002\n  </p><p>\n   \u9664\u4e86\u9ed8\u8ba4\u64cd\u4f5c\u7b26\u7c7b\u4e4b\u5916\uff0c\u8fd8\u6709\u4e00\u4e9b\u5185\u7f6e\u64cd\u4f5c\u7b26\u7c7b\uff1a\n\n   </p><p>\n    \u4e0b\u9762\u7684\u67e5\u8be2\u4f1a\u663e\u793a\u6240\u6709\u5df2\u5b9a\u4e49\u7684\u64cd\u4f5c\u7b26\u7c7b\uff1a\n\n</p><p><a href=\"/zh/docs/19/indexes-opclass.html\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>", "body_sha256": "20fa63925f576a7f80d2f4806cef09bf290b0d60770ec2f68b27c0ea792f9bf0", "content_hash": "117624ec8093dc908cb33fba3cbbedc5ea6e23fc56c5b16b5b201a6eac8e1aa4", "source_database": "center", "source_revision": "af105fc8e960fc836a09fc2cd7f582b49fd17675d9d36631abe3a565bfd7d701"}, "operators": [{"family": "oid8_ops", "method": "btree", "purpose": "search", "operator": "<(oid8,oid8)", "strategy": "1", "left_type": "oid8", "right_type": "oid8", "description": "less than", "family_slug": "family-btree-oid8_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-oid8-oid8", "sort_family_slug": ""}, {"family": "oid8_ops", "method": "btree", "purpose": "search", "operator": "<=(oid8,oid8)", "strategy": "2", "left_type": "oid8", "right_type": "oid8", "description": "less than or equal", "family_slug": "family-btree-oid8_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-oid8-oid8", "sort_family_slug": ""}, {"family": "oid8_ops", "method": "btree", "purpose": "search", "operator": "=(oid8,oid8)", "strategy": "3", "left_type": "oid8", "right_type": "oid8", "description": "equal", "family_slug": "family-btree-oid8_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-oid8-oid8", "sort_family_slug": ""}, {"family": "oid8_ops", "method": "btree", "purpose": "search", "operator": ">=(oid8,oid8)", "strategy": "4", "left_type": "oid8", "right_type": "oid8", "description": "greater than or equal", "family_slug": "family-btree-oid8_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-oid8-oid8", "sort_family_slug": ""}, {"family": "oid8_ops", "method": "btree", "purpose": "search", "operator": ">(oid8,oid8)", "strategy": "5", "left_type": "oid8", "right_type": "oid8", "description": "greater than", "family_slug": "family-btree-oid8_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-oid8-oid8", "sort_family_slug": ""}], "signature": "btree/oid8_ops", "tables_zh": [{"key": "operators", "rows": [{"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-oid8-oid8/?v=19", "text": "<(oid8,oid8)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-oid8-oid8/?v=19", "text": "<=(oid8,oid8)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-oid8-oid8/?v=19", "text": "=(oid8,oid8)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-oid8-oid8/?v=19", "text": ">=(oid8,oid8)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-oid8-oid8/?v=19", "text": ">(oid8,oid8)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}], "title": "\u5bb6\u65cf\u4e2d\u7684\u64cd\u4f5c\u7b26\u7b56\u7565", "columns": [{"key": "operator", "label": "\u64cd\u4f5c\u7b26\u91cd\u8f7d"}, {"key": "strategy", "label": "\u7b56\u7565"}, {"key": "purpose", "label": "\u7528\u9014"}, {"key": "sort_family", "label": "\u6392\u5e8f\u5bb6\u65cf"}, {"key": "scope", "label": "\u6210\u5458\u8303\u56f4"}, {"key": "description", "label": "\u6e90\u7801\u8bf4\u660e"}]}, {"key": "support-functions", "rows": [{"number": "1", "function": "btoid8cmp(oid8,oid8)", "left_type": {"url": "/wiki/type/oid8/?v=19", "text": "oid8"}, "right_type": {"url": "/wiki/type/oid8/?v=19", "text": "oid8"}, "result_type": "int4"}, {"number": "2", "function": "btoid8sortsupport(internal)", "left_type": {"url": "/wiki/type/oid8/?v=19", "text": "oid8"}, "right_type": {"url": "/wiki/type/oid8/?v=19", "text": "oid8"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/oid8/?v=19", "text": "oid8"}, "right_type": {"url": "/wiki/type/oid8/?v=19", "text": "oid8"}, "result_type": "bool"}, {"number": "6", "function": "btoid8skipsupport(internal)", "left_type": {"url": "/wiki/type/oid8/?v=19", "text": "oid8"}, "right_type": {"url": "/wiki/type/oid8/?v=19", "text": "oid8"}, "result_type": "void"}], "title": "\u5bb6\u65cf\u652f\u6301\u51fd\u6570", "columns": [{"key": "number", "label": "\u652f\u6301\u51fd\u6570\u7f16\u53f7"}, {"key": "left_type", "label": "\u5de6\u4fa7\u7c7b\u578b"}, {"key": "right_type", "label": "\u53f3\u4fa7\u7c7b\u578b"}, {"key": "function", "label": "\u51fd\u6570\u7b7e\u540d"}, {"key": "result_type", "label": "\u8fd4\u56de\u7c7b\u578b"}]}, {"key": "classes", "rows": [{"class": {"url": "/wiki/opclass/class-btree-oid8_ops/?v=19", "text": "oid8_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/oid8/?v=19", "text": "oid8"}}], "title": "\u672c\u5bb6\u65cf\u7684\u64cd\u4f5c\u7b26\u7c7b", "columns": [{"key": "class", "label": "\u64cd\u4f5c\u7b26\u7c7b"}, {"key": "input_type", "label": "\u8f93\u5165\u7c7b\u578b"}, {"key": "key_type", "label": "\u952e\u7c7b\u578b"}, {"key": "default", "label": "\u9ed8\u8ba4\u503c"}]}], "source_oid": "", "description": ["oid8_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002"], "sections_zh": [{"title": "\u64cd\u4f5c\u7b26\u7c7b\u4e0e\u5bb6\u65cf", "paragraphs": ["\u4e00\u4e2a\u7d22\u5f15\u5b9a\u4e49\u53ef\u4ee5\u4e3a\u7d22\u5f15\u7684\u6bcf\u4e00\u5217\u6307\u5b9a\u4e00\u4e2a \u64cd\u4f5c\u7b26\u7c7b \u3002", "\u64cd\u4f5c\u7b26\u7c7b\u6807\u8bc6\u8be5\u7d22\u5f15\u5728\u8be5\u5217\u4e0a\u8981\u4f7f\u7528\u54ea\u4e9b\u64cd\u4f5c\u7b26\u3002\u4f8b\u5982\uff0c\u7c7b\u578b int4 \u4e0a\u7684\u4e00\u4e2a B-\u6811\u7d22\u5f15\u4f1a\u4f7f\u7528 int4_ops \u7c7b\uff1b\u8fd9\u4e2a\u64cd\u4f5c\u7b26\u7c7b\u5305\u542b\u5bf9 int4 \u503c\u8fdb\u884c\u6bd4\u8f83\u6240\u9700\u7684\u51fd\u6570\u3002\u5b9e\u8df5\u4e2d\uff0c\u5217\u6570\u636e\u7c7b\u578b\u7684\u9ed8\u8ba4\u64cd\u4f5c\u7b26\u7c7b\u901a\u5e38\u5df2\u7ecf\u8db3\u591f\u3002\u4e4b\u6240\u4ee5\u5b58\u5728\u64cd\u4f5c\u7b26\u7c7b\uff0c\u4e3b\u8981\u662f\u56e0\u4e3a\u5bf9\u67d0\u4e9b\u6570\u636e\u7c7b\u578b\u6765\u8bf4\uff0c\u53ef\u80fd\u5b58\u5728\u591a\u79cd\u6709\u610f\u4e49\u7684\u7d22\u5f15\u884c\u4e3a\u3002\u4f8b\u5982\uff0c\u6211\u4eec\u53ef\u80fd\u5e0c\u671b\u6309\u7edd\u5bf9\u503c\u6392\u5e8f\u4e00\u79cd\u590d\u6570\u6570\u636e\u7c7b\u578b\uff0c\u4e5f\u53ef\u80fd\u5e0c\u671b\u6309\u5b9e\u90e8\u6392\u5e8f\u3002\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u4e3a\u8be5\u6570\u636e\u7c7b\u578b\u5b9a\u4e49\u4e24\u4e2a\u64cd\u4f5c\u7b26\u7c7b\uff0c\u5e76\u5728\u521b\u5efa\u7d22\u5f15\u65f6\u9009\u62e9\u5408\u9002\u7684\u90a3\u4e2a\u6765\u505a\u5230\u8fd9\u4e00\u70b9\u3002\u64cd\u4f5c\u7b26\u7c7b\u51b3\u5b9a\u4e86\u57fa\u7840\u6392\u5e8f\u987a\u5e8f\uff08\u4e4b\u540e\u8fd8\u53ef\u4ee5\u901a\u8fc7\u6dfb\u52a0\u6392\u5e8f\u9009\u9879 COLLATE \u3001 ASC / DESC \u548c/\u6216 NULLS FIRST / NULLS LAST \u6765\u4fee\u6539\uff09\u3002", "\u9664\u4e86\u9ed8\u8ba4\u64cd\u4f5c\u7b26\u7c7b\u4e4b\u5916\uff0c\u8fd8\u6709\u4e00\u4e9b\u5185\u7f6e\u64cd\u4f5c\u7b26\u7c7b\uff1a"]}], "localization": {"status": "complete", "sources": [{"url": "/docs/19/catalog-pg-amop.html", "method": "same-major semantic node", "sha256": "8685135a1f22b71dfcd182e77ed97d14ceb21f011d1b58b2b168130423c68d5c", "language": "zh", "matched_nodes": ["#CATALOG-PG-AMOP/p[2]/em[1]"]}, {"url": "/docs/19/indexes-opclass.html", "method": "same-major semantic node", "sha256": "4b7641f1380b0a251d73741ec707584129005d66bc7a9e701ec660c45294044f", "language": "zh", "matched_nodes": ["#INDEXES-OPCLASS/p[3]", "#INDEXES-OPCLASS/p[5]", "#INDEXES-OPCLASS/p[6]"]}], "language": "zh", "original_text": {"/versions/19/description/0": "B-tree operator class for oid8; member of oid8_ops.", "/versions/19/facts/0/label": "Object kind", "/versions/19/facts/0/value": "Operator class", "/versions/19/facts/1/label": "Index AM", "/versions/19/facts/2/label": "Input type", "/versions/19/facts/3/label": "Stored key type", "/versions/19/facts/3/value": "Same as input type (catalog zero)", "/versions/19/facts/4/label": "Default class", "/versions/19/facts/4/value": "yes", "/versions/19/tables/0/title": "Family operator strategies", "/versions/19/tables/1/title": "Family support functions", "/versions/19/tables/2/title": "Classes in this family", "/versions/19/related/0/label": "B-tree Index AM", "/versions/19/related/1/label": "oid8_ops family", "/versions/19/related/2/label": "oid8 data type", "/versions/19/sections/0/title": "Operator classes and families", "/versions/19/tables/0/rows/0/scope": "Class input pair", "/versions/19/tables/0/rows/1/scope": "Class input pair", "/versions/19/tables/0/rows/2/scope": "Class input pair", "/versions/19/tables/0/rows/3/scope": "Class input pair", "/versions/19/tables/0/rows/4/scope": "Class input pair", "/versions/19/sections/0/paragraphs/0": "An index definition can specify an operator class for each column of an index.", "/versions/19/sections/0/paragraphs/1": "The operator class identifies the operators to be used by the index for that column. For example, a B-tree index on the type int4 would use the int4_ops class; this operator class includes comparison functions for values of type int4 . In practice the default operator class for the column's data type is usually sufficient. The main reason for having operator classes is that for some data types, there could be more than one meaningful index behavior. For example, we might want to sort a complex-number data type either by absolute value or by real part. We could do this by defining two operator classes for the data type and then selecting the proper class when making an index. The operator class determines the basic sort ordering (which can then be modified by adding sort options COLLATE , ASC / DESC and/or NULLS FIRST / NULLS LAST ).", "/versions/19/sections/0/paragraphs/2": "There are also some built-in operator classes besides the default ones:", "/versions/19/tables/0/rows/0/purpose": "search", "/versions/19/tables/0/rows/1/purpose": "search", "/versions/19/tables/0/rows/2/purpose": "search", "/versions/19/tables/0/rows/3/purpose": "search", "/versions/19/tables/0/rows/4/purpose": "search", "/versions/19/tables/2/rows/0/default": "yes", "/versions/19/tables/0/columns/0/label": "Operator overload", "/versions/19/tables/0/columns/1/label": "Strategy", "/versions/19/tables/0/columns/2/label": "Purpose", "/versions/19/tables/0/columns/3/label": "Ordering family", "/versions/19/tables/0/columns/4/label": "Membership scope", "/versions/19/tables/0/columns/5/label": "Source description", "/versions/19/tables/1/columns/0/label": "Support number", "/versions/19/tables/1/columns/1/label": "Left type", "/versions/19/tables/1/columns/2/label": "Right type", "/versions/19/tables/1/columns/3/label": "Function signature", "/versions/19/tables/1/columns/4/label": "Result type", "/versions/19/tables/2/columns/0/label": "Class", "/versions/19/tables/2/columns/1/label": "Input type", "/versions/19/tables/2/columns/2/label": "Key type", "/versions/19/tables/2/columns/3/label": "Default", "/versions/19/tables/2/rows/0/key_type": "Same as input type", "/versions/19/tables/0/rows/0/description": "less than", "/versions/19/tables/0/rows/1/description": "less than or equal", "/versions/19/tables/0/rows/2/description": "equal", "/versions/19/tables/0/rows/3/description": "greater than or equal", "/versions/19/tables/0/rows/4/description": "greater than"}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "4d8ea0813b9561914f1ddec30306069347b664ab567880036b3d605372c5de1e", "canonical_center_text_hash": "117624ec8093dc908cb33fba3cbbedc5ea6e23fc56c5b16b5b201a6eac8e1aa4"}, "description_zh": "oid8_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002", "comparison_data": {"kind": "class", "classes": [{"name": "oid8_ops", "family": "oid8_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "oid8"}], "operators": [{"family": "oid8_ops", "method": "btree", "purpose": "search", "operator": "<(oid8,oid8)", "strategy": "1", "left_type": "oid8", "right_type": "oid8", "sort_family": ""}, {"family": "oid8_ops", "method": "btree", "purpose": "search", "operator": "<=(oid8,oid8)", "strategy": "2", "left_type": "oid8", "right_type": "oid8", "sort_family": ""}, {"family": "oid8_ops", "method": "btree", "purpose": "search", "operator": "=(oid8,oid8)", "strategy": "3", "left_type": "oid8", "right_type": "oid8", "sort_family": ""}, {"family": "oid8_ops", "method": "btree", "purpose": "search", "operator": ">=(oid8,oid8)", "strategy": "4", "left_type": "oid8", "right_type": "oid8", "sort_family": ""}, {"family": "oid8_ops", "method": "btree", "purpose": "search", "operator": ">(oid8,oid8)", "strategy": "5", "left_type": "oid8", "right_type": "oid8", "sort_family": ""}], "attributes": {"name": "oid8_ops", "family": "oid8_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "oid8"}, "support_functions": [{"family": "oid8_ops", "method": "btree", "number": "1", "function": "btoid8cmp(oid8,oid8)", "left_type": "oid8", "right_type": "oid8", "result_type": "int4"}, {"family": "oid8_ops", "method": "btree", "number": "2", "function": "btoid8sortsupport(internal)", "left_type": "oid8", "right_type": "oid8", "result_type": "void"}, {"family": "oid8_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "oid8", "right_type": "oid8", "result_type": "bool"}, {"family": "oid8_ops", "method": "btree", "number": "6", "function": "btoid8skipsupport(internal)", "left_type": "oid8", "right_type": "oid8", "result_type": "void"}]}, "comparison_hash": "dfb9c5b14c65d34e9ad093582dab2f6922bcb75a346d4f14953313b34ea2788b", "manual_language": "zh", "support_functions": [{"family": "oid8_ops", "method": "btree", "number": "1", "function": "btoid8cmp(oid8,oid8)", "left_type": "oid8", "right_type": "oid8", "family_slug": "family-btree-oid8_ops", "result_type": "int4"}, {"family": "oid8_ops", "method": "btree", "number": "2", "function": "btoid8sortsupport(internal)", "left_type": "oid8", "right_type": "oid8", "family_slug": "family-btree-oid8_ops", "result_type": "void"}, {"family": "oid8_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "oid8", "right_type": "oid8", "family_slug": "family-btree-oid8_ops", "result_type": "bool"}, {"family": "oid8_ops", "method": "btree", "number": "6", "function": "btoid8skipsupport(internal)", "left_type": "oid8", "right_type": "oid8", "family_slug": "family-btree-oid8_ops", "result_type": "void"}], "description_zh_html": "<p>oid8_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002</p><dl><dt>\u540d\u79f0</dt><dd><code>oid8_ops</code></dd><dt>\u8fd0\u7b97\u7b26\u65cf</dt><dd><code>oid8_ops</code></dd><dt>\u7d22\u5f15\u8bbf\u95ee\u65b9\u6cd5</dt><dd><code>btree</code></dd><dt>\u9ed8\u8ba4\u7c7b</dt><dd><code>\u662f</code></dd><dt>\u5b58\u50a8\u952e\u7c7b\u578b</dt><dd><code>\u65e0</code></dd><dt>\u8f93\u5165\u7c7b\u578b</dt><dd><code>oid8</code></dd></dl><h3>\u7b56\u7565\u8fd0\u7b97\u7b26</h3><table><thead><tr><th>\u7b56\u7565\u7f16\u53f7</th><th>\u7528\u9014</th><th>\u8fd0\u7b97\u7b26</th><th>\u5de6\u64cd\u4f5c\u6570\u7c7b\u578b</th><th>\u53f3\u64cd\u4f5c\u6570\u7c7b\u578b</th><th>\u6392\u5e8f\u8fd0\u7b97\u7b26\u65cf</th></tr></thead><tbody><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(oid8,oid8)</code></td><td><code>oid8</code></td><td><code>oid8</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(oid8,oid8)</code></td><td><code>oid8</code></td><td><code>oid8</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(oid8,oid8)</code></td><td><code>oid8</code></td><td><code>oid8</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(oid8,oid8)</code></td><td><code>oid8</code></td><td><code>oid8</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(oid8,oid8)</code></td><td><code>oid8</code></td><td><code>oid8</code></td><td><code></code></td></tr></tbody></table><h3>\u652f\u6301\u51fd\u6570</h3><table><thead><tr><th>\u652f\u6301\u51fd\u6570\u7f16\u53f7</th><th>\u5b9e\u73b0\u51fd\u6570</th><th>\u5de6\u64cd\u4f5c\u6570\u7c7b\u578b</th><th>\u53f3\u64cd\u4f5c\u6570\u7c7b\u578b</th><th>\u7ed3\u679c\u7c7b\u578b</th></tr></thead><tbody><tr><td><code>1</code></td><td><code>btoid8cmp(oid8,oid8)</code></td><td><code>oid8</code></td><td><code>oid8</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>btoid8sortsupport(internal)</code></td><td><code>oid8</code></td><td><code>oid8</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>oid8</code></td><td><code>oid8</code></td><td><code>bool</code></td></tr><tr><td><code>6</code></td><td><code>btoid8skipsupport(internal)</code></td><td><code>oid8</code></td><td><code>oid8</code></td><td><code>void</code></td></tr></tbody></table><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u8282\u9009</h3><p>\n   \u4e00\u4e2a\u7d22\u5f15\u5b9a\u4e49\u53ef\u4ee5\u4e3a\u7d22\u5f15\u7684\u6bcf\u4e00\u5217\u6307\u5b9a\u4e00\u4e2a<em>\u64cd\u4f5c\u7b26\u7c7b</em>\u3002\n</p><p>\n   \u64cd\u4f5c\u7b26\u7c7b\u6807\u8bc6\u8be5\u7d22\u5f15\u5728\u8be5\u5217\u4e0a\u8981\u4f7f\u7528\u54ea\u4e9b\u64cd\u4f5c\u7b26\u3002\u4f8b\u5982\uff0c\u7c7b\u578b <code>int4</code> \u4e0a\u7684\u4e00\u4e2a B-\u6811\u7d22\u5f15\u4f1a\u4f7f\u7528 <code>int4_ops</code> \u7c7b\uff1b\u8fd9\u4e2a\u64cd\u4f5c\u7b26\u7c7b\u5305\u542b\u5bf9 <code>int4</code> \u503c\u8fdb\u884c\u6bd4\u8f83\u6240\u9700\u7684\u51fd\u6570\u3002\u5b9e\u8df5\u4e2d\uff0c\u5217\u6570\u636e\u7c7b\u578b\u7684\u9ed8\u8ba4\u64cd\u4f5c\u7b26\u7c7b\u901a\u5e38\u5df2\u7ecf\u8db3\u591f\u3002\u4e4b\u6240\u4ee5\u5b58\u5728\u64cd\u4f5c\u7b26\u7c7b\uff0c\u4e3b\u8981\u662f\u56e0\u4e3a\u5bf9\u67d0\u4e9b\u6570\u636e\u7c7b\u578b\u6765\u8bf4\uff0c\u53ef\u80fd\u5b58\u5728\u591a\u79cd\u6709\u610f\u4e49\u7684\u7d22\u5f15\u884c\u4e3a\u3002\u4f8b\u5982\uff0c\u6211\u4eec\u53ef\u80fd\u5e0c\u671b\u6309\u7edd\u5bf9\u503c\u6392\u5e8f\u4e00\u79cd\u590d\u6570\u6570\u636e\u7c7b\u578b\uff0c\u4e5f\u53ef\u80fd\u5e0c\u671b\u6309\u5b9e\u90e8\u6392\u5e8f\u3002\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u4e3a\u8be5\u6570\u636e\u7c7b\u578b\u5b9a\u4e49\u4e24\u4e2a\u64cd\u4f5c\u7b26\u7c7b\uff0c\u5e76\u5728\u521b\u5efa\u7d22\u5f15\u65f6\u9009\u62e9\u5408\u9002\u7684\u90a3\u4e2a\u6765\u505a\u5230\u8fd9\u4e00\u70b9\u3002\u64cd\u4f5c\u7b26\u7c7b\u51b3\u5b9a\u4e86\u57fa\u7840\u6392\u5e8f\u987a\u5e8f\uff08\u4e4b\u540e\u8fd8\u53ef\u4ee5\u901a\u8fc7\u6dfb\u52a0\u6392\u5e8f\u9009\u9879 <code>COLLATE</code>\u3001<code>ASC</code>/<code>DESC</code> \u548c/\u6216 <code>NULLS FIRST</code>/<code>NULLS LAST</code> \u6765\u4fee\u6539\uff09\u3002\n  </p><p>\n   \u9664\u4e86\u9ed8\u8ba4\u64cd\u4f5c\u7b26\u7c7b\u4e4b\u5916\uff0c\u8fd8\u6709\u4e00\u4e9b\u5185\u7f6e\u64cd\u4f5c\u7b26\u7c7b\uff1a\n\n   </p><p>\n    \u4e0b\u9762\u7684\u67e5\u8be2\u4f1a\u663e\u793a\u6240\u6709\u5df2\u5b9a\u4e49\u7684\u64cd\u4f5c\u7b26\u7c7b\uff1a\n\n</p><p><a href=\"/zh/docs/19/indexes-opclass.html\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>", "source_revalidation": {"kind": "static-same-version-source-and-manual-replay", "audit": "wiki-audit-20261023", "runtime_rerun": false, "compared_fields": "entity membership and source-derived facts; presentation markup normalized", "source_revision": "af105fc8e960fc836a09fc2cd7f582b49fd17675d9d36631abe3a565bfd7d701", "previous_source_revision": "83157ee9c599d03b2f7a3d73ef3a56ec24e0e79cc2b3501a64d1364f56398c86"}}, "20": {"class": {"name": "oid8_ops", "family": "oid8_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "oid8"}, "facts": [{"label": "\u5bf9\u8c61\u79cd\u7c7b", "value": "\u64cd\u4f5c\u7b26\u7c7b"}, {"label": "\u7d22\u5f15\u8bbf\u95ee\u65b9\u6cd5", "value": "B-tree"}, {"label": "\u8f93\u5165\u7c7b\u578b", "value": "oid8"}, {"label": "\u5b58\u50a8\u952e\u7c7b\u578b", "value": "Same as input type (catalog zero)"}, {"label": "\u9ed8\u8ba4\u64cd\u4f5c\u7b26\u7c7b", "value": "\u662f"}], "tables": [{"key": "operators", "rows": [{"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-oid8-oid8/?v=20", "text": "<(oid8,oid8)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-oid8-oid8/?v=20", "text": "<=(oid8,oid8)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-oid8-oid8/?v=20", "text": "=(oid8,oid8)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-oid8-oid8/?v=20", "text": ">=(oid8,oid8)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-oid8-oid8/?v=20", "text": ">(oid8,oid8)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}], "title": "\u5bb6\u65cf\u4e2d\u7684\u64cd\u4f5c\u7b26\u7b56\u7565", "columns": [{"key": "operator", "label": "\u64cd\u4f5c\u7b26\u91cd\u8f7d"}, {"key": "strategy", "label": "\u7b56\u7565"}, {"key": "purpose", "label": "\u7528\u9014"}, {"key": "sort_family", "label": "\u6392\u5e8f\u5bb6\u65cf"}, {"key": "scope", "label": "\u6210\u5458\u8303\u56f4"}, {"key": "description", "label": "\u6e90\u7801\u8bf4\u660e"}]}, {"key": "support-functions", "rows": [{"number": "1", "function": "btoid8cmp(oid8,oid8)", "left_type": {"url": "/wiki/type/oid8/?v=20", "text": "oid8"}, "right_type": {"url": "/wiki/type/oid8/?v=20", "text": "oid8"}, "result_type": "int4"}, {"number": "2", "function": "btoid8sortsupport(internal)", "left_type": {"url": "/wiki/type/oid8/?v=20", "text": "oid8"}, "right_type": {"url": "/wiki/type/oid8/?v=20", "text": "oid8"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/oid8/?v=20", "text": "oid8"}, "right_type": {"url": "/wiki/type/oid8/?v=20", "text": "oid8"}, "result_type": "bool"}, {"number": "6", "function": "btoid8skipsupport(internal)", "left_type": {"url": "/wiki/type/oid8/?v=20", "text": "oid8"}, "right_type": {"url": "/wiki/type/oid8/?v=20", "text": "oid8"}, "result_type": "void"}], "title": "\u5bb6\u65cf\u652f\u6301\u51fd\u6570", "columns": [{"key": "number", "label": "\u652f\u6301\u51fd\u6570\u7f16\u53f7"}, {"key": "left_type", "label": "\u5de6\u4fa7\u7c7b\u578b"}, {"key": "right_type", "label": "\u53f3\u4fa7\u7c7b\u578b"}, {"key": "function", "label": "\u51fd\u6570\u7b7e\u540d"}, {"key": "result_type", "label": "\u8fd4\u56de\u7c7b\u578b"}]}, {"key": "classes", "rows": [{"class": {"url": "/wiki/opclass/class-btree-oid8_ops/?v=20", "text": "oid8_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/oid8/?v=20", "text": "oid8"}}], "title": "\u672c\u5bb6\u65cf\u7684\u64cd\u4f5c\u7b26\u7c7b", "columns": [{"key": "class", "label": "\u64cd\u4f5c\u7b26\u7c7b"}, {"key": "input_type", "label": "\u8f93\u5165\u7c7b\u578b"}, {"key": "key_type", "label": "\u952e\u7c7b\u578b"}, {"key": "default", "label": "\u9ed8\u8ba4\u503c"}]}], "aliases": ["oid8_ops", "btree/oid8_ops"], "classes": [{"name": "oid8_ops", "slug": "class-btree-oid8_ops", "family": "oid8_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "oid8", "source_oid": "8285", "family_slug": "family-btree-oid8_ops"}], "related": [{"url": "/wiki/indexam/btree/?v=20", "label": "B-tree \u7d22\u5f15\u8bbf\u95ee\u65b9\u6cd5"}, {"url": "/wiki/opclass/family-btree-oid8_ops/?v=20", "label": "oid8_ops \u5bb6\u65cf"}, {"url": "/wiki/type/oid8/?v=20", "label": "oid8 \u6570\u636e\u7c7b\u578b"}], "release": {"ref": "https://ftp.postgresql.org/pub/snapshot/dev/postgresql-snapshot.tar.bz2", "label": "20devel", "major": "20", "channel": "devel", "revision": "49c73aa4c9cacef8ca979276a28ac416c08e9e54c9baee4ae5fd116a35fa13ac", "source_sha256": "49c73aa4c9cacef8ca979276a28ac416c08e9e54c9baee4ae5fd116a35fa13ac", "manual_fingerprint": "4afd3a8e29953000e176877e161458a2febaeaac5a5e16986595d3acc2418c7d", "catalog_fingerprint": "e519e6916a731ce8fb9bca3edb12410227f73e01ccd43fb6f5fb98276f08985f"}, "sources": [{"url": "https://ftp.postgresql.org/pub/snapshot/dev/postgresql-snapshot.tar.bz2", "label": "Matching PostgreSQL source archive", "sha256": "49c73aa4c9cacef8ca979276a28ac416c08e9e54c9baee4ae5fd116a35fa13ac"}, {"url": "/docs/devel/indexes-opclass.html", "path": "indexes-opclass.html", "label": "PostgreSQL 20 English manual: indexes-opclass.html", "sha256": "d1b53bbc0ea0321a3274870fa9b3337bc1c60a840d8f83acfe0521e049fffbe4"}, {"url": "/docs/devel/catalog-pg-opclass.html", "path": "catalog-pg-opclass.html", "label": "PostgreSQL 20 English manual: catalog-pg-opclass.html", "sha256": "4603814aabe570a7362b645878911344818dfc0ffc2661a380a8882201a98ce1"}, {"url": "/docs/devel/catalog-pg-amop.html", "path": "catalog-pg-amop.html", "label": "PostgreSQL 20 English manual: catalog-pg-amop.html", "sha256": "21308426099a60febe495b5e6edd040a5b0f7cb87269121a33549a930433d19f"}, {"url": "/docs/devel/catalog-pg-amproc.html", "path": "catalog-pg-amproc.html", "label": "PostgreSQL 20 English manual: catalog-pg-amproc.html", "sha256": "4e33c91349b72e274384010c3e265fdb6a18554f81257b4b24dffc114136c3ee"}], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-structured-summary", "manual": {"url": "/zh/docs/devel/indexes-opclass.html", "anchor": "", "locale": "zh-Hans", "version": "20", "build_id": 111, "page_key": "indexes-opclass.html", "extraction": "concept-introduction", "source_hash": "81b38d06f59275055ef9cbe975ce20d1d1bec73ae47a5d4b395b209aede5ea80", "fragment_sha256": "dad5545190ebde655fce48dfc13cd02d2863166fac7cf0c2b28b059c9e419ae4", "source_revision": "sha256:49c73aa4c9cacef8ca979276a28ac416c08e9e54c9baee4ae5fd116a35fa13ac", "translation_revision": "git:b1b500221dbe5437cfca004d6b04d3f6e422765d;html-sha256:98c980963b401d40bd50df72b909e7523e3148b8fdb48edd897de2efb67e5235", "translated_from_revision": "sha256:49c73aa4c9cacef8ca979276a28ac416c08e9e54c9baee4ae5fd116a35fa13ac"}, "body_sha256": "8027e77c7828a0c28fc3c633a253754a85c5b62b56965797a04df604cda763b5", "runtime_rerun": false, "authored_translation": "source-derived-structured-summary", "source_facts_revision": "49c73aa4c9cacef8ca979276a28ac416c08e9e54c9baee4ae5fd116a35fa13ac"}, "facts_zh": [{"label": "\u5bf9\u8c61\u79cd\u7c7b", "value": "\u64cd\u4f5c\u7b26\u7c7b"}, {"label": "\u7d22\u5f15\u8bbf\u95ee\u65b9\u6cd5", "value": "B-tree"}, {"label": "\u8f93\u5165\u7c7b\u578b", "value": "oid8"}, {"label": "\u5b58\u50a8\u952e\u7c7b\u578b", "value": "Same as input type (catalog zero)"}, {"label": "\u9ed8\u8ba4\u64cd\u4f5c\u7b26\u7c7b", "value": "\u662f"}], "sections": [{"title": "\u64cd\u4f5c\u7b26\u7c7b\u4e0e\u5bb6\u65cf", "paragraphs": ["\u4e00\u4e2a\u7d22\u5f15\u5b9a\u4e49\u53ef\u4ee5\u4e3a\u7d22\u5f15\u7684\u6bcf\u4e00\u5217\u6307\u5b9a\u4e00\u4e2a \u64cd\u4f5c\u7b26\u7c7b \u3002", "\u64cd\u4f5c\u7b26\u7c7b\u6807\u8bc6\u8be5\u7d22\u5f15\u5728\u8be5\u5217\u4e0a\u8981\u4f7f\u7528\u54ea\u4e9b\u64cd\u4f5c\u7b26\u3002\u4f8b\u5982\uff0c\u7c7b\u578b int4 \u4e0a\u7684\u4e00\u4e2a B-\u6811\u7d22\u5f15\u4f1a\u4f7f\u7528 int4_ops \u7c7b\uff1b\u8fd9\u4e2a\u64cd\u4f5c\u7b26\u7c7b\u5305\u542b\u5bf9 int4 \u503c\u8fdb\u884c\u6bd4\u8f83\u6240\u9700\u7684\u51fd\u6570\u3002\u5b9e\u8df5\u4e2d\uff0c\u5217\u6570\u636e\u7c7b\u578b\u7684\u9ed8\u8ba4\u64cd\u4f5c\u7b26\u7c7b\u901a\u5e38\u5df2\u7ecf\u8db3\u591f\u3002\u4e4b\u6240\u4ee5\u5b58\u5728\u64cd\u4f5c\u7b26\u7c7b\uff0c\u4e3b\u8981\u662f\u56e0\u4e3a\u5bf9\u67d0\u4e9b\u6570\u636e\u7c7b\u578b\u6765\u8bf4\uff0c\u53ef\u80fd\u5b58\u5728\u591a\u79cd\u6709\u610f\u4e49\u7684\u7d22\u5f15\u884c\u4e3a\u3002\u4f8b\u5982\uff0c\u6211\u4eec\u53ef\u80fd\u5e0c\u671b\u6309\u7edd\u5bf9\u503c\u6392\u5e8f\u4e00\u79cd\u590d\u6570\u6570\u636e\u7c7b\u578b\uff0c\u4e5f\u53ef\u80fd\u5e0c\u671b\u6309\u5b9e\u90e8\u6392\u5e8f\u3002\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u4e3a\u8be5\u6570\u636e\u7c7b\u578b\u5b9a\u4e49\u4e24\u4e2a\u64cd\u4f5c\u7b26\u7c7b\uff0c\u5e76\u5728\u521b\u5efa\u7d22\u5f15\u65f6\u9009\u62e9\u5408\u9002\u7684\u90a3\u4e2a\u6765\u505a\u5230\u8fd9\u4e00\u70b9\u3002\u64cd\u4f5c\u7b26\u7c7b\u51b3\u5b9a\u4e86\u57fa\u7840\u6392\u5e8f\u987a\u5e8f\uff08\u4e4b\u540e\u8fd8\u53ef\u4ee5\u901a\u8fc7\u6dfb\u52a0\u6392\u5e8f\u9009\u9879 COLLATE \u3001 ASC / DESC \u548c/\u6216 NULLS FIRST / NULLS LAST \u6765\u4fee\u6539\uff09\u3002", "\u9664\u4e86\u9ed8\u8ba4\u64cd\u4f5c\u7b26\u7c7b\u4e4b\u5916\uff0c\u8fd8\u6709\u4e00\u4e9b\u5185\u7f6e\u64cd\u4f5c\u7b26\u7c7b\uff1a"]}], "center_zh": {"title": "btree/oid8_ops (class)", "locale": "zh-Hans", "source": {"key": "class-btree-oid8_ops", "locale": "zh-Hans", "version": "20", "text_hash": "06ccf00de329da1813c8568c65f4469c3aeea78d8e531bb090939e34cbeb1ba0", "collection": "opclass", "dataset_hash": "7c31b524dfe136022d39a6ae8dcfac6b3bbd5f8fdaf422536599981252aff0c9", "source_database": "center", "source_revision": "49c73aa4c9cacef8ca979276a28ac416c08e9e54c9baee4ae5fd116a35fa13ac"}, "payload": {"facts": [{"label": "\u5bf9\u8c61\u79cd\u7c7b", "value": "\u64cd\u4f5c\u7b26\u7c7b"}, {"label": "\u7d22\u5f15\u8bbf\u95ee\u65b9\u6cd5", "value": "B-tree"}, {"label": "\u8f93\u5165\u7c7b\u578b", "value": "oid8"}, {"label": "\u5b58\u50a8\u952e\u7c7b\u578b", "value": "Same as input type (catalog zero)"}, {"label": "\u9ed8\u8ba4\u64cd\u4f5c\u7b26\u7c7b", "value": "\u662f"}], "tables": [{"key": "operators", "rows": [{"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-oid8-oid8/?v=20", "text": "<(oid8,oid8)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-oid8-oid8/?v=20", "text": "<=(oid8,oid8)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-oid8-oid8/?v=20", "text": "=(oid8,oid8)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-oid8-oid8/?v=20", "text": ">=(oid8,oid8)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-oid8-oid8/?v=20", "text": ">(oid8,oid8)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}], "title": "\u5bb6\u65cf\u4e2d\u7684\u64cd\u4f5c\u7b26\u7b56\u7565", "columns": [{"key": "operator", "label": "\u64cd\u4f5c\u7b26\u91cd\u8f7d"}, {"key": "strategy", "label": "\u7b56\u7565"}, {"key": "purpose", "label": "\u7528\u9014"}, {"key": "sort_family", "label": "\u6392\u5e8f\u5bb6\u65cf"}, {"key": "scope", "label": "\u6210\u5458\u8303\u56f4"}, {"key": "description", "label": "\u6e90\u7801\u8bf4\u660e"}]}, {"key": "support-functions", "rows": [{"number": "1", "function": "btoid8cmp(oid8,oid8)", "left_type": {"url": "/wiki/type/oid8/?v=20", "text": "oid8"}, "right_type": {"url": "/wiki/type/oid8/?v=20", "text": "oid8"}, "result_type": "int4"}, {"number": "2", "function": "btoid8sortsupport(internal)", "left_type": {"url": "/wiki/type/oid8/?v=20", "text": "oid8"}, "right_type": {"url": "/wiki/type/oid8/?v=20", "text": "oid8"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/oid8/?v=20", "text": "oid8"}, "right_type": {"url": "/wiki/type/oid8/?v=20", "text": "oid8"}, "result_type": "bool"}, {"number": "6", "function": "btoid8skipsupport(internal)", "left_type": {"url": "/wiki/type/oid8/?v=20", "text": "oid8"}, "right_type": {"url": "/wiki/type/oid8/?v=20", "text": "oid8"}, "result_type": "void"}], "title": "\u5bb6\u65cf\u652f\u6301\u51fd\u6570", "columns": [{"key": "number", "label": "\u652f\u6301\u51fd\u6570\u7f16\u53f7"}, {"key": "left_type", "label": "\u5de6\u4fa7\u7c7b\u578b"}, {"key": "right_type", "label": "\u53f3\u4fa7\u7c7b\u578b"}, {"key": "function", "label": "\u51fd\u6570\u7b7e\u540d"}, {"key": "result_type", "label": "\u8fd4\u56de\u7c7b\u578b"}]}, {"key": "classes", "rows": [{"class": {"url": "/wiki/opclass/class-btree-oid8_ops/?v=20", "text": "oid8_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/oid8/?v=20", "text": "oid8"}}], "title": "\u672c\u5bb6\u65cf\u7684\u64cd\u4f5c\u7b26\u7c7b", "columns": [{"key": "class", "label": "\u64cd\u4f5c\u7b26\u7c7b"}, {"key": "input_type", "label": "\u8f93\u5165\u7c7b\u578b"}, {"key": "key_type", "label": "\u952e\u7c7b\u578b"}, {"key": "default", "label": "\u9ed8\u8ba4\u503c"}]}], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-structured-summary", "manual": {"url": "/zh/docs/devel/indexes-opclass.html", "anchor": "", "locale": "zh-Hans", "version": "20", "build_id": 111, "page_key": "indexes-opclass.html", "extraction": "concept-introduction", "source_hash": "81b38d06f59275055ef9cbe975ce20d1d1bec73ae47a5d4b395b209aede5ea80", "fragment_sha256": "dad5545190ebde655fce48dfc13cd02d2863166fac7cf0c2b28b059c9e419ae4", "source_revision": "sha256:49c73aa4c9cacef8ca979276a28ac416c08e9e54c9baee4ae5fd116a35fa13ac", "translation_revision": "git:b1b500221dbe5437cfca004d6b04d3f6e422765d;html-sha256:98c980963b401d40bd50df72b909e7523e3148b8fdb48edd897de2efb67e5235", "translated_from_revision": "sha256:49c73aa4c9cacef8ca979276a28ac416c08e9e54c9baee4ae5fd116a35fa13ac"}, "body_sha256": "8027e77c7828a0c28fc3c633a253754a85c5b62b56965797a04df604cda763b5", "runtime_rerun": false, "authored_translation": "source-derived-structured-summary", "source_facts_revision": "49c73aa4c9cacef8ca979276a28ac416c08e9e54c9baee4ae5fd116a35fa13ac"}, "sections": [{"title": "\u64cd\u4f5c\u7b26\u7c7b\u4e0e\u5bb6\u65cf", "paragraphs": ["\u4e00\u4e2a\u7d22\u5f15\u5b9a\u4e49\u53ef\u4ee5\u4e3a\u7d22\u5f15\u7684\u6bcf\u4e00\u5217\u6307\u5b9a\u4e00\u4e2a \u64cd\u4f5c\u7b26\u7c7b \u3002", "\u64cd\u4f5c\u7b26\u7c7b\u6807\u8bc6\u8be5\u7d22\u5f15\u5728\u8be5\u5217\u4e0a\u8981\u4f7f\u7528\u54ea\u4e9b\u64cd\u4f5c\u7b26\u3002\u4f8b\u5982\uff0c\u7c7b\u578b int4 \u4e0a\u7684\u4e00\u4e2a B-\u6811\u7d22\u5f15\u4f1a\u4f7f\u7528 int4_ops \u7c7b\uff1b\u8fd9\u4e2a\u64cd\u4f5c\u7b26\u7c7b\u5305\u542b\u5bf9 int4 \u503c\u8fdb\u884c\u6bd4\u8f83\u6240\u9700\u7684\u51fd\u6570\u3002\u5b9e\u8df5\u4e2d\uff0c\u5217\u6570\u636e\u7c7b\u578b\u7684\u9ed8\u8ba4\u64cd\u4f5c\u7b26\u7c7b\u901a\u5e38\u5df2\u7ecf\u8db3\u591f\u3002\u4e4b\u6240\u4ee5\u5b58\u5728\u64cd\u4f5c\u7b26\u7c7b\uff0c\u4e3b\u8981\u662f\u56e0\u4e3a\u5bf9\u67d0\u4e9b\u6570\u636e\u7c7b\u578b\u6765\u8bf4\uff0c\u53ef\u80fd\u5b58\u5728\u591a\u79cd\u6709\u610f\u4e49\u7684\u7d22\u5f15\u884c\u4e3a\u3002\u4f8b\u5982\uff0c\u6211\u4eec\u53ef\u80fd\u5e0c\u671b\u6309\u7edd\u5bf9\u503c\u6392\u5e8f\u4e00\u79cd\u590d\u6570\u6570\u636e\u7c7b\u578b\uff0c\u4e5f\u53ef\u80fd\u5e0c\u671b\u6309\u5b9e\u90e8\u6392\u5e8f\u3002\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u4e3a\u8be5\u6570\u636e\u7c7b\u578b\u5b9a\u4e49\u4e24\u4e2a\u64cd\u4f5c\u7b26\u7c7b\uff0c\u5e76\u5728\u521b\u5efa\u7d22\u5f15\u65f6\u9009\u62e9\u5408\u9002\u7684\u90a3\u4e2a\u6765\u505a\u5230\u8fd9\u4e00\u70b9\u3002\u64cd\u4f5c\u7b26\u7c7b\u51b3\u5b9a\u4e86\u57fa\u7840\u6392\u5e8f\u987a\u5e8f\uff08\u4e4b\u540e\u8fd8\u53ef\u4ee5\u901a\u8fc7\u6dfb\u52a0\u6392\u5e8f\u9009\u9879 COLLATE \u3001 ASC / DESC \u548c/\u6216 NULLS FIRST / NULLS LAST \u6765\u4fee\u6539\uff09\u3002", "\u9664\u4e86\u9ed8\u8ba4\u64cd\u4f5c\u7b26\u7c7b\u4e4b\u5916\uff0c\u8fd8\u6709\u4e00\u4e9b\u5185\u7f6e\u64cd\u4f5c\u7b26\u7c7b\uff1a"]}], "description_zh": "oid8_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002", "description_zh_html": "<p>oid8_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002</p><dl><dt>\u540d\u79f0</dt><dd><code>oid8_ops</code></dd><dt>\u8fd0\u7b97\u7b26\u65cf</dt><dd><code>oid8_ops</code></dd><dt>\u7d22\u5f15\u8bbf\u95ee\u65b9\u6cd5</dt><dd><code>btree</code></dd><dt>\u9ed8\u8ba4\u7c7b</dt><dd><code>\u662f</code></dd><dt>\u5b58\u50a8\u952e\u7c7b\u578b</dt><dd><code>\u65e0</code></dd><dt>\u8f93\u5165\u7c7b\u578b</dt><dd><code>oid8</code></dd></dl><h3>\u7b56\u7565\u8fd0\u7b97\u7b26</h3><table><thead><tr><th>\u7b56\u7565\u7f16\u53f7</th><th>\u7528\u9014</th><th>\u8fd0\u7b97\u7b26</th><th>\u5de6\u64cd\u4f5c\u6570\u7c7b\u578b</th><th>\u53f3\u64cd\u4f5c\u6570\u7c7b\u578b</th><th>\u6392\u5e8f\u8fd0\u7b97\u7b26\u65cf</th></tr></thead><tbody><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(oid8,oid8)</code></td><td><code>oid8</code></td><td><code>oid8</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(oid8,oid8)</code></td><td><code>oid8</code></td><td><code>oid8</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(oid8,oid8)</code></td><td><code>oid8</code></td><td><code>oid8</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(oid8,oid8)</code></td><td><code>oid8</code></td><td><code>oid8</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(oid8,oid8)</code></td><td><code>oid8</code></td><td><code>oid8</code></td><td><code></code></td></tr></tbody></table><h3>\u652f\u6301\u51fd\u6570</h3><table><thead><tr><th>\u652f\u6301\u51fd\u6570\u7f16\u53f7</th><th>\u5b9e\u73b0\u51fd\u6570</th><th>\u5de6\u64cd\u4f5c\u6570\u7c7b\u578b</th><th>\u53f3\u64cd\u4f5c\u6570\u7c7b\u578b</th><th>\u7ed3\u679c\u7c7b\u578b</th></tr></thead><tbody><tr><td><code>1</code></td><td><code>btoid8cmp(oid8,oid8)</code></td><td><code>oid8</code></td><td><code>oid8</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>btoid8sortsupport(internal)</code></td><td><code>oid8</code></td><td><code>oid8</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>oid8</code></td><td><code>oid8</code></td><td><code>bool</code></td></tr><tr><td><code>6</code></td><td><code>btoid8skipsupport(internal)</code></td><td><code>oid8</code></td><td><code>oid8</code></td><td><code>void</code></td></tr></tbody></table><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u8282\u9009</h3><p>\n   \u4e00\u4e2a\u7d22\u5f15\u5b9a\u4e49\u53ef\u4ee5\u4e3a\u7d22\u5f15\u7684\u6bcf\u4e00\u5217\u6307\u5b9a\u4e00\u4e2a<em class=\"firstterm\">\u64cd\u4f5c\u7b26\u7c7b</em>\u3002\n</p><p>\n   \u64cd\u4f5c\u7b26\u7c7b\u6807\u8bc6\u8be5\u7d22\u5f15\u5728\u8be5\u5217\u4e0a\u8981\u4f7f\u7528\u54ea\u4e9b\u64cd\u4f5c\u7b26\u3002\u4f8b\u5982\uff0c\u7c7b\u578b <code class=\"type\">int4</code> \u4e0a\u7684\u4e00\u4e2a B-\u6811\u7d22\u5f15\u4f1a\u4f7f\u7528 <code class=\"literal\">int4_ops</code> \u7c7b\uff1b\u8fd9\u4e2a\u64cd\u4f5c\u7b26\u7c7b\u5305\u542b\u5bf9 <code class=\"type\">int4</code> \u503c\u8fdb\u884c\u6bd4\u8f83\u6240\u9700\u7684\u51fd\u6570\u3002\u5b9e\u8df5\u4e2d\uff0c\u5217\u6570\u636e\u7c7b\u578b\u7684\u9ed8\u8ba4\u64cd\u4f5c\u7b26\u7c7b\u901a\u5e38\u5df2\u7ecf\u8db3\u591f\u3002\u4e4b\u6240\u4ee5\u5b58\u5728\u64cd\u4f5c\u7b26\u7c7b\uff0c\u4e3b\u8981\u662f\u56e0\u4e3a\u5bf9\u67d0\u4e9b\u6570\u636e\u7c7b\u578b\u6765\u8bf4\uff0c\u53ef\u80fd\u5b58\u5728\u591a\u79cd\u6709\u610f\u4e49\u7684\u7d22\u5f15\u884c\u4e3a\u3002\u4f8b\u5982\uff0c\u6211\u4eec\u53ef\u80fd\u5e0c\u671b\u6309\u7edd\u5bf9\u503c\u6392\u5e8f\u4e00\u79cd\u590d\u6570\u6570\u636e\u7c7b\u578b\uff0c\u4e5f\u53ef\u80fd\u5e0c\u671b\u6309\u5b9e\u90e8\u6392\u5e8f\u3002\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u4e3a\u8be5\u6570\u636e\u7c7b\u578b\u5b9a\u4e49\u4e24\u4e2a\u64cd\u4f5c\u7b26\u7c7b\uff0c\u5e76\u5728\u521b\u5efa\u7d22\u5f15\u65f6\u9009\u62e9\u5408\u9002\u7684\u90a3\u4e2a\u6765\u505a\u5230\u8fd9\u4e00\u70b9\u3002\u64cd\u4f5c\u7b26\u7c7b\u51b3\u5b9a\u4e86\u57fa\u7840\u6392\u5e8f\u987a\u5e8f\uff08\u4e4b\u540e\u8fd8\u53ef\u4ee5\u901a\u8fc7\u6dfb\u52a0\u6392\u5e8f\u9009\u9879 <code class=\"literal\">COLLATE</code>\u3001<code class=\"literal\">ASC</code>/<code class=\"literal\">DESC</code> \u548c/\u6216 <code class=\"literal\">NULLS FIRST</code>/<code class=\"literal\">NULLS LAST</code> \u6765\u4fee\u6539\uff09\u3002\n  </p><p>\n   \u9664\u4e86\u9ed8\u8ba4\u64cd\u4f5c\u7b26\u7c7b\u4e4b\u5916\uff0c\u8fd8\u6709\u4e00\u4e9b\u5185\u7f6e\u64cd\u4f5c\u7b26\u7c7b\uff1a\n\n   </p><p>\n    \u4e0b\u9762\u7684\u67e5\u8be2\u4f1a\u663e\u793a\u6240\u6709\u5df2\u5b9a\u4e49\u7684\u64cd\u4f5c\u7b26\u7c7b\uff1a\n\n</p><p><a href=\"/zh/docs/devel/indexes-opclass.html\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "summary": "oid8_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002", "version": "20", "link_map": {"/zh/docs/devel/indexes-opclass.html": "/docs/devel/indexes-opclass.html"}, "body_html": "<p>oid8_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002</p><dl><dt>\u540d\u79f0</dt><dd><code>oid8_ops</code></dd><dt>\u8fd0\u7b97\u7b26\u65cf</dt><dd><code>oid8_ops</code></dd><dt>\u7d22\u5f15\u8bbf\u95ee\u65b9\u6cd5</dt><dd><code>btree</code></dd><dt>\u9ed8\u8ba4\u7c7b</dt><dd><code>\u662f</code></dd><dt>\u5b58\u50a8\u952e\u7c7b\u578b</dt><dd><code>\u65e0</code></dd><dt>\u8f93\u5165\u7c7b\u578b</dt><dd><code>oid8</code></dd></dl><h3>\u7b56\u7565\u8fd0\u7b97\u7b26</h3><table><thead><tr><th>\u7b56\u7565\u7f16\u53f7</th><th>\u7528\u9014</th><th>\u8fd0\u7b97\u7b26</th><th>\u5de6\u64cd\u4f5c\u6570\u7c7b\u578b</th><th>\u53f3\u64cd\u4f5c\u6570\u7c7b\u578b</th><th>\u6392\u5e8f\u8fd0\u7b97\u7b26\u65cf</th></tr></thead><tbody><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(oid8,oid8)</code></td><td><code>oid8</code></td><td><code>oid8</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(oid8,oid8)</code></td><td><code>oid8</code></td><td><code>oid8</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(oid8,oid8)</code></td><td><code>oid8</code></td><td><code>oid8</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(oid8,oid8)</code></td><td><code>oid8</code></td><td><code>oid8</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(oid8,oid8)</code></td><td><code>oid8</code></td><td><code>oid8</code></td><td><code></code></td></tr></tbody></table><h3>\u652f\u6301\u51fd\u6570</h3><table><thead><tr><th>\u652f\u6301\u51fd\u6570\u7f16\u53f7</th><th>\u5b9e\u73b0\u51fd\u6570</th><th>\u5de6\u64cd\u4f5c\u6570\u7c7b\u578b</th><th>\u53f3\u64cd\u4f5c\u6570\u7c7b\u578b</th><th>\u7ed3\u679c\u7c7b\u578b</th></tr></thead><tbody><tr><td><code>1</code></td><td><code>btoid8cmp(oid8,oid8)</code></td><td><code>oid8</code></td><td><code>oid8</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>btoid8sortsupport(internal)</code></td><td><code>oid8</code></td><td><code>oid8</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>oid8</code></td><td><code>oid8</code></td><td><code>bool</code></td></tr><tr><td><code>6</code></td><td><code>btoid8skipsupport(internal)</code></td><td><code>oid8</code></td><td><code>oid8</code></td><td><code>void</code></td></tr></tbody></table><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u8282\u9009</h3><p>\n   \u4e00\u4e2a\u7d22\u5f15\u5b9a\u4e49\u53ef\u4ee5\u4e3a\u7d22\u5f15\u7684\u6bcf\u4e00\u5217\u6307\u5b9a\u4e00\u4e2a<em>\u64cd\u4f5c\u7b26\u7c7b</em>\u3002\n</p><p>\n   \u64cd\u4f5c\u7b26\u7c7b\u6807\u8bc6\u8be5\u7d22\u5f15\u5728\u8be5\u5217\u4e0a\u8981\u4f7f\u7528\u54ea\u4e9b\u64cd\u4f5c\u7b26\u3002\u4f8b\u5982\uff0c\u7c7b\u578b <code>int4</code> \u4e0a\u7684\u4e00\u4e2a B-\u6811\u7d22\u5f15\u4f1a\u4f7f\u7528 <code>int4_ops</code> \u7c7b\uff1b\u8fd9\u4e2a\u64cd\u4f5c\u7b26\u7c7b\u5305\u542b\u5bf9 <code>int4</code> \u503c\u8fdb\u884c\u6bd4\u8f83\u6240\u9700\u7684\u51fd\u6570\u3002\u5b9e\u8df5\u4e2d\uff0c\u5217\u6570\u636e\u7c7b\u578b\u7684\u9ed8\u8ba4\u64cd\u4f5c\u7b26\u7c7b\u901a\u5e38\u5df2\u7ecf\u8db3\u591f\u3002\u4e4b\u6240\u4ee5\u5b58\u5728\u64cd\u4f5c\u7b26\u7c7b\uff0c\u4e3b\u8981\u662f\u56e0\u4e3a\u5bf9\u67d0\u4e9b\u6570\u636e\u7c7b\u578b\u6765\u8bf4\uff0c\u53ef\u80fd\u5b58\u5728\u591a\u79cd\u6709\u610f\u4e49\u7684\u7d22\u5f15\u884c\u4e3a\u3002\u4f8b\u5982\uff0c\u6211\u4eec\u53ef\u80fd\u5e0c\u671b\u6309\u7edd\u5bf9\u503c\u6392\u5e8f\u4e00\u79cd\u590d\u6570\u6570\u636e\u7c7b\u578b\uff0c\u4e5f\u53ef\u80fd\u5e0c\u671b\u6309\u5b9e\u90e8\u6392\u5e8f\u3002\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u4e3a\u8be5\u6570\u636e\u7c7b\u578b\u5b9a\u4e49\u4e24\u4e2a\u64cd\u4f5c\u7b26\u7c7b\uff0c\u5e76\u5728\u521b\u5efa\u7d22\u5f15\u65f6\u9009\u62e9\u5408\u9002\u7684\u90a3\u4e2a\u6765\u505a\u5230\u8fd9\u4e00\u70b9\u3002\u64cd\u4f5c\u7b26\u7c7b\u51b3\u5b9a\u4e86\u57fa\u7840\u6392\u5e8f\u987a\u5e8f\uff08\u4e4b\u540e\u8fd8\u53ef\u4ee5\u901a\u8fc7\u6dfb\u52a0\u6392\u5e8f\u9009\u9879 <code>COLLATE</code>\u3001<code>ASC</code>/<code>DESC</code> \u548c/\u6216 <code>NULLS FIRST</code>/<code>NULLS LAST</code> \u6765\u4fee\u6539\uff09\u3002\n  </p><p>\n   \u9664\u4e86\u9ed8\u8ba4\u64cd\u4f5c\u7b26\u7c7b\u4e4b\u5916\uff0c\u8fd8\u6709\u4e00\u4e9b\u5185\u7f6e\u64cd\u4f5c\u7b26\u7c7b\uff1a\n\n   </p><p>\n    \u4e0b\u9762\u7684\u67e5\u8be2\u4f1a\u663e\u793a\u6240\u6709\u5df2\u5b9a\u4e49\u7684\u64cd\u4f5c\u7b26\u7c7b\uff1a\n\n</p><p><a href=\"/zh/docs/devel/indexes-opclass.html\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>", "body_sha256": "3f6c86fa82c66b30ff5496cfa823ba453db606522b35ab445503d66d46836df9", "content_hash": "06ccf00de329da1813c8568c65f4469c3aeea78d8e531bb090939e34cbeb1ba0", "source_database": "center", "source_revision": "49c73aa4c9cacef8ca979276a28ac416c08e9e54c9baee4ae5fd116a35fa13ac"}, "operators": [{"family": "oid8_ops", "method": "btree", "purpose": "search", "operator": "<(oid8,oid8)", "strategy": "1", "left_type": "oid8", "right_type": "oid8", "description": "less than", "family_slug": "family-btree-oid8_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-oid8-oid8", "sort_family_slug": ""}, {"family": "oid8_ops", "method": "btree", "purpose": "search", "operator": "<=(oid8,oid8)", "strategy": "2", "left_type": "oid8", "right_type": "oid8", "description": "less than or equal", "family_slug": "family-btree-oid8_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-oid8-oid8", "sort_family_slug": ""}, {"family": "oid8_ops", "method": "btree", "purpose": "search", "operator": "=(oid8,oid8)", "strategy": "3", "left_type": "oid8", "right_type": "oid8", "description": "equal", "family_slug": "family-btree-oid8_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-oid8-oid8", "sort_family_slug": ""}, {"family": "oid8_ops", "method": "btree", "purpose": "search", "operator": ">=(oid8,oid8)", "strategy": "4", "left_type": "oid8", "right_type": "oid8", "description": "greater than or equal", "family_slug": "family-btree-oid8_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-oid8-oid8", "sort_family_slug": ""}, {"family": "oid8_ops", "method": "btree", "purpose": "search", "operator": ">(oid8,oid8)", "strategy": "5", "left_type": "oid8", "right_type": "oid8", "description": "greater than", "family_slug": "family-btree-oid8_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-oid8-oid8", "sort_family_slug": ""}], "signature": "btree/oid8_ops", "tables_zh": [{"key": "operators", "rows": [{"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-oid8-oid8/?v=20", "text": "<(oid8,oid8)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-oid8-oid8/?v=20", "text": "<=(oid8,oid8)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-oid8-oid8/?v=20", "text": "=(oid8,oid8)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-oid8-oid8/?v=20", "text": ">=(oid8,oid8)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-oid8-oid8/?v=20", "text": ">(oid8,oid8)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}], "title": "\u5bb6\u65cf\u4e2d\u7684\u64cd\u4f5c\u7b26\u7b56\u7565", "columns": [{"key": "operator", "label": "\u64cd\u4f5c\u7b26\u91cd\u8f7d"}, {"key": "strategy", "label": "\u7b56\u7565"}, {"key": "purpose", "label": "\u7528\u9014"}, {"key": "sort_family", "label": "\u6392\u5e8f\u5bb6\u65cf"}, {"key": "scope", "label": "\u6210\u5458\u8303\u56f4"}, {"key": "description", "label": "\u6e90\u7801\u8bf4\u660e"}]}, {"key": "support-functions", "rows": [{"number": "1", "function": "btoid8cmp(oid8,oid8)", "left_type": {"url": "/wiki/type/oid8/?v=20", "text": "oid8"}, "right_type": {"url": "/wiki/type/oid8/?v=20", "text": "oid8"}, "result_type": "int4"}, {"number": "2", "function": "btoid8sortsupport(internal)", "left_type": {"url": "/wiki/type/oid8/?v=20", "text": "oid8"}, "right_type": {"url": "/wiki/type/oid8/?v=20", "text": "oid8"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/oid8/?v=20", "text": "oid8"}, "right_type": {"url": "/wiki/type/oid8/?v=20", "text": "oid8"}, "result_type": "bool"}, {"number": "6", "function": "btoid8skipsupport(internal)", "left_type": {"url": "/wiki/type/oid8/?v=20", "text": "oid8"}, "right_type": {"url": "/wiki/type/oid8/?v=20", "text": "oid8"}, "result_type": "void"}], "title": "\u5bb6\u65cf\u652f\u6301\u51fd\u6570", "columns": [{"key": "number", "label": "\u652f\u6301\u51fd\u6570\u7f16\u53f7"}, {"key": "left_type", "label": "\u5de6\u4fa7\u7c7b\u578b"}, {"key": "right_type", "label": "\u53f3\u4fa7\u7c7b\u578b"}, {"key": "function", "label": "\u51fd\u6570\u7b7e\u540d"}, {"key": "result_type", "label": "\u8fd4\u56de\u7c7b\u578b"}]}, {"key": "classes", "rows": [{"class": {"url": "/wiki/opclass/class-btree-oid8_ops/?v=20", "text": "oid8_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/oid8/?v=20", "text": "oid8"}}], "title": "\u672c\u5bb6\u65cf\u7684\u64cd\u4f5c\u7b26\u7c7b", "columns": [{"key": "class", "label": "\u64cd\u4f5c\u7b26\u7c7b"}, {"key": "input_type", "label": "\u8f93\u5165\u7c7b\u578b"}, {"key": "key_type", "label": "\u952e\u7c7b\u578b"}, {"key": "default", "label": "\u9ed8\u8ba4\u503c"}]}], "source_oid": "8285", "description": ["oid8_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002"], "sections_zh": [{"title": "\u64cd\u4f5c\u7b26\u7c7b\u4e0e\u5bb6\u65cf", "paragraphs": ["\u4e00\u4e2a\u7d22\u5f15\u5b9a\u4e49\u53ef\u4ee5\u4e3a\u7d22\u5f15\u7684\u6bcf\u4e00\u5217\u6307\u5b9a\u4e00\u4e2a \u64cd\u4f5c\u7b26\u7c7b \u3002", "\u64cd\u4f5c\u7b26\u7c7b\u6807\u8bc6\u8be5\u7d22\u5f15\u5728\u8be5\u5217\u4e0a\u8981\u4f7f\u7528\u54ea\u4e9b\u64cd\u4f5c\u7b26\u3002\u4f8b\u5982\uff0c\u7c7b\u578b int4 \u4e0a\u7684\u4e00\u4e2a B-\u6811\u7d22\u5f15\u4f1a\u4f7f\u7528 int4_ops \u7c7b\uff1b\u8fd9\u4e2a\u64cd\u4f5c\u7b26\u7c7b\u5305\u542b\u5bf9 int4 \u503c\u8fdb\u884c\u6bd4\u8f83\u6240\u9700\u7684\u51fd\u6570\u3002\u5b9e\u8df5\u4e2d\uff0c\u5217\u6570\u636e\u7c7b\u578b\u7684\u9ed8\u8ba4\u64cd\u4f5c\u7b26\u7c7b\u901a\u5e38\u5df2\u7ecf\u8db3\u591f\u3002\u4e4b\u6240\u4ee5\u5b58\u5728\u64cd\u4f5c\u7b26\u7c7b\uff0c\u4e3b\u8981\u662f\u56e0\u4e3a\u5bf9\u67d0\u4e9b\u6570\u636e\u7c7b\u578b\u6765\u8bf4\uff0c\u53ef\u80fd\u5b58\u5728\u591a\u79cd\u6709\u610f\u4e49\u7684\u7d22\u5f15\u884c\u4e3a\u3002\u4f8b\u5982\uff0c\u6211\u4eec\u53ef\u80fd\u5e0c\u671b\u6309\u7edd\u5bf9\u503c\u6392\u5e8f\u4e00\u79cd\u590d\u6570\u6570\u636e\u7c7b\u578b\uff0c\u4e5f\u53ef\u80fd\u5e0c\u671b\u6309\u5b9e\u90e8\u6392\u5e8f\u3002\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u4e3a\u8be5\u6570\u636e\u7c7b\u578b\u5b9a\u4e49\u4e24\u4e2a\u64cd\u4f5c\u7b26\u7c7b\uff0c\u5e76\u5728\u521b\u5efa\u7d22\u5f15\u65f6\u9009\u62e9\u5408\u9002\u7684\u90a3\u4e2a\u6765\u505a\u5230\u8fd9\u4e00\u70b9\u3002\u64cd\u4f5c\u7b26\u7c7b\u51b3\u5b9a\u4e86\u57fa\u7840\u6392\u5e8f\u987a\u5e8f\uff08\u4e4b\u540e\u8fd8\u53ef\u4ee5\u901a\u8fc7\u6dfb\u52a0\u6392\u5e8f\u9009\u9879 COLLATE \u3001 ASC / DESC \u548c/\u6216 NULLS FIRST / NULLS LAST \u6765\u4fee\u6539\uff09\u3002", "\u9664\u4e86\u9ed8\u8ba4\u64cd\u4f5c\u7b26\u7c7b\u4e4b\u5916\uff0c\u8fd8\u6709\u4e00\u4e9b\u5185\u7f6e\u64cd\u4f5c\u7b26\u7c7b\uff1a"]}], "localization": {"status": "complete", "sources": [{"url": "/docs/devel/catalog-pg-amop.html", "method": "same-major semantic node", "sha256": "e899b3d8b206f52e8dc0ac4b6019e55022abcf901a9d6cf93edf588bc4354664", "language": "zh", "matched_nodes": ["#CATALOG-PG-AMOP/p[2]/em[1]"]}, {"url": "/docs/devel/indexes-opclass.html", "method": "same-major semantic node", "sha256": "166b0550fdb1c3e8c1fbd979c5e41c060ed4cfcdc2d6ba4733ec27d22f45a62d", "language": "zh", "matched_nodes": ["#INDEXES-OPCLASS/p[3]", "#INDEXES-OPCLASS/p[5]", "#INDEXES-OPCLASS/p[6]"]}], "language": "zh", "original_text": {"/summary": "B-tree operator class for oid8; member of oid8_ops.", "/category": "B-tree classes", "/versions/20/description/0": "B-tree operator class for oid8; member of oid8_ops.", "/versions/20/facts/0/label": "Object kind", "/versions/20/facts/0/value": "Operator class", "/versions/20/facts/1/label": "Index AM", "/versions/20/facts/2/label": "Input type", "/versions/20/facts/3/label": "Stored key type", "/versions/20/facts/3/value": "Same as input type (catalog zero)", "/versions/20/facts/4/label": "Default class", "/versions/20/facts/4/value": "yes", "/versions/20/tables/0/title": "Family operator strategies", "/versions/20/tables/1/title": "Family support functions", "/versions/20/tables/2/title": "Classes in this family", "/versions/20/related/0/label": "B-tree Index AM", "/versions/20/related/1/label": "oid8_ops family", "/versions/20/related/2/label": "oid8 data type", "/versions/20/sections/0/title": "Operator classes and families", "/versions/20/tables/0/rows/0/scope": "Class input pair", "/versions/20/tables/0/rows/1/scope": "Class input pair", "/versions/20/tables/0/rows/2/scope": "Class input pair", "/versions/20/tables/0/rows/3/scope": "Class input pair", "/versions/20/tables/0/rows/4/scope": "Class input pair", "/versions/20/sections/0/paragraphs/0": "An index definition can specify an operator class for each column of an index.", "/versions/20/sections/0/paragraphs/1": "The operator class identifies the operators to be used by the index for that column. For example, a B-tree index on the type int4 would use the int4_ops class; this operator class includes comparison functions for values of type int4 . In practice the default operator class for the column's data type is usually sufficient. The main reason for having operator classes is that for some data types, there could be more than one meaningful index behavior. For example, we might want to sort a complex-number data type either by absolute value or by real part. We could do this by defining two operator classes for the data type and then selecting the proper class when making an index. The operator class determines the basic sort ordering (which can then be modified by adding sort options COLLATE , ASC / DESC and/or NULLS FIRST / NULLS LAST ).", "/versions/20/sections/0/paragraphs/2": "There are also some built-in operator classes besides the default ones:", "/versions/20/tables/0/rows/0/purpose": "search", "/versions/20/tables/0/rows/1/purpose": "search", "/versions/20/tables/0/rows/2/purpose": "search", "/versions/20/tables/0/rows/3/purpose": "search", "/versions/20/tables/0/rows/4/purpose": "search", "/versions/20/tables/2/rows/0/default": "yes", "/versions/20/tables/0/columns/0/label": "Operator overload", "/versions/20/tables/0/columns/1/label": "Strategy", "/versions/20/tables/0/columns/2/label": "Purpose", "/versions/20/tables/0/columns/3/label": "Ordering family", "/versions/20/tables/0/columns/4/label": "Membership scope", "/versions/20/tables/0/columns/5/label": "Source description", "/versions/20/tables/1/columns/0/label": "Support number", "/versions/20/tables/1/columns/1/label": "Left type", "/versions/20/tables/1/columns/2/label": "Right type", "/versions/20/tables/1/columns/3/label": "Function signature", "/versions/20/tables/1/columns/4/label": "Result type", "/versions/20/tables/2/columns/0/label": "Class", "/versions/20/tables/2/columns/1/label": "Input type", "/versions/20/tables/2/columns/2/label": "Key type", "/versions/20/tables/2/columns/3/label": "Default", "/versions/20/tables/2/rows/0/key_type": "Same as input type", "/versions/20/tables/0/rows/0/description": "less than", "/versions/20/tables/0/rows/1/description": "less than or equal", "/versions/20/tables/0/rows/2/description": "equal", "/versions/20/tables/0/rows/3/description": "greater than or equal", "/versions/20/tables/0/rows/4/description": "greater than"}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "3b43c8b19550dc3cc79881d3c28c7bef3a6a3e9fb9e3c97a8c6b472d5b6cea08", "canonical_center_text_hash": "06ccf00de329da1813c8568c65f4469c3aeea78d8e531bb090939e34cbeb1ba0"}, "description_zh": "oid8_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002", "comparison_data": {"kind": "class", "classes": [{"name": "oid8_ops", "family": "oid8_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "oid8"}], "operators": [{"family": "oid8_ops", "method": "btree", "purpose": "search", "operator": "<(oid8,oid8)", "strategy": "1", "left_type": "oid8", "right_type": "oid8", "sort_family": ""}, {"family": "oid8_ops", "method": "btree", "purpose": "search", "operator": "<=(oid8,oid8)", "strategy": "2", "left_type": "oid8", "right_type": "oid8", "sort_family": ""}, {"family": "oid8_ops", "method": "btree", "purpose": "search", "operator": "=(oid8,oid8)", "strategy": "3", "left_type": "oid8", "right_type": "oid8", "sort_family": ""}, {"family": "oid8_ops", "method": "btree", "purpose": "search", "operator": ">=(oid8,oid8)", "strategy": "4", "left_type": "oid8", "right_type": "oid8", "sort_family": ""}, {"family": "oid8_ops", "method": "btree", "purpose": "search", "operator": ">(oid8,oid8)", "strategy": "5", "left_type": "oid8", "right_type": "oid8", "sort_family": ""}], "attributes": {"name": "oid8_ops", "family": "oid8_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "oid8"}, "support_functions": [{"family": "oid8_ops", "method": "btree", "number": "1", "function": "btoid8cmp(oid8,oid8)", "left_type": "oid8", "right_type": "oid8", "result_type": "int4"}, {"family": "oid8_ops", "method": "btree", "number": "2", "function": "btoid8sortsupport(internal)", "left_type": "oid8", "right_type": "oid8", "result_type": "void"}, {"family": "oid8_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "oid8", "right_type": "oid8", "result_type": "bool"}, {"family": "oid8_ops", "method": "btree", "number": "6", "function": "btoid8skipsupport(internal)", "left_type": "oid8", "right_type": "oid8", "result_type": "void"}]}, "comparison_hash": "dfb9c5b14c65d34e9ad093582dab2f6922bcb75a346d4f14953313b34ea2788b", "manual_language": "zh", "support_functions": [{"family": "oid8_ops", "method": "btree", "number": "1", "function": "btoid8cmp(oid8,oid8)", "left_type": "oid8", "right_type": "oid8", "family_slug": "family-btree-oid8_ops", "result_type": "int4"}, {"family": "oid8_ops", "method": "btree", "number": "2", "function": "btoid8sortsupport(internal)", "left_type": "oid8", "right_type": "oid8", "family_slug": "family-btree-oid8_ops", "result_type": "void"}, {"family": "oid8_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "oid8", "right_type": "oid8", "family_slug": "family-btree-oid8_ops", "result_type": "bool"}, {"family": "oid8_ops", "method": "btree", "number": "6", "function": "btoid8skipsupport(internal)", "left_type": "oid8", "right_type": "oid8", "family_slug": "family-btree-oid8_ops", "result_type": "void"}], "description_zh_html": "<p>oid8_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002</p><dl><dt>\u540d\u79f0</dt><dd><code>oid8_ops</code></dd><dt>\u8fd0\u7b97\u7b26\u65cf</dt><dd><code>oid8_ops</code></dd><dt>\u7d22\u5f15\u8bbf\u95ee\u65b9\u6cd5</dt><dd><code>btree</code></dd><dt>\u9ed8\u8ba4\u7c7b</dt><dd><code>\u662f</code></dd><dt>\u5b58\u50a8\u952e\u7c7b\u578b</dt><dd><code>\u65e0</code></dd><dt>\u8f93\u5165\u7c7b\u578b</dt><dd><code>oid8</code></dd></dl><h3>\u7b56\u7565\u8fd0\u7b97\u7b26</h3><table><thead><tr><th>\u7b56\u7565\u7f16\u53f7</th><th>\u7528\u9014</th><th>\u8fd0\u7b97\u7b26</th><th>\u5de6\u64cd\u4f5c\u6570\u7c7b\u578b</th><th>\u53f3\u64cd\u4f5c\u6570\u7c7b\u578b</th><th>\u6392\u5e8f\u8fd0\u7b97\u7b26\u65cf</th></tr></thead><tbody><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(oid8,oid8)</code></td><td><code>oid8</code></td><td><code>oid8</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(oid8,oid8)</code></td><td><code>oid8</code></td><td><code>oid8</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(oid8,oid8)</code></td><td><code>oid8</code></td><td><code>oid8</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(oid8,oid8)</code></td><td><code>oid8</code></td><td><code>oid8</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(oid8,oid8)</code></td><td><code>oid8</code></td><td><code>oid8</code></td><td><code></code></td></tr></tbody></table><h3>\u652f\u6301\u51fd\u6570</h3><table><thead><tr><th>\u652f\u6301\u51fd\u6570\u7f16\u53f7</th><th>\u5b9e\u73b0\u51fd\u6570</th><th>\u5de6\u64cd\u4f5c\u6570\u7c7b\u578b</th><th>\u53f3\u64cd\u4f5c\u6570\u7c7b\u578b</th><th>\u7ed3\u679c\u7c7b\u578b</th></tr></thead><tbody><tr><td><code>1</code></td><td><code>btoid8cmp(oid8,oid8)</code></td><td><code>oid8</code></td><td><code>oid8</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>btoid8sortsupport(internal)</code></td><td><code>oid8</code></td><td><code>oid8</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>oid8</code></td><td><code>oid8</code></td><td><code>bool</code></td></tr><tr><td><code>6</code></td><td><code>btoid8skipsupport(internal)</code></td><td><code>oid8</code></td><td><code>oid8</code></td><td><code>void</code></td></tr></tbody></table><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u8282\u9009</h3><p>\n   \u4e00\u4e2a\u7d22\u5f15\u5b9a\u4e49\u53ef\u4ee5\u4e3a\u7d22\u5f15\u7684\u6bcf\u4e00\u5217\u6307\u5b9a\u4e00\u4e2a<em>\u64cd\u4f5c\u7b26\u7c7b</em>\u3002\n</p><p>\n   \u64cd\u4f5c\u7b26\u7c7b\u6807\u8bc6\u8be5\u7d22\u5f15\u5728\u8be5\u5217\u4e0a\u8981\u4f7f\u7528\u54ea\u4e9b\u64cd\u4f5c\u7b26\u3002\u4f8b\u5982\uff0c\u7c7b\u578b <code>int4</code> \u4e0a\u7684\u4e00\u4e2a B-\u6811\u7d22\u5f15\u4f1a\u4f7f\u7528 <code>int4_ops</code> \u7c7b\uff1b\u8fd9\u4e2a\u64cd\u4f5c\u7b26\u7c7b\u5305\u542b\u5bf9 <code>int4</code> \u503c\u8fdb\u884c\u6bd4\u8f83\u6240\u9700\u7684\u51fd\u6570\u3002\u5b9e\u8df5\u4e2d\uff0c\u5217\u6570\u636e\u7c7b\u578b\u7684\u9ed8\u8ba4\u64cd\u4f5c\u7b26\u7c7b\u901a\u5e38\u5df2\u7ecf\u8db3\u591f\u3002\u4e4b\u6240\u4ee5\u5b58\u5728\u64cd\u4f5c\u7b26\u7c7b\uff0c\u4e3b\u8981\u662f\u56e0\u4e3a\u5bf9\u67d0\u4e9b\u6570\u636e\u7c7b\u578b\u6765\u8bf4\uff0c\u53ef\u80fd\u5b58\u5728\u591a\u79cd\u6709\u610f\u4e49\u7684\u7d22\u5f15\u884c\u4e3a\u3002\u4f8b\u5982\uff0c\u6211\u4eec\u53ef\u80fd\u5e0c\u671b\u6309\u7edd\u5bf9\u503c\u6392\u5e8f\u4e00\u79cd\u590d\u6570\u6570\u636e\u7c7b\u578b\uff0c\u4e5f\u53ef\u80fd\u5e0c\u671b\u6309\u5b9e\u90e8\u6392\u5e8f\u3002\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u4e3a\u8be5\u6570\u636e\u7c7b\u578b\u5b9a\u4e49\u4e24\u4e2a\u64cd\u4f5c\u7b26\u7c7b\uff0c\u5e76\u5728\u521b\u5efa\u7d22\u5f15\u65f6\u9009\u62e9\u5408\u9002\u7684\u90a3\u4e2a\u6765\u505a\u5230\u8fd9\u4e00\u70b9\u3002\u64cd\u4f5c\u7b26\u7c7b\u51b3\u5b9a\u4e86\u57fa\u7840\u6392\u5e8f\u987a\u5e8f\uff08\u4e4b\u540e\u8fd8\u53ef\u4ee5\u901a\u8fc7\u6dfb\u52a0\u6392\u5e8f\u9009\u9879 <code>COLLATE</code>\u3001<code>ASC</code>/<code>DESC</code> \u548c/\u6216 <code>NULLS FIRST</code>/<code>NULLS LAST</code> \u6765\u4fee\u6539\uff09\u3002\n  </p><p>\n   \u9664\u4e86\u9ed8\u8ba4\u64cd\u4f5c\u7b26\u7c7b\u4e4b\u5916\uff0c\u8fd8\u6709\u4e00\u4e9b\u5185\u7f6e\u64cd\u4f5c\u7b26\u7c7b\uff1a\n\n   </p><p>\n    \u4e0b\u9762\u7684\u67e5\u8be2\u4f1a\u663e\u793a\u6240\u6709\u5df2\u5b9a\u4e49\u7684\u64cd\u4f5c\u7b26\u7c7b\uff1a\n\n</p><p><a href=\"/zh/docs/devel/indexes-opclass.html\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>", "source_revalidation": {"kind": "static-same-version-source-and-manual-replay", "audit": "wiki-audit-20261023", "runtime_rerun": false, "compared_fields": "entity membership and source-derived facts; presentation markup normalized", "source_revision": "49c73aa4c9cacef8ca979276a28ac416c08e9e54c9baee4ae5fd116a35fa13ac", "previous_source_revision": "4d3346909b201ac1648232cf290462a7070c119326f56196f1f0253ed80fae41"}}}}, "snapshot": null, "comparison": {"left": "17", "right": "18", "status": "unchanged", "diff": ""}}