{"kind": "opclass", "major": "18", "item": {"slug": "class-btree-timestamptz_ops", "name": "btree/timestamptz_ops (class)", "name_zh": "", "category": "B-tree \u64cd\u4f5c\u7b26\u7c7b", "summary": "timestamptz_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002", "aliases": ["timestamptz_ops", "btree/timestamptz_ops"], "content_hash": "c634116642b853f5cd579441d7147babfa802173f1086b061ee145b07e2d1f18", "versions": {"10": {"class": {"name": "timestamptz_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamptz"}, "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": "timestamptz"}, {"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": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-date/?v=10", "text": "<(date,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-date/?v=10", "text": "<=(date,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-date/?v=10", "text": "=(date,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-date/?v=10", "text": ">=(date,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-date/?v=10", "text": ">(date,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-timestamp/?v=10", "text": "<(date,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamp/?v=10", "text": "<=(date,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-timestamp/?v=10", "text": "=(date,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamp/?v=10", "text": ">=(date,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-timestamp/?v=10", "text": ">(date,timestamp)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-timestamptz/?v=10", "text": "<(date,timestamptz)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamptz/?v=10", "text": "<=(date,timestamptz)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-timestamptz/?v=10", "text": "=(date,timestamptz)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamptz/?v=10", "text": ">=(date,timestamptz)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-timestamptz/?v=10", "text": ">(date,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamp/?v=10", "text": "<(timestamp,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamp/?v=10", "text": "<=(timestamp,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamp/?v=10", "text": "=(timestamp,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamp/?v=10", "text": ">=(timestamp,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamp/?v=10", "text": ">(timestamp,timestamp)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-date/?v=10", "text": "<(timestamp,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-date/?v=10", "text": "<=(timestamp,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-date/?v=10", "text": "=(timestamp,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-date/?v=10", "text": ">=(timestamp,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-date/?v=10", "text": ">(timestamp,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamptz/?v=10", "text": "<(timestamp,timestamptz)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamptz/?v=10", "text": "<=(timestamp,timestamptz)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamptz/?v=10", "text": "=(timestamp,timestamptz)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamptz/?v=10", "text": ">=(timestamp,timestamptz)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamptz/?v=10", "text": ">(timestamp,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamptz/?v=10", "text": "<(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=10", "text": "<=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=10", "text": "=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=10", "text": ">=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=10", "text": ">(timestamptz,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-date/?v=10", "text": "<(timestamptz,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-date/?v=10", "text": "<=(timestamptz,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamptz-date/?v=10", "text": "=(timestamptz,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-date/?v=10", "text": ">=(timestamptz,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamptz-date/?v=10", "text": ">(timestamptz,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamp/?v=10", "text": "<(timestamptz,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-timestamp/?v=10", "text": "<=(timestamptz,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamptz-timestamp/?v=10", "text": "=(timestamptz,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-timestamp/?v=10", "text": ">=(timestamptz,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamptz-timestamp/?v=10", "text": ">(timestamptz,timestamp)"}, "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": "date_cmp(date,date)", "left_type": {"url": "/wiki/type/date/?v=10", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=10", "text": "date"}, "result_type": "int4"}, {"number": "2", "function": "date_sortsupport(internal)", "left_type": {"url": "/wiki/type/date/?v=10", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=10", "text": "date"}, "result_type": "void"}, {"number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": {"url": "/wiki/type/date/?v=10", "text": "date"}, "right_type": {"url": "/wiki/type/timestamp/?v=10", "text": "timestamp"}, "result_type": "int4"}, {"number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": {"url": "/wiki/type/date/?v=10", "text": "date"}, "right_type": {"url": "/wiki/type/timestamptz/?v=10", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": {"url": "/wiki/type/timestamp/?v=10", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=10", "text": "timestamp"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamp/?v=10", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=10", "text": "timestamp"}, "result_type": "void"}, {"number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": {"url": "/wiki/type/timestamp/?v=10", "text": "timestamp"}, "right_type": {"url": "/wiki/type/date/?v=10", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": {"url": "/wiki/type/timestamp/?v=10", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamptz/?v=10", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": {"url": "/wiki/type/timestamptz/?v=10", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=10", "text": "timestamptz"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamptz/?v=10", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=10", "text": "timestamptz"}, "result_type": "void"}, {"number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": {"url": "/wiki/type/timestamptz/?v=10", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/date/?v=10", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": {"url": "/wiki/type/timestamptz/?v=10", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamp/?v=10", "text": "timestamp"}, "result_type": "int4"}], "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-date_ops/?v=10", "text": "date_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/date/?v=10", "text": "date"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamptz_ops/?v=10", "text": "timestamptz_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamptz/?v=10", "text": "timestamptz"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamp_ops/?v=10", "text": "timestamp_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamp/?v=10", "text": "timestamp"}}], "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": ["timestamptz_ops", "btree/timestamptz_ops"], "classes": [{"name": "date_ops", "slug": "class-btree-date_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "date", "source_oid": "3122", "family_slug": "family-btree-datetime_ops"}, {"name": "timestamptz_ops", "slug": "class-btree-timestamptz_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamptz", "source_oid": "3127", "family_slug": "family-btree-datetime_ops"}, {"name": "timestamp_ops", "slug": "class-btree-timestamp_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamp", "source_oid": "3128", "family_slug": "family-btree-datetime_ops"}], "related": [{"url": "/wiki/indexam/btree/?v=10", "label": "B-tree \u7d22\u5f15\u8bbf\u95ee\u65b9\u6cd5"}, {"url": "/wiki/opclass/family-btree-datetime_ops/?v=10", "label": "datetime_ops \u5bb6\u65cf"}, {"url": "/wiki/type/timestamptz/?v=10", "label": "timestamptz \u6570\u636e\u7c7b\u578b"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v10.23/postgresql-10.23.tar.bz2", "label": "10.23", "major": "10", "channel": "historical", "revision": "94a4b2528372458e5662c18d406629266667c437198160a18cdfd2c4a4d6eee9", "source_sha256": "94a4b2528372458e5662c18d406629266667c437198160a18cdfd2c4a4d6eee9", "manual_fingerprint": "113b870e3ff4b52320f34750da5e740800f3f6e4ed6f2fc00a0891944d1be7c2", "catalog_fingerprint": "dd2d5fd5e17d29184db5f6625f9f0f9b9d40ae7aa34b6ccf28ddbc8684bd4992"}, "sources": [{"url": "https://ftp.postgresql.org/pub/source/v10.23/postgresql-10.23.tar.bz2", "label": "Matching PostgreSQL source archive", "sha256": "94a4b2528372458e5662c18d406629266667c437198160a18cdfd2c4a4d6eee9"}, {"url": "/docs/10/indexes-opclass.html", "path": "indexes-opclass.html", "label": "PostgreSQL 10 English manual: indexes-opclass.html", "sha256": "5e070d906c5b9c756625cc59969d7259b304fb3ff73ec4363e2dcbf923ad4c61"}, {"url": "/docs/10/catalog-pg-opclass.html", "path": "catalog-pg-opclass.html", "label": "PostgreSQL 10 English manual: catalog-pg-opclass.html", "sha256": "3be20e2a81d94f5181b1ed6dbf0b36e358fef354f628beac0e6a46b05a5db3b1"}, {"url": "/docs/10/catalog-pg-amop.html", "path": "catalog-pg-amop.html", "label": "PostgreSQL 10 English manual: catalog-pg-amop.html", "sha256": "d5ce5a3be599e5506edbe3ff615674beb013720953f4979a44b6ecfd4cc24090"}, {"url": "/docs/10/catalog-pg-amproc.html", "path": "catalog-pg-amproc.html", "label": "PostgreSQL 10 English manual: catalog-pg-amproc.html", "sha256": "5e5f2932bae4725864988e810841b0edf82d629b3ea2690ffe8b44935eb89131"}], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-structured-summary", "manual": {"url": "/zh/docs/10/indexes-opclass.html", "anchor": "", "locale": "zh-Hans", "version": "10", "build_id": 63, "page_key": "indexes-opclass.html", "extraction": "concept-introduction", "source_hash": "128986dc42e9e1f0bc923427b9a91d31b2ced11bce4da0272584af9fcf1622c2", "fragment_sha256": "dfb18d4f20bebf01ee5a8f50b7df4c561d0e696cb96ab74da753e0e1624ccc51", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "snapshot:sha256:62997ea80516ad012fbf6359de33f3b016b54c47e2df76e75606116b4baaf8e5", "translated_from_revision": null}, "body_sha256": "ace4dd4a44127c736b006d107864d4b858a3f7cc2f3630d242194b50f3ac9e37", "runtime_rerun": false, "authored_translation": "source-derived-structured-summary", "source_facts_revision": "94a4b2528372458e5662c18d406629266667c437198160a18cdfd2c4a4d6eee9"}, "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": "timestamptz"}, {"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": ["\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\u786e\u5b9a\u7d22\u5f15\u9488\u5bf9\u8be5\u5217\u4f7f\u7528\u54ea\u4e9b\u64cd\u4f5c\u7b26\u3002\u4f8b\u5982\uff0c\u5efa\u7acb\u5728\u7c7b\u578b int4 \u4e0a\u7684 B-\u6811\u7d22\u5f15\u4f1a\u4f7f\u7528 int4_ops \u7c7b\uff1b\u8be5\u64cd\u4f5c\u7b26\u7c7b\u5305\u542b\u9488\u5bf9\u4ee5\u4e0b\u7c7b\u578b\u7684\u503c\u7684\u6bd4\u8f83\u51fd\u6570\uff1a int4 \u3002\u5b9e\u9645\u4e2d\uff0c\u5217\u6570\u636e\u7c7b\u578b\u7684\u9ed8\u8ba4\u64cd\u4f5c\u7b26\u7c7b\u901a\u5e38\u5c31\u8db3\u591f\u4e86\u3002\u4e4b\u6240\u4ee5\u9700\u8981\u64cd\u4f5c\u7b26\u7c7b\uff0c\u4e3b\u8981\u662f\u56e0\u4e3a\u5bf9\u4e8e\u67d0\u4e9b\u6570\u636e\u7c7b\u578b\uff0c\u53ef\u80fd\u5b58\u5728\u4e0d\u6b62\u4e00\u79cd\u6709\u610f\u4e49\u7684\u7d22\u5f15\u884c\u4e3a\u3002\u4f8b\u5982\uff0c\u53ef\u80fd\u5e0c\u671b\u6309\u7edd\u5bf9\u503c\u6216\u5b9e\u90e8\u5bf9\u590d\u6570\u6570\u636e\u7c7b\u578b\u6392\u5e8f\u3002\u53ef\u4ee5\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\u7c7b\u3002\u64cd\u4f5c\u7b26\u7c7b\u51b3\u5b9a\u57fa\u672c\u6392\u5e8f\u987a\u5e8f\uff08\u968f\u540e\u53ef\u4ee5\u901a\u8fc7\u6dfb\u52a0\u6392\u5e8f\u9009\u9879\u8fdb\u884c\u8c03\u6574\uff1a COLLATE \uff0c ASC / DESC \u548c/\u6216 NULLS FIRST / NULLS LAST \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/timestamptz_ops (class)", "locale": "zh-Hans", "source": {"key": "class-btree-timestamptz_ops", "locale": "zh-Hans", "version": "10", "text_hash": "1cf377b8952ec0ad3d22df26a470ea321ae9773776a3a8eaff12b21581d03a3d", "collection": "opclass", "dataset_hash": "7c31b524dfe136022d39a6ae8dcfac6b3bbd5f8fdaf422536599981252aff0c9", "source_database": "center", "source_revision": "94a4b2528372458e5662c18d406629266667c437198160a18cdfd2c4a4d6eee9"}, "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": "timestamptz"}, {"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": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-date/?v=10", "text": "<(date,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-date/?v=10", "text": "<=(date,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-date/?v=10", "text": "=(date,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-date/?v=10", "text": ">=(date,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-date/?v=10", "text": ">(date,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-timestamp/?v=10", "text": "<(date,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamp/?v=10", "text": "<=(date,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-timestamp/?v=10", "text": "=(date,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamp/?v=10", "text": ">=(date,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-timestamp/?v=10", "text": ">(date,timestamp)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-timestamptz/?v=10", "text": "<(date,timestamptz)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamptz/?v=10", "text": "<=(date,timestamptz)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-timestamptz/?v=10", "text": "=(date,timestamptz)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamptz/?v=10", "text": ">=(date,timestamptz)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-timestamptz/?v=10", "text": ">(date,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamp/?v=10", "text": "<(timestamp,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamp/?v=10", "text": "<=(timestamp,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamp/?v=10", "text": "=(timestamp,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamp/?v=10", "text": ">=(timestamp,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamp/?v=10", "text": ">(timestamp,timestamp)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-date/?v=10", "text": "<(timestamp,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-date/?v=10", "text": "<=(timestamp,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-date/?v=10", "text": "=(timestamp,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-date/?v=10", "text": ">=(timestamp,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-date/?v=10", "text": ">(timestamp,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamptz/?v=10", "text": "<(timestamp,timestamptz)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamptz/?v=10", "text": "<=(timestamp,timestamptz)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamptz/?v=10", "text": "=(timestamp,timestamptz)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamptz/?v=10", "text": ">=(timestamp,timestamptz)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamptz/?v=10", "text": ">(timestamp,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamptz/?v=10", "text": "<(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=10", "text": "<=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=10", "text": "=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=10", "text": ">=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=10", "text": ">(timestamptz,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-date/?v=10", "text": "<(timestamptz,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-date/?v=10", "text": "<=(timestamptz,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamptz-date/?v=10", "text": "=(timestamptz,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-date/?v=10", "text": ">=(timestamptz,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamptz-date/?v=10", "text": ">(timestamptz,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamp/?v=10", "text": "<(timestamptz,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-timestamp/?v=10", "text": "<=(timestamptz,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamptz-timestamp/?v=10", "text": "=(timestamptz,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-timestamp/?v=10", "text": ">=(timestamptz,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamptz-timestamp/?v=10", "text": ">(timestamptz,timestamp)"}, "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": "date_cmp(date,date)", "left_type": {"url": "/wiki/type/date/?v=10", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=10", "text": "date"}, "result_type": "int4"}, {"number": "2", "function": "date_sortsupport(internal)", "left_type": {"url": "/wiki/type/date/?v=10", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=10", "text": "date"}, "result_type": "void"}, {"number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": {"url": "/wiki/type/date/?v=10", "text": "date"}, "right_type": {"url": "/wiki/type/timestamp/?v=10", "text": "timestamp"}, "result_type": "int4"}, {"number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": {"url": "/wiki/type/date/?v=10", "text": "date"}, "right_type": {"url": "/wiki/type/timestamptz/?v=10", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": {"url": "/wiki/type/timestamp/?v=10", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=10", "text": "timestamp"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamp/?v=10", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=10", "text": "timestamp"}, "result_type": "void"}, {"number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": {"url": "/wiki/type/timestamp/?v=10", "text": "timestamp"}, "right_type": {"url": "/wiki/type/date/?v=10", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": {"url": "/wiki/type/timestamp/?v=10", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamptz/?v=10", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": {"url": "/wiki/type/timestamptz/?v=10", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=10", "text": "timestamptz"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamptz/?v=10", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=10", "text": "timestamptz"}, "result_type": "void"}, {"number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": {"url": "/wiki/type/timestamptz/?v=10", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/date/?v=10", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": {"url": "/wiki/type/timestamptz/?v=10", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamp/?v=10", "text": "timestamp"}, "result_type": "int4"}], "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-date_ops/?v=10", "text": "date_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/date/?v=10", "text": "date"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamptz_ops/?v=10", "text": "timestamptz_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamptz/?v=10", "text": "timestamptz"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamp_ops/?v=10", "text": "timestamp_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamp/?v=10", "text": "timestamp"}}], "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/10/indexes-opclass.html", "anchor": "", "locale": "zh-Hans", "version": "10", "build_id": 63, "page_key": "indexes-opclass.html", "extraction": "concept-introduction", "source_hash": "128986dc42e9e1f0bc923427b9a91d31b2ced11bce4da0272584af9fcf1622c2", "fragment_sha256": "dfb18d4f20bebf01ee5a8f50b7df4c561d0e696cb96ab74da753e0e1624ccc51", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "snapshot:sha256:62997ea80516ad012fbf6359de33f3b016b54c47e2df76e75606116b4baaf8e5", "translated_from_revision": null}, "body_sha256": "ace4dd4a44127c736b006d107864d4b858a3f7cc2f3630d242194b50f3ac9e37", "runtime_rerun": false, "authored_translation": "source-derived-structured-summary", "source_facts_revision": "94a4b2528372458e5662c18d406629266667c437198160a18cdfd2c4a4d6eee9"}, "sections": [{"title": "\u64cd\u4f5c\u7b26\u7c7b\u4e0e\u5bb6\u65cf", "paragraphs": ["\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\u786e\u5b9a\u7d22\u5f15\u9488\u5bf9\u8be5\u5217\u4f7f\u7528\u54ea\u4e9b\u64cd\u4f5c\u7b26\u3002\u4f8b\u5982\uff0c\u5efa\u7acb\u5728\u7c7b\u578b int4 \u4e0a\u7684 B-\u6811\u7d22\u5f15\u4f1a\u4f7f\u7528 int4_ops \u7c7b\uff1b\u8be5\u64cd\u4f5c\u7b26\u7c7b\u5305\u542b\u9488\u5bf9\u4ee5\u4e0b\u7c7b\u578b\u7684\u503c\u7684\u6bd4\u8f83\u51fd\u6570\uff1a int4 \u3002\u5b9e\u9645\u4e2d\uff0c\u5217\u6570\u636e\u7c7b\u578b\u7684\u9ed8\u8ba4\u64cd\u4f5c\u7b26\u7c7b\u901a\u5e38\u5c31\u8db3\u591f\u4e86\u3002\u4e4b\u6240\u4ee5\u9700\u8981\u64cd\u4f5c\u7b26\u7c7b\uff0c\u4e3b\u8981\u662f\u56e0\u4e3a\u5bf9\u4e8e\u67d0\u4e9b\u6570\u636e\u7c7b\u578b\uff0c\u53ef\u80fd\u5b58\u5728\u4e0d\u6b62\u4e00\u79cd\u6709\u610f\u4e49\u7684\u7d22\u5f15\u884c\u4e3a\u3002\u4f8b\u5982\uff0c\u53ef\u80fd\u5e0c\u671b\u6309\u7edd\u5bf9\u503c\u6216\u5b9e\u90e8\u5bf9\u590d\u6570\u6570\u636e\u7c7b\u578b\u6392\u5e8f\u3002\u53ef\u4ee5\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\u7c7b\u3002\u64cd\u4f5c\u7b26\u7c7b\u51b3\u5b9a\u57fa\u672c\u6392\u5e8f\u987a\u5e8f\uff08\u968f\u540e\u53ef\u4ee5\u901a\u8fc7\u6dfb\u52a0\u6392\u5e8f\u9009\u9879\u8fdb\u884c\u8c03\u6574\uff1a COLLATE \uff0c ASC / DESC \u548c/\u6216 NULLS FIRST / NULLS LAST \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": "timestamptz_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002", "description_zh_html": "<p>timestamptz_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002</p><dl><dt>\u540d\u79f0</dt><dd><code>timestamptz_ops</code></dd><dt>\u8fd0\u7b97\u7b26\u65cf</dt><dd><code>datetime_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>timestamptz</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;(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</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>date_cmp(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>date_sortsupport(internal)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>void</code></td></tr><tr><td><code>1</code></td><td><code>date_cmp_timestamp(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>date_cmp_timestamptz(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>timestamp_sortsupport(internal)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>void</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp_date(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp_timestamptz(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>timestamp_sortsupport(internal)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>void</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp_date(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp_timestamp(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr></tbody></table><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u8282\u9009</h3><p>\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</p><p>\u64cd\u4f5c\u7b26\u7c7b\u786e\u5b9a\u7d22\u5f15\u9488\u5bf9\u8be5\u5217\u4f7f\u7528\u54ea\u4e9b\u64cd\u4f5c\u7b26\u3002\u4f8b\u5982\uff0c\u5efa\u7acb\u5728\u7c7b\u578b <code class=\"type\">int4</code> \u4e0a\u7684 B-\u6811\u7d22\u5f15\u4f1a\u4f7f\u7528 <code class=\"literal\">int4_ops</code> \u7c7b\uff1b\u8be5\u64cd\u4f5c\u7b26\u7c7b\u5305\u542b\u9488\u5bf9\u4ee5\u4e0b\u7c7b\u578b\u7684\u503c\u7684\u6bd4\u8f83\u51fd\u6570\uff1a<code class=\"type\">int4</code>\u3002\u5b9e\u9645\u4e2d\uff0c\u5217\u6570\u636e\u7c7b\u578b\u7684\u9ed8\u8ba4\u64cd\u4f5c\u7b26\u7c7b\u901a\u5e38\u5c31\u8db3\u591f\u4e86\u3002\u4e4b\u6240\u4ee5\u9700\u8981\u64cd\u4f5c\u7b26\u7c7b\uff0c\u4e3b\u8981\u662f\u56e0\u4e3a\u5bf9\u4e8e\u67d0\u4e9b\u6570\u636e\u7c7b\u578b\uff0c\u53ef\u80fd\u5b58\u5728\u4e0d\u6b62\u4e00\u79cd\u6709\u610f\u4e49\u7684\u7d22\u5f15\u884c\u4e3a\u3002\u4f8b\u5982\uff0c\u53ef\u80fd\u5e0c\u671b\u6309\u7edd\u5bf9\u503c\u6216\u5b9e\u90e8\u5bf9\u590d\u6570\u6570\u636e\u7c7b\u578b\u6392\u5e8f\u3002\u53ef\u4ee5\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\u7c7b\u3002\u64cd\u4f5c\u7b26\u7c7b\u51b3\u5b9a\u57fa\u672c\u6392\u5e8f\u987a\u5e8f\uff08\u968f\u540e\u53ef\u4ee5\u901a\u8fc7\u6dfb\u52a0\u6392\u5e8f\u9009\u9879\u8fdb\u884c\u8c03\u6574\uff1a<code class=\"literal\">COLLATE</code>\uff0c<code class=\"literal\">ASC</code>/<code class=\"literal\">DESC</code> \u548c/\u6216 <code class=\"literal\">NULLS FIRST</code>/<code class=\"literal\">NULLS LAST</code>\uff09\u3002\n  </p><p>   \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>    \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/10/indexes-opclass.html\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "summary": "timestamptz_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002", "version": "10", "link_map": {"/zh/docs/10/indexes-opclass.html": "/docs/10/indexes-opclass.html"}, "body_html": "<p>timestamptz_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002</p><dl><dt>\u540d\u79f0</dt><dd><code>timestamptz_ops</code></dd><dt>\u8fd0\u7b97\u7b26\u65cf</dt><dd><code>datetime_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>timestamptz</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;(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</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>date_cmp(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>date_sortsupport(internal)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>void</code></td></tr><tr><td><code>1</code></td><td><code>date_cmp_timestamp(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>date_cmp_timestamptz(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>timestamp_sortsupport(internal)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>void</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp_date(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp_timestamptz(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>timestamp_sortsupport(internal)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>void</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp_date(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp_timestamp(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr></tbody></table><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u8282\u9009</h3><p>\u7d22\u5f15\u5b9a\u4e49\u53ef\u4ee5\u4e3a\u7d22\u5f15\u7684\u6bcf\u4e00\u5217\u6307\u5b9a\u4e00\u4e2a<em>\u64cd\u4f5c\u7b26\u7c7b</em>\u3002</p><p>\u64cd\u4f5c\u7b26\u7c7b\u786e\u5b9a\u7d22\u5f15\u9488\u5bf9\u8be5\u5217\u4f7f\u7528\u54ea\u4e9b\u64cd\u4f5c\u7b26\u3002\u4f8b\u5982\uff0c\u5efa\u7acb\u5728\u7c7b\u578b <code>int4</code> \u4e0a\u7684 B-\u6811\u7d22\u5f15\u4f1a\u4f7f\u7528 <code>int4_ops</code> \u7c7b\uff1b\u8be5\u64cd\u4f5c\u7b26\u7c7b\u5305\u542b\u9488\u5bf9\u4ee5\u4e0b\u7c7b\u578b\u7684\u503c\u7684\u6bd4\u8f83\u51fd\u6570\uff1a<code>int4</code>\u3002\u5b9e\u9645\u4e2d\uff0c\u5217\u6570\u636e\u7c7b\u578b\u7684\u9ed8\u8ba4\u64cd\u4f5c\u7b26\u7c7b\u901a\u5e38\u5c31\u8db3\u591f\u4e86\u3002\u4e4b\u6240\u4ee5\u9700\u8981\u64cd\u4f5c\u7b26\u7c7b\uff0c\u4e3b\u8981\u662f\u56e0\u4e3a\u5bf9\u4e8e\u67d0\u4e9b\u6570\u636e\u7c7b\u578b\uff0c\u53ef\u80fd\u5b58\u5728\u4e0d\u6b62\u4e00\u79cd\u6709\u610f\u4e49\u7684\u7d22\u5f15\u884c\u4e3a\u3002\u4f8b\u5982\uff0c\u53ef\u80fd\u5e0c\u671b\u6309\u7edd\u5bf9\u503c\u6216\u5b9e\u90e8\u5bf9\u590d\u6570\u6570\u636e\u7c7b\u578b\u6392\u5e8f\u3002\u53ef\u4ee5\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\u7c7b\u3002\u64cd\u4f5c\u7b26\u7c7b\u51b3\u5b9a\u57fa\u672c\u6392\u5e8f\u987a\u5e8f\uff08\u968f\u540e\u53ef\u4ee5\u901a\u8fc7\u6dfb\u52a0\u6392\u5e8f\u9009\u9879\u8fdb\u884c\u8c03\u6574\uff1a<code>COLLATE</code>\uff0c<code>ASC</code>/<code>DESC</code> \u548c/\u6216 <code>NULLS FIRST</code>/<code>NULLS LAST</code>\uff09\u3002\n  </p><p>   \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>    \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/10/indexes-opclass.html\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>", "body_sha256": "da3971a92f98166a847783d6ca443f8c43df92bd1c2774db1027b38be7ebae1d", "content_hash": "1cf377b8952ec0ad3d22df26a470ea321ae9773776a3a8eaff12b21581d03a3d", "source_database": "center", "source_revision": "94a4b2528372458e5662c18d406629266667c437198160a18cdfd2c4a4d6eee9"}, "operators": [{"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,date)", "strategy": "1", "left_type": "date", "right_type": "date", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,date)", "strategy": "2", "left_type": "date", "right_type": "date", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,date)", "strategy": "3", "left_type": "date", "right_type": "date", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,date)", "strategy": "4", "left_type": "date", "right_type": "date", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,date)", "strategy": "5", "left_type": "date", "right_type": "date", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamp)", "strategy": "1", "left_type": "date", "right_type": "timestamp", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamp)", "strategy": "2", "left_type": "date", "right_type": "timestamp", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamp)", "strategy": "3", "left_type": "date", "right_type": "timestamp", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamp)", "strategy": "4", "left_type": "date", "right_type": "timestamp", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamp)", "strategy": "5", "left_type": "date", "right_type": "timestamp", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamptz)", "strategy": "1", "left_type": "date", "right_type": "timestamptz", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamptz)", "strategy": "2", "left_type": "date", "right_type": "timestamptz", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamptz)", "strategy": "3", "left_type": "date", "right_type": "timestamptz", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamptz)", "strategy": "4", "left_type": "date", "right_type": "timestamptz", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamptz)", "strategy": "5", "left_type": "date", "right_type": "timestamptz", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamp)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamp", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamp)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamp", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamp)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamp", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamp)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamp", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamp)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamp", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,date)", "strategy": "1", "left_type": "timestamp", "right_type": "date", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,date)", "strategy": "2", "left_type": "timestamp", "right_type": "date", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,date)", "strategy": "3", "left_type": "timestamp", "right_type": "date", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,date)", "strategy": "4", "left_type": "timestamp", "right_type": "date", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,date)", "strategy": "5", "left_type": "timestamp", "right_type": "date", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamptz)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamptz", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamptz)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamptz", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamptz)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamptz", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamptz)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamptz", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamptz)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamptz", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamptz)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamptz", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamptz)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamptz", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamptz)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamptz", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamptz)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamptz", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamptz)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamptz", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,date)", "strategy": "1", "left_type": "timestamptz", "right_type": "date", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,date)", "strategy": "2", "left_type": "timestamptz", "right_type": "date", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,date)", "strategy": "3", "left_type": "timestamptz", "right_type": "date", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,date)", "strategy": "4", "left_type": "timestamptz", "right_type": "date", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,date)", "strategy": "5", "left_type": "timestamptz", "right_type": "date", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamp)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamp", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamp)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamp", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamp)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamp", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamp)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamp", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamp)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamp", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamptz-timestamp", "sort_family_slug": ""}], "signature": "btree/timestamptz_ops", "tables_zh": [{"key": "operators", "rows": [{"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-date/?v=10", "text": "<(date,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-date/?v=10", "text": "<=(date,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-date/?v=10", "text": "=(date,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-date/?v=10", "text": ">=(date,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-date/?v=10", "text": ">(date,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-timestamp/?v=10", "text": "<(date,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamp/?v=10", "text": "<=(date,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-timestamp/?v=10", "text": "=(date,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamp/?v=10", "text": ">=(date,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-timestamp/?v=10", "text": ">(date,timestamp)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-timestamptz/?v=10", "text": "<(date,timestamptz)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamptz/?v=10", "text": "<=(date,timestamptz)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-timestamptz/?v=10", "text": "=(date,timestamptz)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamptz/?v=10", "text": ">=(date,timestamptz)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-timestamptz/?v=10", "text": ">(date,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamp/?v=10", "text": "<(timestamp,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamp/?v=10", "text": "<=(timestamp,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamp/?v=10", "text": "=(timestamp,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamp/?v=10", "text": ">=(timestamp,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamp/?v=10", "text": ">(timestamp,timestamp)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-date/?v=10", "text": "<(timestamp,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-date/?v=10", "text": "<=(timestamp,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-date/?v=10", "text": "=(timestamp,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-date/?v=10", "text": ">=(timestamp,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-date/?v=10", "text": ">(timestamp,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamptz/?v=10", "text": "<(timestamp,timestamptz)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamptz/?v=10", "text": "<=(timestamp,timestamptz)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamptz/?v=10", "text": "=(timestamp,timestamptz)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamptz/?v=10", "text": ">=(timestamp,timestamptz)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamptz/?v=10", "text": ">(timestamp,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamptz/?v=10", "text": "<(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=10", "text": "<=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=10", "text": "=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=10", "text": ">=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=10", "text": ">(timestamptz,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-date/?v=10", "text": "<(timestamptz,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-date/?v=10", "text": "<=(timestamptz,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamptz-date/?v=10", "text": "=(timestamptz,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-date/?v=10", "text": ">=(timestamptz,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamptz-date/?v=10", "text": ">(timestamptz,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamp/?v=10", "text": "<(timestamptz,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-timestamp/?v=10", "text": "<=(timestamptz,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamptz-timestamp/?v=10", "text": "=(timestamptz,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-timestamp/?v=10", "text": ">=(timestamptz,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamptz-timestamp/?v=10", "text": ">(timestamptz,timestamp)"}, "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": "date_cmp(date,date)", "left_type": {"url": "/wiki/type/date/?v=10", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=10", "text": "date"}, "result_type": "int4"}, {"number": "2", "function": "date_sortsupport(internal)", "left_type": {"url": "/wiki/type/date/?v=10", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=10", "text": "date"}, "result_type": "void"}, {"number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": {"url": "/wiki/type/date/?v=10", "text": "date"}, "right_type": {"url": "/wiki/type/timestamp/?v=10", "text": "timestamp"}, "result_type": "int4"}, {"number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": {"url": "/wiki/type/date/?v=10", "text": "date"}, "right_type": {"url": "/wiki/type/timestamptz/?v=10", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": {"url": "/wiki/type/timestamp/?v=10", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=10", "text": "timestamp"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamp/?v=10", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=10", "text": "timestamp"}, "result_type": "void"}, {"number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": {"url": "/wiki/type/timestamp/?v=10", "text": "timestamp"}, "right_type": {"url": "/wiki/type/date/?v=10", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": {"url": "/wiki/type/timestamp/?v=10", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamptz/?v=10", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": {"url": "/wiki/type/timestamptz/?v=10", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=10", "text": "timestamptz"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamptz/?v=10", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=10", "text": "timestamptz"}, "result_type": "void"}, {"number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": {"url": "/wiki/type/timestamptz/?v=10", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/date/?v=10", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": {"url": "/wiki/type/timestamptz/?v=10", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamp/?v=10", "text": "timestamp"}, "result_type": "int4"}], "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-date_ops/?v=10", "text": "date_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/date/?v=10", "text": "date"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamptz_ops/?v=10", "text": "timestamptz_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamptz/?v=10", "text": "timestamptz"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamp_ops/?v=10", "text": "timestamp_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamp/?v=10", "text": "timestamp"}}], "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": "3127", "description": ["timestamptz_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002"], "sections_zh": [{"title": "\u64cd\u4f5c\u7b26\u7c7b\u4e0e\u5bb6\u65cf", "paragraphs": ["\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\u786e\u5b9a\u7d22\u5f15\u9488\u5bf9\u8be5\u5217\u4f7f\u7528\u54ea\u4e9b\u64cd\u4f5c\u7b26\u3002\u4f8b\u5982\uff0c\u5efa\u7acb\u5728\u7c7b\u578b int4 \u4e0a\u7684 B-\u6811\u7d22\u5f15\u4f1a\u4f7f\u7528 int4_ops \u7c7b\uff1b\u8be5\u64cd\u4f5c\u7b26\u7c7b\u5305\u542b\u9488\u5bf9\u4ee5\u4e0b\u7c7b\u578b\u7684\u503c\u7684\u6bd4\u8f83\u51fd\u6570\uff1a int4 \u3002\u5b9e\u9645\u4e2d\uff0c\u5217\u6570\u636e\u7c7b\u578b\u7684\u9ed8\u8ba4\u64cd\u4f5c\u7b26\u7c7b\u901a\u5e38\u5c31\u8db3\u591f\u4e86\u3002\u4e4b\u6240\u4ee5\u9700\u8981\u64cd\u4f5c\u7b26\u7c7b\uff0c\u4e3b\u8981\u662f\u56e0\u4e3a\u5bf9\u4e8e\u67d0\u4e9b\u6570\u636e\u7c7b\u578b\uff0c\u53ef\u80fd\u5b58\u5728\u4e0d\u6b62\u4e00\u79cd\u6709\u610f\u4e49\u7684\u7d22\u5f15\u884c\u4e3a\u3002\u4f8b\u5982\uff0c\u53ef\u80fd\u5e0c\u671b\u6309\u7edd\u5bf9\u503c\u6216\u5b9e\u90e8\u5bf9\u590d\u6570\u6570\u636e\u7c7b\u578b\u6392\u5e8f\u3002\u53ef\u4ee5\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\u7c7b\u3002\u64cd\u4f5c\u7b26\u7c7b\u51b3\u5b9a\u57fa\u672c\u6392\u5e8f\u987a\u5e8f\uff08\u968f\u540e\u53ef\u4ee5\u901a\u8fc7\u6dfb\u52a0\u6392\u5e8f\u9009\u9879\u8fdb\u884c\u8c03\u6574\uff1a COLLATE \uff0c ASC / DESC \u548c/\u6216 NULLS FIRST / NULLS LAST \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/10/catalog-pg-amop.html", "method": "same-major semantic node", "sha256": "f2ee5e4386a45a176aa7c61ff8d752aee0ce3aaea06553965bee526ab799f223", "language": "zh", "matched_nodes": ["#CATALOG-PG-AMOP/p[2]/em[1]"]}, {"url": "/docs/10/indexes-opclass.html", "method": "same-major semantic node", "sha256": "a63692e6035b21dab0183c026ca8b0c2ac480c3ca9833fdce2081537733252db", "language": "zh", "matched_nodes": ["#INDEXES-OPCLASS/p[3]", "#INDEXES-OPCLASS/p[5]", "#INDEXES-OPCLASS/p[6]"]}], "language": "zh", "original_text": {"/versions/10/description/0": "B-tree operator class for timestamptz; member of datetime_ops.", "/versions/10/facts/0/label": "Object kind", "/versions/10/facts/0/value": "Operator class", "/versions/10/facts/1/label": "Index AM", "/versions/10/facts/2/label": "Input type", "/versions/10/facts/3/label": "Stored key type", "/versions/10/facts/3/value": "Same as input type (catalog zero)", "/versions/10/facts/4/label": "Default class", "/versions/10/facts/4/value": "yes", "/versions/10/tables/0/title": "Family operator strategies", "/versions/10/tables/1/title": "Family support functions", "/versions/10/tables/2/title": "Classes in this family", "/versions/10/related/0/label": "B-tree Index AM", "/versions/10/related/1/label": "datetime_ops family", "/versions/10/related/2/label": "timestamptz data type", "/versions/10/sections/0/title": "Operator classes and families", "/versions/10/tables/0/rows/0/scope": "Family member", "/versions/10/tables/0/rows/1/scope": "Family member", "/versions/10/tables/0/rows/2/scope": "Family member", "/versions/10/tables/0/rows/3/scope": "Family member", "/versions/10/tables/0/rows/4/scope": "Family member", "/versions/10/tables/0/rows/5/scope": "Family member", "/versions/10/tables/0/rows/6/scope": "Family member", "/versions/10/tables/0/rows/7/scope": "Family member", "/versions/10/tables/0/rows/8/scope": "Family member", "/versions/10/tables/0/rows/9/scope": "Family member", "/versions/10/tables/0/rows/10/scope": "Family member", "/versions/10/tables/0/rows/11/scope": "Family member", "/versions/10/tables/0/rows/12/scope": "Family member", "/versions/10/tables/0/rows/13/scope": "Family member", "/versions/10/tables/0/rows/14/scope": "Family member", "/versions/10/tables/0/rows/15/scope": "Family member", "/versions/10/tables/0/rows/16/scope": "Family member", "/versions/10/tables/0/rows/17/scope": "Family member", "/versions/10/tables/0/rows/18/scope": "Family member", "/versions/10/tables/0/rows/19/scope": "Family member", "/versions/10/tables/0/rows/20/scope": "Family member", "/versions/10/tables/0/rows/21/scope": "Family member", "/versions/10/tables/0/rows/22/scope": "Family member", "/versions/10/tables/0/rows/23/scope": "Family member", "/versions/10/tables/0/rows/24/scope": "Family member", "/versions/10/tables/0/rows/25/scope": "Family member", "/versions/10/tables/0/rows/26/scope": "Family member", "/versions/10/tables/0/rows/27/scope": "Family member", "/versions/10/tables/0/rows/28/scope": "Family member", "/versions/10/tables/0/rows/29/scope": "Family member", "/versions/10/tables/0/rows/30/scope": "Class input pair", "/versions/10/tables/0/rows/31/scope": "Class input pair", "/versions/10/tables/0/rows/32/scope": "Class input pair", "/versions/10/tables/0/rows/33/scope": "Class input pair", "/versions/10/tables/0/rows/34/scope": "Class input pair", "/versions/10/tables/0/rows/35/scope": "Family member", "/versions/10/tables/0/rows/36/scope": "Family member", "/versions/10/tables/0/rows/37/scope": "Family member", "/versions/10/tables/0/rows/38/scope": "Family member", "/versions/10/tables/0/rows/39/scope": "Family member", "/versions/10/tables/0/rows/40/scope": "Family member", "/versions/10/tables/0/rows/41/scope": "Family member", "/versions/10/tables/0/rows/42/scope": "Family member", "/versions/10/tables/0/rows/43/scope": "Family member", "/versions/10/tables/0/rows/44/scope": "Family member", "/versions/10/sections/0/paragraphs/0": "An index definition can specify an operator class for each column of an index.", "/versions/10/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/10/sections/0/paragraphs/2": "There are also some built-in operator classes besides the default ones:", "/versions/10/tables/0/rows/0/purpose": "search", "/versions/10/tables/0/rows/1/purpose": "search", "/versions/10/tables/0/rows/2/purpose": "search", "/versions/10/tables/0/rows/3/purpose": "search", "/versions/10/tables/0/rows/4/purpose": "search", "/versions/10/tables/0/rows/5/purpose": "search", "/versions/10/tables/0/rows/6/purpose": "search", "/versions/10/tables/0/rows/7/purpose": "search", "/versions/10/tables/0/rows/8/purpose": "search", "/versions/10/tables/0/rows/9/purpose": "search", "/versions/10/tables/2/rows/0/default": "yes", "/versions/10/tables/2/rows/1/default": "yes", "/versions/10/tables/2/rows/2/default": "yes", "/versions/10/tables/0/columns/0/label": "Operator overload", "/versions/10/tables/0/columns/1/label": "Strategy", "/versions/10/tables/0/columns/2/label": "Purpose", "/versions/10/tables/0/columns/3/label": "Ordering family", "/versions/10/tables/0/columns/4/label": "Membership scope", "/versions/10/tables/0/columns/5/label": "Source description", "/versions/10/tables/0/rows/10/purpose": "search", "/versions/10/tables/0/rows/11/purpose": "search", "/versions/10/tables/0/rows/12/purpose": "search", "/versions/10/tables/0/rows/13/purpose": "search", "/versions/10/tables/0/rows/14/purpose": "search", "/versions/10/tables/0/rows/15/purpose": "search", "/versions/10/tables/0/rows/16/purpose": "search", "/versions/10/tables/0/rows/17/purpose": "search", "/versions/10/tables/0/rows/18/purpose": "search", "/versions/10/tables/0/rows/19/purpose": "search", "/versions/10/tables/0/rows/20/purpose": "search", "/versions/10/tables/0/rows/21/purpose": "search", "/versions/10/tables/0/rows/22/purpose": "search", "/versions/10/tables/0/rows/23/purpose": "search", "/versions/10/tables/0/rows/24/purpose": "search", "/versions/10/tables/0/rows/25/purpose": "search", "/versions/10/tables/0/rows/26/purpose": "search", "/versions/10/tables/0/rows/27/purpose": "search", "/versions/10/tables/0/rows/28/purpose": "search", "/versions/10/tables/0/rows/29/purpose": "search", "/versions/10/tables/0/rows/30/purpose": "search", "/versions/10/tables/0/rows/31/purpose": "search", "/versions/10/tables/0/rows/32/purpose": "search", "/versions/10/tables/0/rows/33/purpose": "search", "/versions/10/tables/0/rows/34/purpose": "search", "/versions/10/tables/0/rows/35/purpose": "search", "/versions/10/tables/0/rows/36/purpose": "search", "/versions/10/tables/0/rows/37/purpose": "search", "/versions/10/tables/0/rows/38/purpose": "search", "/versions/10/tables/0/rows/39/purpose": "search", "/versions/10/tables/0/rows/40/purpose": "search", "/versions/10/tables/0/rows/41/purpose": "search", "/versions/10/tables/0/rows/42/purpose": "search", "/versions/10/tables/0/rows/43/purpose": "search", "/versions/10/tables/0/rows/44/purpose": "search", "/versions/10/tables/1/columns/0/label": "Support number", "/versions/10/tables/1/columns/1/label": "Left type", "/versions/10/tables/1/columns/2/label": "Right type", "/versions/10/tables/1/columns/3/label": "Function signature", "/versions/10/tables/1/columns/4/label": "Result type", "/versions/10/tables/2/columns/0/label": "Class", "/versions/10/tables/2/columns/1/label": "Input type", "/versions/10/tables/2/columns/2/label": "Key type", "/versions/10/tables/2/columns/3/label": "Default", "/versions/10/tables/2/rows/0/key_type": "Same as input type", "/versions/10/tables/2/rows/1/key_type": "Same as input type", "/versions/10/tables/2/rows/2/key_type": "Same as input type", "/versions/10/tables/0/rows/0/description": "less than", "/versions/10/tables/0/rows/1/description": "less than or equal", "/versions/10/tables/0/rows/2/description": "equal", "/versions/10/tables/0/rows/3/description": "greater than or equal", "/versions/10/tables/0/rows/4/description": "greater than", "/versions/10/tables/0/rows/5/description": "less than", "/versions/10/tables/0/rows/6/description": "less than or equal", "/versions/10/tables/0/rows/7/description": "equal", "/versions/10/tables/0/rows/8/description": "greater than or equal", "/versions/10/tables/0/rows/9/description": "greater than", "/versions/10/tables/0/rows/10/description": "less than", "/versions/10/tables/0/rows/11/description": "less than or equal", "/versions/10/tables/0/rows/12/description": "equal", "/versions/10/tables/0/rows/13/description": "greater than or equal", "/versions/10/tables/0/rows/14/description": "greater than", "/versions/10/tables/0/rows/15/description": "less than", "/versions/10/tables/0/rows/16/description": "less than or equal", "/versions/10/tables/0/rows/17/description": "equal", "/versions/10/tables/0/rows/18/description": "greater than or equal", "/versions/10/tables/0/rows/19/description": "greater than", "/versions/10/tables/0/rows/20/description": "less than", "/versions/10/tables/0/rows/21/description": "less than or equal", "/versions/10/tables/0/rows/22/description": "equal", "/versions/10/tables/0/rows/23/description": "greater than or equal", "/versions/10/tables/0/rows/24/description": "greater than", "/versions/10/tables/0/rows/25/description": "less than", "/versions/10/tables/0/rows/26/description": "less than or equal", "/versions/10/tables/0/rows/27/description": "equal", "/versions/10/tables/0/rows/28/description": "greater than or equal", "/versions/10/tables/0/rows/29/description": "greater than", "/versions/10/tables/0/rows/30/description": "less than", "/versions/10/tables/0/rows/31/description": "less than or equal", "/versions/10/tables/0/rows/32/description": "equal", "/versions/10/tables/0/rows/33/description": "greater than or equal", "/versions/10/tables/0/rows/34/description": "greater than", "/versions/10/tables/0/rows/35/description": "less than", "/versions/10/tables/0/rows/36/description": "less than or equal", "/versions/10/tables/0/rows/37/description": "equal", "/versions/10/tables/0/rows/38/description": "greater than or equal", "/versions/10/tables/0/rows/39/description": "greater than", "/versions/10/tables/0/rows/40/description": "less than", "/versions/10/tables/0/rows/41/description": "less than or equal", "/versions/10/tables/0/rows/42/description": "equal", "/versions/10/tables/0/rows/43/description": "greater than or equal", "/versions/10/tables/0/rows/44/description": "greater than"}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "dc7b5825ef0a66fae10c4cf08e62dc46ee27d74b2a78d612167549f3555ab9c5", "canonical_center_text_hash": "1cf377b8952ec0ad3d22df26a470ea321ae9773776a3a8eaff12b21581d03a3d"}, "description_zh": "timestamptz_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002", "comparison_data": {"kind": "class", "classes": [{"name": "date_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "date"}, {"name": "timestamp_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamp"}, {"name": "timestamptz_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamptz"}], "operators": [{"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,date)", "strategy": "1", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,date)", "strategy": "2", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,date)", "strategy": "3", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,date)", "strategy": "4", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,date)", "strategy": "5", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamp)", "strategy": "1", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamp)", "strategy": "2", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamp)", "strategy": "3", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamp)", "strategy": "4", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamp)", "strategy": "5", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamptz)", "strategy": "1", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamptz)", "strategy": "2", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamptz)", "strategy": "3", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamptz)", "strategy": "4", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamptz)", "strategy": "5", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,date)", "strategy": "1", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,date)", "strategy": "2", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,date)", "strategy": "3", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,date)", "strategy": "4", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,date)", "strategy": "5", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamp)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamp)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamp)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamp)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamp)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamptz)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamptz)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamptz)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamptz)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamptz)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,date)", "strategy": "1", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,date)", "strategy": "2", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,date)", "strategy": "3", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,date)", "strategy": "4", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,date)", "strategy": "5", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamp)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamp)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamp)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamp)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamp)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamptz)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamptz)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamptz)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamptz)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamptz)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}], "attributes": {"name": "timestamptz_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamptz"}, "support_functions": [{"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp(date,date)", "left_type": "date", "right_type": "date", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": "date", "right_type": "timestamp", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": "date", "right_type": "timestamptz", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": "timestamp", "right_type": "date", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": "timestamp", "right_type": "timestamp", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": "timestamp", "right_type": "timestamptz", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": "timestamptz", "right_type": "date", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": "timestamptz", "right_type": "timestamp", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": "timestamptz", "right_type": "timestamptz", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "date_sortsupport(internal)", "left_type": "date", "right_type": "date", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamp", "right_type": "timestamp", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamptz", "right_type": "timestamptz", "result_type": "void"}]}, "comparison_hash": "d13a83c819074757215bc941e9cdb62d5556e1ef5dcf815085e29b64f347c8f5", "manual_language": "zh", "support_functions": [{"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp(date,date)", "left_type": "date", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "date_sortsupport(internal)", "left_type": "date", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": "date", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": "date", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": "timestamp", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamp", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": "timestamp", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": "timestamp", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": "timestamptz", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamptz", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": "timestamptz", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": "timestamptz", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}], "description_zh_html": "<p>timestamptz_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002</p><dl><dt>\u540d\u79f0</dt><dd><code>timestamptz_ops</code></dd><dt>\u8fd0\u7b97\u7b26\u65cf</dt><dd><code>datetime_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>timestamptz</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;(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</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>date_cmp(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>date_sortsupport(internal)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>void</code></td></tr><tr><td><code>1</code></td><td><code>date_cmp_timestamp(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>date_cmp_timestamptz(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>timestamp_sortsupport(internal)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>void</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp_date(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp_timestamptz(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>timestamp_sortsupport(internal)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>void</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp_date(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp_timestamp(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr></tbody></table><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u8282\u9009</h3><p>\u7d22\u5f15\u5b9a\u4e49\u53ef\u4ee5\u4e3a\u7d22\u5f15\u7684\u6bcf\u4e00\u5217\u6307\u5b9a\u4e00\u4e2a<em>\u64cd\u4f5c\u7b26\u7c7b</em>\u3002</p><p>\u64cd\u4f5c\u7b26\u7c7b\u786e\u5b9a\u7d22\u5f15\u9488\u5bf9\u8be5\u5217\u4f7f\u7528\u54ea\u4e9b\u64cd\u4f5c\u7b26\u3002\u4f8b\u5982\uff0c\u5efa\u7acb\u5728\u7c7b\u578b <code>int4</code> \u4e0a\u7684 B-\u6811\u7d22\u5f15\u4f1a\u4f7f\u7528 <code>int4_ops</code> \u7c7b\uff1b\u8be5\u64cd\u4f5c\u7b26\u7c7b\u5305\u542b\u9488\u5bf9\u4ee5\u4e0b\u7c7b\u578b\u7684\u503c\u7684\u6bd4\u8f83\u51fd\u6570\uff1a<code>int4</code>\u3002\u5b9e\u9645\u4e2d\uff0c\u5217\u6570\u636e\u7c7b\u578b\u7684\u9ed8\u8ba4\u64cd\u4f5c\u7b26\u7c7b\u901a\u5e38\u5c31\u8db3\u591f\u4e86\u3002\u4e4b\u6240\u4ee5\u9700\u8981\u64cd\u4f5c\u7b26\u7c7b\uff0c\u4e3b\u8981\u662f\u56e0\u4e3a\u5bf9\u4e8e\u67d0\u4e9b\u6570\u636e\u7c7b\u578b\uff0c\u53ef\u80fd\u5b58\u5728\u4e0d\u6b62\u4e00\u79cd\u6709\u610f\u4e49\u7684\u7d22\u5f15\u884c\u4e3a\u3002\u4f8b\u5982\uff0c\u53ef\u80fd\u5e0c\u671b\u6309\u7edd\u5bf9\u503c\u6216\u5b9e\u90e8\u5bf9\u590d\u6570\u6570\u636e\u7c7b\u578b\u6392\u5e8f\u3002\u53ef\u4ee5\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\u7c7b\u3002\u64cd\u4f5c\u7b26\u7c7b\u51b3\u5b9a\u57fa\u672c\u6392\u5e8f\u987a\u5e8f\uff08\u968f\u540e\u53ef\u4ee5\u901a\u8fc7\u6dfb\u52a0\u6392\u5e8f\u9009\u9879\u8fdb\u884c\u8c03\u6574\uff1a<code>COLLATE</code>\uff0c<code>ASC</code>/<code>DESC</code> \u548c/\u6216 <code>NULLS FIRST</code>/<code>NULLS LAST</code>\uff09\u3002\n  </p><p>   \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>    \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/10/indexes-opclass.html\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "11": {"class": {"name": "timestamptz_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamptz"}, "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": "timestamptz"}, {"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": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-date/?v=11", "text": "<(date,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-date/?v=11", "text": "<=(date,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-date/?v=11", "text": "=(date,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-date/?v=11", "text": ">=(date,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-date/?v=11", "text": ">(date,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-timestamp/?v=11", "text": "<(date,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamp/?v=11", "text": "<=(date,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-timestamp/?v=11", "text": "=(date,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamp/?v=11", "text": ">=(date,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-timestamp/?v=11", "text": ">(date,timestamp)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-timestamptz/?v=11", "text": "<(date,timestamptz)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamptz/?v=11", "text": "<=(date,timestamptz)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-timestamptz/?v=11", "text": "=(date,timestamptz)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamptz/?v=11", "text": ">=(date,timestamptz)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-timestamptz/?v=11", "text": ">(date,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamp/?v=11", "text": "<(timestamp,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamp/?v=11", "text": "<=(timestamp,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamp/?v=11", "text": "=(timestamp,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamp/?v=11", "text": ">=(timestamp,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamp/?v=11", "text": ">(timestamp,timestamp)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-date/?v=11", "text": "<(timestamp,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-date/?v=11", "text": "<=(timestamp,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-date/?v=11", "text": "=(timestamp,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-date/?v=11", "text": ">=(timestamp,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-date/?v=11", "text": ">(timestamp,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamptz/?v=11", "text": "<(timestamp,timestamptz)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamptz/?v=11", "text": "<=(timestamp,timestamptz)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamptz/?v=11", "text": "=(timestamp,timestamptz)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamptz/?v=11", "text": ">=(timestamp,timestamptz)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamptz/?v=11", "text": ">(timestamp,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamptz/?v=11", "text": "<(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=11", "text": "<=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=11", "text": "=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=11", "text": ">=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=11", "text": ">(timestamptz,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-date/?v=11", "text": "<(timestamptz,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-date/?v=11", "text": "<=(timestamptz,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamptz-date/?v=11", "text": "=(timestamptz,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-date/?v=11", "text": ">=(timestamptz,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamptz-date/?v=11", "text": ">(timestamptz,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamp/?v=11", "text": "<(timestamptz,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-timestamp/?v=11", "text": "<=(timestamptz,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamptz-timestamp/?v=11", "text": "=(timestamptz,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-timestamp/?v=11", "text": ">=(timestamptz,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamptz-timestamp/?v=11", "text": ">(timestamptz,timestamp)"}, "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": "date_cmp(date,date)", "left_type": {"url": "/wiki/type/date/?v=11", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=11", "text": "date"}, "result_type": "int4"}, {"number": "2", "function": "date_sortsupport(internal)", "left_type": {"url": "/wiki/type/date/?v=11", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=11", "text": "date"}, "result_type": "void"}, {"number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": {"url": "/wiki/type/date/?v=11", "text": "date"}, "right_type": {"url": "/wiki/type/timestamp/?v=11", "text": "timestamp"}, "result_type": "int4"}, {"number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": {"url": "/wiki/type/date/?v=11", "text": "date"}, "right_type": {"url": "/wiki/type/timestamptz/?v=11", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": {"url": "/wiki/type/timestamp/?v=11", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=11", "text": "timestamp"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamp/?v=11", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=11", "text": "timestamp"}, "result_type": "void"}, {"number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": {"url": "/wiki/type/timestamp/?v=11", "text": "timestamp"}, "right_type": {"url": "/wiki/type/date/?v=11", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": {"url": "/wiki/type/timestamp/?v=11", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamptz/?v=11", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": {"url": "/wiki/type/timestamptz/?v=11", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=11", "text": "timestamptz"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamptz/?v=11", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=11", "text": "timestamptz"}, "result_type": "void"}, {"number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": {"url": "/wiki/type/timestamptz/?v=11", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/date/?v=11", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": {"url": "/wiki/type/timestamptz/?v=11", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamp/?v=11", "text": "timestamp"}, "result_type": "int4"}, {"number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": {"url": "/wiki/type/date/?v=11", "text": "date"}, "right_type": {"url": "/wiki/type/interval/?v=11", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamp/?v=11", "text": "timestamp"}, "right_type": {"url": "/wiki/type/interval/?v=11", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamptz/?v=11", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/interval/?v=11", "text": "interval"}, "result_type": "bool"}], "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-date_ops/?v=11", "text": "date_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/date/?v=11", "text": "date"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamptz_ops/?v=11", "text": "timestamptz_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamptz/?v=11", "text": "timestamptz"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamp_ops/?v=11", "text": "timestamp_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamp/?v=11", "text": "timestamp"}}], "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": ["timestamptz_ops", "btree/timestamptz_ops"], "classes": [{"name": "date_ops", "slug": "class-btree-date_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "date", "source_oid": "3122", "family_slug": "family-btree-datetime_ops"}, {"name": "timestamptz_ops", "slug": "class-btree-timestamptz_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamptz", "source_oid": "3127", "family_slug": "family-btree-datetime_ops"}, {"name": "timestamp_ops", "slug": "class-btree-timestamp_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamp", "source_oid": "3128", "family_slug": "family-btree-datetime_ops"}], "related": [{"url": "/wiki/indexam/btree/?v=11", "label": "B-tree \u7d22\u5f15\u8bbf\u95ee\u65b9\u6cd5"}, {"url": "/wiki/opclass/family-btree-datetime_ops/?v=11", "label": "datetime_ops \u5bb6\u65cf"}, {"url": "/wiki/type/timestamptz/?v=11", "label": "timestamptz \u6570\u636e\u7c7b\u578b"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v11.22/postgresql-11.22.tar.bz2", "label": "11.22", "major": "11", "channel": "historical", "revision": "2cb7c97d7a0d7278851bbc9c61f467b69c094c72b81740b751108e7892ebe1f0", "source_sha256": "2cb7c97d7a0d7278851bbc9c61f467b69c094c72b81740b751108e7892ebe1f0", "manual_fingerprint": "99c9e45d34555f000789cb4e019492e838041c1f2f31d840f3051ff9d7ed9118", "catalog_fingerprint": "4f08eb8c7ac7d09abfbb29a172148a44b8fb72026616bb55a5f8f84db7a38785"}, "sources": [{"url": "https://ftp.postgresql.org/pub/source/v11.22/postgresql-11.22.tar.bz2", "label": "Matching PostgreSQL source archive", "sha256": "2cb7c97d7a0d7278851bbc9c61f467b69c094c72b81740b751108e7892ebe1f0"}, {"url": "/docs/11/indexes-opclass.html", "path": "indexes-opclass.html", "label": "PostgreSQL 11 English manual: indexes-opclass.html", "sha256": "234c67ab5a33096697e1851c197c79ba0e872686c7909c2696716a102253c7bd"}, {"url": "/docs/11/catalog-pg-opclass.html", "path": "catalog-pg-opclass.html", "label": "PostgreSQL 11 English manual: catalog-pg-opclass.html", "sha256": "e91b7d053b9aaf4afd969cd28ae512814047da83d507533d29b1694d1b334296"}, {"url": "/docs/11/catalog-pg-amop.html", "path": "catalog-pg-amop.html", "label": "PostgreSQL 11 English manual: catalog-pg-amop.html", "sha256": "c17d050a6f2d093de2c343242bcc4d446b936de1d2902727d3fa3b0697b44fd3"}, {"url": "/docs/11/catalog-pg-amproc.html", "path": "catalog-pg-amproc.html", "label": "PostgreSQL 11 English manual: catalog-pg-amproc.html", "sha256": "819e66cb86af033d3328a3602c65c861e9f2d2c519d1f42f37fdd7766e1fc31f"}], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-structured-summary", "manual": {"url": "/zh/docs/11/indexes-opclass.html", "anchor": "", "locale": "zh-Hans", "version": "11", "build_id": 64, "page_key": "indexes-opclass.html", "extraction": "concept-introduction", "source_hash": "1ad83a0beef158ff8346b350cd1b5de15598c9aff4156aa860271165fdf5fe51", "fragment_sha256": "dad5545190ebde655fce48dfc13cd02d2863166fac7cf0c2b28b059c9e419ae4", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "snapshot:sha256:ef5c7bc074acae9795db16e6b7482aea3b222bd4bcce0f76831332b97a21e8a1", "translated_from_revision": null}, "body_sha256": "6687514d84c390f43571d93735c77e1061cac3c6b4692945352d678e1ef7c333", "runtime_rerun": false, "authored_translation": "source-derived-structured-summary", "source_facts_revision": "2cb7c97d7a0d7278851bbc9c61f467b69c094c72b81740b751108e7892ebe1f0"}, "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": "timestamptz"}, {"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/timestamptz_ops (class)", "locale": "zh-Hans", "source": {"key": "class-btree-timestamptz_ops", "locale": "zh-Hans", "version": "11", "text_hash": "5d71a134b12a37c68c40b78007461611b31e0f3c6fd0fb12c65cfb65d299da36", "collection": "opclass", "dataset_hash": "7c31b524dfe136022d39a6ae8dcfac6b3bbd5f8fdaf422536599981252aff0c9", "source_database": "center", "source_revision": "2cb7c97d7a0d7278851bbc9c61f467b69c094c72b81740b751108e7892ebe1f0"}, "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": "timestamptz"}, {"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": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-date/?v=11", "text": "<(date,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-date/?v=11", "text": "<=(date,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-date/?v=11", "text": "=(date,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-date/?v=11", "text": ">=(date,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-date/?v=11", "text": ">(date,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-timestamp/?v=11", "text": "<(date,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamp/?v=11", "text": "<=(date,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-timestamp/?v=11", "text": "=(date,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamp/?v=11", "text": ">=(date,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-timestamp/?v=11", "text": ">(date,timestamp)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-timestamptz/?v=11", "text": "<(date,timestamptz)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamptz/?v=11", "text": "<=(date,timestamptz)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-timestamptz/?v=11", "text": "=(date,timestamptz)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamptz/?v=11", "text": ">=(date,timestamptz)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-timestamptz/?v=11", "text": ">(date,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamp/?v=11", "text": "<(timestamp,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamp/?v=11", "text": "<=(timestamp,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamp/?v=11", "text": "=(timestamp,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamp/?v=11", "text": ">=(timestamp,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamp/?v=11", "text": ">(timestamp,timestamp)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-date/?v=11", "text": "<(timestamp,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-date/?v=11", "text": "<=(timestamp,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-date/?v=11", "text": "=(timestamp,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-date/?v=11", "text": ">=(timestamp,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-date/?v=11", "text": ">(timestamp,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamptz/?v=11", "text": "<(timestamp,timestamptz)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamptz/?v=11", "text": "<=(timestamp,timestamptz)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamptz/?v=11", "text": "=(timestamp,timestamptz)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamptz/?v=11", "text": ">=(timestamp,timestamptz)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamptz/?v=11", "text": ">(timestamp,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamptz/?v=11", "text": "<(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=11", "text": "<=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=11", "text": "=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=11", "text": ">=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=11", "text": ">(timestamptz,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-date/?v=11", "text": "<(timestamptz,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-date/?v=11", "text": "<=(timestamptz,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamptz-date/?v=11", "text": "=(timestamptz,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-date/?v=11", "text": ">=(timestamptz,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamptz-date/?v=11", "text": ">(timestamptz,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamp/?v=11", "text": "<(timestamptz,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-timestamp/?v=11", "text": "<=(timestamptz,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamptz-timestamp/?v=11", "text": "=(timestamptz,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-timestamp/?v=11", "text": ">=(timestamptz,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamptz-timestamp/?v=11", "text": ">(timestamptz,timestamp)"}, "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": "date_cmp(date,date)", "left_type": {"url": "/wiki/type/date/?v=11", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=11", "text": "date"}, "result_type": "int4"}, {"number": "2", "function": "date_sortsupport(internal)", "left_type": {"url": "/wiki/type/date/?v=11", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=11", "text": "date"}, "result_type": "void"}, {"number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": {"url": "/wiki/type/date/?v=11", "text": "date"}, "right_type": {"url": "/wiki/type/timestamp/?v=11", "text": "timestamp"}, "result_type": "int4"}, {"number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": {"url": "/wiki/type/date/?v=11", "text": "date"}, "right_type": {"url": "/wiki/type/timestamptz/?v=11", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": {"url": "/wiki/type/timestamp/?v=11", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=11", "text": "timestamp"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamp/?v=11", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=11", "text": "timestamp"}, "result_type": "void"}, {"number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": {"url": "/wiki/type/timestamp/?v=11", "text": "timestamp"}, "right_type": {"url": "/wiki/type/date/?v=11", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": {"url": "/wiki/type/timestamp/?v=11", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamptz/?v=11", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": {"url": "/wiki/type/timestamptz/?v=11", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=11", "text": "timestamptz"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamptz/?v=11", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=11", "text": "timestamptz"}, "result_type": "void"}, {"number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": {"url": "/wiki/type/timestamptz/?v=11", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/date/?v=11", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": {"url": "/wiki/type/timestamptz/?v=11", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamp/?v=11", "text": "timestamp"}, "result_type": "int4"}, {"number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": {"url": "/wiki/type/date/?v=11", "text": "date"}, "right_type": {"url": "/wiki/type/interval/?v=11", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamp/?v=11", "text": "timestamp"}, "right_type": {"url": "/wiki/type/interval/?v=11", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamptz/?v=11", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/interval/?v=11", "text": "interval"}, "result_type": "bool"}], "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-date_ops/?v=11", "text": "date_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/date/?v=11", "text": "date"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamptz_ops/?v=11", "text": "timestamptz_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamptz/?v=11", "text": "timestamptz"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamp_ops/?v=11", "text": "timestamp_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamp/?v=11", "text": "timestamp"}}], "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/11/indexes-opclass.html", "anchor": "", "locale": "zh-Hans", "version": "11", "build_id": 64, "page_key": "indexes-opclass.html", "extraction": "concept-introduction", "source_hash": "1ad83a0beef158ff8346b350cd1b5de15598c9aff4156aa860271165fdf5fe51", "fragment_sha256": "dad5545190ebde655fce48dfc13cd02d2863166fac7cf0c2b28b059c9e419ae4", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "snapshot:sha256:ef5c7bc074acae9795db16e6b7482aea3b222bd4bcce0f76831332b97a21e8a1", "translated_from_revision": null}, "body_sha256": "6687514d84c390f43571d93735c77e1061cac3c6b4692945352d678e1ef7c333", "runtime_rerun": false, "authored_translation": "source-derived-structured-summary", "source_facts_revision": "2cb7c97d7a0d7278851bbc9c61f467b69c094c72b81740b751108e7892ebe1f0"}, "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": "timestamptz_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002", "description_zh_html": "<p>timestamptz_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002</p><dl><dt>\u540d\u79f0</dt><dd><code>timestamptz_ops</code></dd><dt>\u8fd0\u7b97\u7b26\u65cf</dt><dd><code>datetime_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>timestamptz</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;(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</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>date_cmp(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>date_sortsupport(internal)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>void</code></td></tr><tr><td><code>1</code></td><td><code>date_cmp_timestamp(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>date_cmp_timestamptz(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>timestamp_sortsupport(internal)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>void</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp_date(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp_timestamptz(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>timestamp_sortsupport(internal)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>void</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp_date(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp_timestamp(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>3</code></td><td><code>in_range(date,date,interval,bool,bool)</code></td><td><code>date</code></td><td><code>interval</code></td><td><code>bool</code></td></tr><tr><td><code>3</code></td><td><code>in_range(timestamp,timestamp,interval,bool,bool)</code></td><td><code>timestamp</code></td><td><code>interval</code></td><td><code>bool</code></td></tr><tr><td><code>3</code></td><td><code>in_range(timestamptz,timestamptz,interval,bool,bool)</code></td><td><code>timestamptz</code></td><td><code>interval</code></td><td><code>bool</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/11/indexes-opclass.html\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "summary": "timestamptz_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002", "version": "11", "link_map": {"/zh/docs/11/indexes-opclass.html": "/docs/11/indexes-opclass.html"}, "body_html": "<p>timestamptz_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002</p><dl><dt>\u540d\u79f0</dt><dd><code>timestamptz_ops</code></dd><dt>\u8fd0\u7b97\u7b26\u65cf</dt><dd><code>datetime_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>timestamptz</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;(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</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>date_cmp(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>date_sortsupport(internal)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>void</code></td></tr><tr><td><code>1</code></td><td><code>date_cmp_timestamp(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>date_cmp_timestamptz(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>timestamp_sortsupport(internal)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>void</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp_date(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp_timestamptz(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>timestamp_sortsupport(internal)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>void</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp_date(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp_timestamp(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>3</code></td><td><code>in_range(date,date,interval,bool,bool)</code></td><td><code>date</code></td><td><code>interval</code></td><td><code>bool</code></td></tr><tr><td><code>3</code></td><td><code>in_range(timestamp,timestamp,interval,bool,bool)</code></td><td><code>timestamp</code></td><td><code>interval</code></td><td><code>bool</code></td></tr><tr><td><code>3</code></td><td><code>in_range(timestamptz,timestamptz,interval,bool,bool)</code></td><td><code>timestamptz</code></td><td><code>interval</code></td><td><code>bool</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/11/indexes-opclass.html\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>", "body_sha256": "3861a3e81f396c8937da47062558ad4d33d4d479a142158a662bd6db27bdfff8", "content_hash": "5d71a134b12a37c68c40b78007461611b31e0f3c6fd0fb12c65cfb65d299da36", "source_database": "center", "source_revision": "2cb7c97d7a0d7278851bbc9c61f467b69c094c72b81740b751108e7892ebe1f0"}, "operators": [{"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,date)", "strategy": "1", "left_type": "date", "right_type": "date", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,date)", "strategy": "2", "left_type": "date", "right_type": "date", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,date)", "strategy": "3", "left_type": "date", "right_type": "date", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,date)", "strategy": "4", "left_type": "date", "right_type": "date", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,date)", "strategy": "5", "left_type": "date", "right_type": "date", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamp)", "strategy": "1", "left_type": "date", "right_type": "timestamp", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamp)", "strategy": "2", "left_type": "date", "right_type": "timestamp", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamp)", "strategy": "3", "left_type": "date", "right_type": "timestamp", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamp)", "strategy": "4", "left_type": "date", "right_type": "timestamp", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamp)", "strategy": "5", "left_type": "date", "right_type": "timestamp", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamptz)", "strategy": "1", "left_type": "date", "right_type": "timestamptz", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamptz)", "strategy": "2", "left_type": "date", "right_type": "timestamptz", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamptz)", "strategy": "3", "left_type": "date", "right_type": "timestamptz", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamptz)", "strategy": "4", "left_type": "date", "right_type": "timestamptz", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamptz)", "strategy": "5", "left_type": "date", "right_type": "timestamptz", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamp)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamp", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamp)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamp", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamp)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamp", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamp)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamp", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamp)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamp", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,date)", "strategy": "1", "left_type": "timestamp", "right_type": "date", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,date)", "strategy": "2", "left_type": "timestamp", "right_type": "date", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,date)", "strategy": "3", "left_type": "timestamp", "right_type": "date", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,date)", "strategy": "4", "left_type": "timestamp", "right_type": "date", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,date)", "strategy": "5", "left_type": "timestamp", "right_type": "date", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamptz)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamptz", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamptz)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamptz", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamptz)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamptz", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamptz)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamptz", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamptz)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamptz", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamptz)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamptz", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamptz)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamptz", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamptz)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamptz", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamptz)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamptz", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamptz)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamptz", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,date)", "strategy": "1", "left_type": "timestamptz", "right_type": "date", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,date)", "strategy": "2", "left_type": "timestamptz", "right_type": "date", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,date)", "strategy": "3", "left_type": "timestamptz", "right_type": "date", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,date)", "strategy": "4", "left_type": "timestamptz", "right_type": "date", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,date)", "strategy": "5", "left_type": "timestamptz", "right_type": "date", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamp)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamp", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamp)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamp", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamp)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamp", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamp)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamp", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamp)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamp", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamptz-timestamp", "sort_family_slug": ""}], "signature": "btree/timestamptz_ops", "tables_zh": [{"key": "operators", "rows": [{"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-date/?v=11", "text": "<(date,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-date/?v=11", "text": "<=(date,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-date/?v=11", "text": "=(date,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-date/?v=11", "text": ">=(date,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-date/?v=11", "text": ">(date,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-timestamp/?v=11", "text": "<(date,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamp/?v=11", "text": "<=(date,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-timestamp/?v=11", "text": "=(date,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamp/?v=11", "text": ">=(date,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-timestamp/?v=11", "text": ">(date,timestamp)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-timestamptz/?v=11", "text": "<(date,timestamptz)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamptz/?v=11", "text": "<=(date,timestamptz)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-timestamptz/?v=11", "text": "=(date,timestamptz)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamptz/?v=11", "text": ">=(date,timestamptz)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-timestamptz/?v=11", "text": ">(date,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamp/?v=11", "text": "<(timestamp,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamp/?v=11", "text": "<=(timestamp,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamp/?v=11", "text": "=(timestamp,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamp/?v=11", "text": ">=(timestamp,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamp/?v=11", "text": ">(timestamp,timestamp)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-date/?v=11", "text": "<(timestamp,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-date/?v=11", "text": "<=(timestamp,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-date/?v=11", "text": "=(timestamp,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-date/?v=11", "text": ">=(timestamp,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-date/?v=11", "text": ">(timestamp,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamptz/?v=11", "text": "<(timestamp,timestamptz)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamptz/?v=11", "text": "<=(timestamp,timestamptz)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamptz/?v=11", "text": "=(timestamp,timestamptz)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamptz/?v=11", "text": ">=(timestamp,timestamptz)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamptz/?v=11", "text": ">(timestamp,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamptz/?v=11", "text": "<(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=11", "text": "<=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=11", "text": "=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=11", "text": ">=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=11", "text": ">(timestamptz,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-date/?v=11", "text": "<(timestamptz,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-date/?v=11", "text": "<=(timestamptz,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamptz-date/?v=11", "text": "=(timestamptz,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-date/?v=11", "text": ">=(timestamptz,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamptz-date/?v=11", "text": ">(timestamptz,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamp/?v=11", "text": "<(timestamptz,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-timestamp/?v=11", "text": "<=(timestamptz,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamptz-timestamp/?v=11", "text": "=(timestamptz,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-timestamp/?v=11", "text": ">=(timestamptz,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamptz-timestamp/?v=11", "text": ">(timestamptz,timestamp)"}, "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": "date_cmp(date,date)", "left_type": {"url": "/wiki/type/date/?v=11", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=11", "text": "date"}, "result_type": "int4"}, {"number": "2", "function": "date_sortsupport(internal)", "left_type": {"url": "/wiki/type/date/?v=11", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=11", "text": "date"}, "result_type": "void"}, {"number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": {"url": "/wiki/type/date/?v=11", "text": "date"}, "right_type": {"url": "/wiki/type/timestamp/?v=11", "text": "timestamp"}, "result_type": "int4"}, {"number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": {"url": "/wiki/type/date/?v=11", "text": "date"}, "right_type": {"url": "/wiki/type/timestamptz/?v=11", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": {"url": "/wiki/type/timestamp/?v=11", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=11", "text": "timestamp"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamp/?v=11", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=11", "text": "timestamp"}, "result_type": "void"}, {"number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": {"url": "/wiki/type/timestamp/?v=11", "text": "timestamp"}, "right_type": {"url": "/wiki/type/date/?v=11", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": {"url": "/wiki/type/timestamp/?v=11", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamptz/?v=11", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": {"url": "/wiki/type/timestamptz/?v=11", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=11", "text": "timestamptz"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamptz/?v=11", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=11", "text": "timestamptz"}, "result_type": "void"}, {"number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": {"url": "/wiki/type/timestamptz/?v=11", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/date/?v=11", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": {"url": "/wiki/type/timestamptz/?v=11", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamp/?v=11", "text": "timestamp"}, "result_type": "int4"}, {"number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": {"url": "/wiki/type/date/?v=11", "text": "date"}, "right_type": {"url": "/wiki/type/interval/?v=11", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamp/?v=11", "text": "timestamp"}, "right_type": {"url": "/wiki/type/interval/?v=11", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamptz/?v=11", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/interval/?v=11", "text": "interval"}, "result_type": "bool"}], "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-date_ops/?v=11", "text": "date_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/date/?v=11", "text": "date"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamptz_ops/?v=11", "text": "timestamptz_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamptz/?v=11", "text": "timestamptz"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamp_ops/?v=11", "text": "timestamp_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamp/?v=11", "text": "timestamp"}}], "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": "3127", "description": ["timestamptz_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/11/catalog-pg-amop.html", "method": "same-major semantic node", "sha256": "d4e01ba05c1f00188e2353ef6816dbe175140ae359defc71e20f92fb0e69299a", "language": "zh", "matched_nodes": ["#CATALOG-PG-AMOP/p[2]/em[1]"]}, {"url": "/docs/11/indexes-opclass.html", "method": "same-major semantic node", "sha256": "89f6f02b6aadf86b19cfce09618561d39321a355dbce65ca30759d9044f1ac44", "language": "zh", "matched_nodes": ["#INDEXES-OPCLASS/p[3]", "#INDEXES-OPCLASS/p[5]", "#INDEXES-OPCLASS/p[6]"]}], "language": "zh", "original_text": {"/versions/11/description/0": "B-tree operator class for timestamptz; member of datetime_ops.", "/versions/11/facts/0/label": "Object kind", "/versions/11/facts/0/value": "Operator class", "/versions/11/facts/1/label": "Index AM", "/versions/11/facts/2/label": "Input type", "/versions/11/facts/3/label": "Stored key type", "/versions/11/facts/3/value": "Same as input type (catalog zero)", "/versions/11/facts/4/label": "Default class", "/versions/11/facts/4/value": "yes", "/versions/11/tables/0/title": "Family operator strategies", "/versions/11/tables/1/title": "Family support functions", "/versions/11/tables/2/title": "Classes in this family", "/versions/11/related/0/label": "B-tree Index AM", "/versions/11/related/1/label": "datetime_ops family", "/versions/11/related/2/label": "timestamptz data type", "/versions/11/sections/0/title": "Operator classes and families", "/versions/11/tables/0/rows/0/scope": "Family member", "/versions/11/tables/0/rows/1/scope": "Family member", "/versions/11/tables/0/rows/2/scope": "Family member", "/versions/11/tables/0/rows/3/scope": "Family member", "/versions/11/tables/0/rows/4/scope": "Family member", "/versions/11/tables/0/rows/5/scope": "Family member", "/versions/11/tables/0/rows/6/scope": "Family member", "/versions/11/tables/0/rows/7/scope": "Family member", "/versions/11/tables/0/rows/8/scope": "Family member", "/versions/11/tables/0/rows/9/scope": "Family member", "/versions/11/tables/0/rows/10/scope": "Family member", "/versions/11/tables/0/rows/11/scope": "Family member", "/versions/11/tables/0/rows/12/scope": "Family member", "/versions/11/tables/0/rows/13/scope": "Family member", "/versions/11/tables/0/rows/14/scope": "Family member", "/versions/11/tables/0/rows/15/scope": "Family member", "/versions/11/tables/0/rows/16/scope": "Family member", "/versions/11/tables/0/rows/17/scope": "Family member", "/versions/11/tables/0/rows/18/scope": "Family member", "/versions/11/tables/0/rows/19/scope": "Family member", "/versions/11/tables/0/rows/20/scope": "Family member", "/versions/11/tables/0/rows/21/scope": "Family member", "/versions/11/tables/0/rows/22/scope": "Family member", "/versions/11/tables/0/rows/23/scope": "Family member", "/versions/11/tables/0/rows/24/scope": "Family member", "/versions/11/tables/0/rows/25/scope": "Family member", "/versions/11/tables/0/rows/26/scope": "Family member", "/versions/11/tables/0/rows/27/scope": "Family member", "/versions/11/tables/0/rows/28/scope": "Family member", "/versions/11/tables/0/rows/29/scope": "Family member", "/versions/11/tables/0/rows/30/scope": "Class input pair", "/versions/11/tables/0/rows/31/scope": "Class input pair", "/versions/11/tables/0/rows/32/scope": "Class input pair", "/versions/11/tables/0/rows/33/scope": "Class input pair", "/versions/11/tables/0/rows/34/scope": "Class input pair", "/versions/11/tables/0/rows/35/scope": "Family member", "/versions/11/tables/0/rows/36/scope": "Family member", "/versions/11/tables/0/rows/37/scope": "Family member", "/versions/11/tables/0/rows/38/scope": "Family member", "/versions/11/tables/0/rows/39/scope": "Family member", "/versions/11/tables/0/rows/40/scope": "Family member", "/versions/11/tables/0/rows/41/scope": "Family member", "/versions/11/tables/0/rows/42/scope": "Family member", "/versions/11/tables/0/rows/43/scope": "Family member", "/versions/11/tables/0/rows/44/scope": "Family member", "/versions/11/sections/0/paragraphs/0": "An index definition can specify an operator class for each column of an index.", "/versions/11/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/11/sections/0/paragraphs/2": "There are also some built-in operator classes besides the default ones:", "/versions/11/tables/0/rows/0/purpose": "search", "/versions/11/tables/0/rows/1/purpose": "search", "/versions/11/tables/0/rows/2/purpose": "search", "/versions/11/tables/0/rows/3/purpose": "search", "/versions/11/tables/0/rows/4/purpose": "search", "/versions/11/tables/0/rows/5/purpose": "search", "/versions/11/tables/0/rows/6/purpose": "search", "/versions/11/tables/0/rows/7/purpose": "search", "/versions/11/tables/0/rows/8/purpose": "search", "/versions/11/tables/0/rows/9/purpose": "search", "/versions/11/tables/2/rows/0/default": "yes", "/versions/11/tables/2/rows/1/default": "yes", "/versions/11/tables/2/rows/2/default": "yes", "/versions/11/tables/0/columns/0/label": "Operator overload", "/versions/11/tables/0/columns/1/label": "Strategy", "/versions/11/tables/0/columns/2/label": "Purpose", "/versions/11/tables/0/columns/3/label": "Ordering family", "/versions/11/tables/0/columns/4/label": "Membership scope", "/versions/11/tables/0/columns/5/label": "Source description", "/versions/11/tables/0/rows/10/purpose": "search", "/versions/11/tables/0/rows/11/purpose": "search", "/versions/11/tables/0/rows/12/purpose": "search", "/versions/11/tables/0/rows/13/purpose": "search", "/versions/11/tables/0/rows/14/purpose": "search", "/versions/11/tables/0/rows/15/purpose": "search", "/versions/11/tables/0/rows/16/purpose": "search", "/versions/11/tables/0/rows/17/purpose": "search", "/versions/11/tables/0/rows/18/purpose": "search", "/versions/11/tables/0/rows/19/purpose": "search", "/versions/11/tables/0/rows/20/purpose": "search", "/versions/11/tables/0/rows/21/purpose": "search", "/versions/11/tables/0/rows/22/purpose": "search", "/versions/11/tables/0/rows/23/purpose": "search", "/versions/11/tables/0/rows/24/purpose": "search", "/versions/11/tables/0/rows/25/purpose": "search", "/versions/11/tables/0/rows/26/purpose": "search", "/versions/11/tables/0/rows/27/purpose": "search", "/versions/11/tables/0/rows/28/purpose": "search", "/versions/11/tables/0/rows/29/purpose": "search", "/versions/11/tables/0/rows/30/purpose": "search", "/versions/11/tables/0/rows/31/purpose": "search", "/versions/11/tables/0/rows/32/purpose": "search", "/versions/11/tables/0/rows/33/purpose": "search", "/versions/11/tables/0/rows/34/purpose": "search", "/versions/11/tables/0/rows/35/purpose": "search", "/versions/11/tables/0/rows/36/purpose": "search", "/versions/11/tables/0/rows/37/purpose": "search", "/versions/11/tables/0/rows/38/purpose": "search", "/versions/11/tables/0/rows/39/purpose": "search", "/versions/11/tables/0/rows/40/purpose": "search", "/versions/11/tables/0/rows/41/purpose": "search", "/versions/11/tables/0/rows/42/purpose": "search", "/versions/11/tables/0/rows/43/purpose": "search", "/versions/11/tables/0/rows/44/purpose": "search", "/versions/11/tables/1/columns/0/label": "Support number", "/versions/11/tables/1/columns/1/label": "Left type", "/versions/11/tables/1/columns/2/label": "Right type", "/versions/11/tables/1/columns/3/label": "Function signature", "/versions/11/tables/1/columns/4/label": "Result type", "/versions/11/tables/2/columns/0/label": "Class", "/versions/11/tables/2/columns/1/label": "Input type", "/versions/11/tables/2/columns/2/label": "Key type", "/versions/11/tables/2/columns/3/label": "Default", "/versions/11/tables/2/rows/0/key_type": "Same as input type", "/versions/11/tables/2/rows/1/key_type": "Same as input type", "/versions/11/tables/2/rows/2/key_type": "Same as input type", "/versions/11/tables/0/rows/0/description": "less than", "/versions/11/tables/0/rows/1/description": "less than or equal", "/versions/11/tables/0/rows/2/description": "equal", "/versions/11/tables/0/rows/3/description": "greater than or equal", "/versions/11/tables/0/rows/4/description": "greater than", "/versions/11/tables/0/rows/5/description": "less than", "/versions/11/tables/0/rows/6/description": "less than or equal", "/versions/11/tables/0/rows/7/description": "equal", "/versions/11/tables/0/rows/8/description": "greater than or equal", "/versions/11/tables/0/rows/9/description": "greater than", "/versions/11/tables/0/rows/10/description": "less than", "/versions/11/tables/0/rows/11/description": "less than or equal", "/versions/11/tables/0/rows/12/description": "equal", "/versions/11/tables/0/rows/13/description": "greater than or equal", "/versions/11/tables/0/rows/14/description": "greater than", "/versions/11/tables/0/rows/15/description": "less than", "/versions/11/tables/0/rows/16/description": "less than or equal", "/versions/11/tables/0/rows/17/description": "equal", "/versions/11/tables/0/rows/18/description": "greater than or equal", "/versions/11/tables/0/rows/19/description": "greater than", "/versions/11/tables/0/rows/20/description": "less than", "/versions/11/tables/0/rows/21/description": "less than or equal", "/versions/11/tables/0/rows/22/description": "equal", "/versions/11/tables/0/rows/23/description": "greater than or equal", "/versions/11/tables/0/rows/24/description": "greater than", "/versions/11/tables/0/rows/25/description": "less than", "/versions/11/tables/0/rows/26/description": "less than or equal", "/versions/11/tables/0/rows/27/description": "equal", "/versions/11/tables/0/rows/28/description": "greater than or equal", "/versions/11/tables/0/rows/29/description": "greater than", "/versions/11/tables/0/rows/30/description": "less than", "/versions/11/tables/0/rows/31/description": "less than or equal", "/versions/11/tables/0/rows/32/description": "equal", "/versions/11/tables/0/rows/33/description": "greater than or equal", "/versions/11/tables/0/rows/34/description": "greater than", "/versions/11/tables/0/rows/35/description": "less than", "/versions/11/tables/0/rows/36/description": "less than or equal", "/versions/11/tables/0/rows/37/description": "equal", "/versions/11/tables/0/rows/38/description": "greater than or equal", "/versions/11/tables/0/rows/39/description": "greater than", "/versions/11/tables/0/rows/40/description": "less than", "/versions/11/tables/0/rows/41/description": "less than or equal", "/versions/11/tables/0/rows/42/description": "equal", "/versions/11/tables/0/rows/43/description": "greater than or equal", "/versions/11/tables/0/rows/44/description": "greater than"}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "1be6865f9adfb7b0592118ced0d3e912868b33d3d90a84a17cf56dc1511fb941", "canonical_center_text_hash": "5d71a134b12a37c68c40b78007461611b31e0f3c6fd0fb12c65cfb65d299da36"}, "description_zh": "timestamptz_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002", "comparison_data": {"kind": "class", "classes": [{"name": "date_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "date"}, {"name": "timestamp_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamp"}, {"name": "timestamptz_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamptz"}], "operators": [{"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,date)", "strategy": "1", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,date)", "strategy": "2", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,date)", "strategy": "3", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,date)", "strategy": "4", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,date)", "strategy": "5", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamp)", "strategy": "1", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamp)", "strategy": "2", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamp)", "strategy": "3", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamp)", "strategy": "4", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamp)", "strategy": "5", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamptz)", "strategy": "1", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamptz)", "strategy": "2", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamptz)", "strategy": "3", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamptz)", "strategy": "4", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamptz)", "strategy": "5", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,date)", "strategy": "1", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,date)", "strategy": "2", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,date)", "strategy": "3", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,date)", "strategy": "4", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,date)", "strategy": "5", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamp)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamp)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamp)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamp)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamp)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamptz)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamptz)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamptz)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamptz)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamptz)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,date)", "strategy": "1", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,date)", "strategy": "2", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,date)", "strategy": "3", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,date)", "strategy": "4", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,date)", "strategy": "5", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamp)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamp)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamp)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamp)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamp)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamptz)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamptz)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamptz)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamptz)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamptz)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}], "attributes": {"name": "timestamptz_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamptz"}, "support_functions": [{"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp(date,date)", "left_type": "date", "right_type": "date", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": "date", "right_type": "timestamp", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": "date", "right_type": "timestamptz", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": "timestamp", "right_type": "date", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": "timestamp", "right_type": "timestamp", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": "timestamp", "right_type": "timestamptz", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": "timestamptz", "right_type": "date", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": "timestamptz", "right_type": "timestamp", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": "timestamptz", "right_type": "timestamptz", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "date_sortsupport(internal)", "left_type": "date", "right_type": "date", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamp", "right_type": "timestamp", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamptz", "right_type": "timestamptz", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": "date", "right_type": "interval", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": "timestamp", "right_type": "interval", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": "timestamptz", "right_type": "interval", "result_type": "bool"}]}, "comparison_hash": "29058bcce5eef4820092dbbb96184d7a130317101e3005112704ebdda97ec1d9", "manual_language": "zh", "support_functions": [{"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp(date,date)", "left_type": "date", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "date_sortsupport(internal)", "left_type": "date", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": "date", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": "date", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": "timestamp", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamp", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": "timestamp", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": "timestamp", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": "timestamptz", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamptz", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": "timestamptz", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": "timestamptz", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": "date", "right_type": "interval", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": "timestamp", "right_type": "interval", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": "timestamptz", "right_type": "interval", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}], "description_zh_html": "<p>timestamptz_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002</p><dl><dt>\u540d\u79f0</dt><dd><code>timestamptz_ops</code></dd><dt>\u8fd0\u7b97\u7b26\u65cf</dt><dd><code>datetime_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>timestamptz</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;(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</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>date_cmp(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>date_sortsupport(internal)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>void</code></td></tr><tr><td><code>1</code></td><td><code>date_cmp_timestamp(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>date_cmp_timestamptz(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>timestamp_sortsupport(internal)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>void</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp_date(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp_timestamptz(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>timestamp_sortsupport(internal)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>void</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp_date(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp_timestamp(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>3</code></td><td><code>in_range(date,date,interval,bool,bool)</code></td><td><code>date</code></td><td><code>interval</code></td><td><code>bool</code></td></tr><tr><td><code>3</code></td><td><code>in_range(timestamp,timestamp,interval,bool,bool)</code></td><td><code>timestamp</code></td><td><code>interval</code></td><td><code>bool</code></td></tr><tr><td><code>3</code></td><td><code>in_range(timestamptz,timestamptz,interval,bool,bool)</code></td><td><code>timestamptz</code></td><td><code>interval</code></td><td><code>bool</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/11/indexes-opclass.html\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "12": {"class": {"name": "timestamptz_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamptz"}, "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": "timestamptz"}, {"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": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-date/?v=12", "text": "<(date,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-date/?v=12", "text": "<=(date,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-date/?v=12", "text": "=(date,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-date/?v=12", "text": ">=(date,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-date/?v=12", "text": ">(date,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-timestamp/?v=12", "text": "<(date,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamp/?v=12", "text": "<=(date,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-timestamp/?v=12", "text": "=(date,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamp/?v=12", "text": ">=(date,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-timestamp/?v=12", "text": ">(date,timestamp)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-timestamptz/?v=12", "text": "<(date,timestamptz)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamptz/?v=12", "text": "<=(date,timestamptz)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-timestamptz/?v=12", "text": "=(date,timestamptz)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamptz/?v=12", "text": ">=(date,timestamptz)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-timestamptz/?v=12", "text": ">(date,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamp/?v=12", "text": "<(timestamp,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamp/?v=12", "text": "<=(timestamp,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamp/?v=12", "text": "=(timestamp,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamp/?v=12", "text": ">=(timestamp,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamp/?v=12", "text": ">(timestamp,timestamp)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-date/?v=12", "text": "<(timestamp,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-date/?v=12", "text": "<=(timestamp,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-date/?v=12", "text": "=(timestamp,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-date/?v=12", "text": ">=(timestamp,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-date/?v=12", "text": ">(timestamp,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamptz/?v=12", "text": "<(timestamp,timestamptz)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamptz/?v=12", "text": "<=(timestamp,timestamptz)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamptz/?v=12", "text": "=(timestamp,timestamptz)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamptz/?v=12", "text": ">=(timestamp,timestamptz)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamptz/?v=12", "text": ">(timestamp,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamptz/?v=12", "text": "<(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=12", "text": "<=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=12", "text": "=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=12", "text": ">=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=12", "text": ">(timestamptz,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-date/?v=12", "text": "<(timestamptz,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-date/?v=12", "text": "<=(timestamptz,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamptz-date/?v=12", "text": "=(timestamptz,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-date/?v=12", "text": ">=(timestamptz,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamptz-date/?v=12", "text": ">(timestamptz,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamp/?v=12", "text": "<(timestamptz,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-timestamp/?v=12", "text": "<=(timestamptz,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamptz-timestamp/?v=12", "text": "=(timestamptz,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-timestamp/?v=12", "text": ">=(timestamptz,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamptz-timestamp/?v=12", "text": ">(timestamptz,timestamp)"}, "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": "date_cmp(date,date)", "left_type": {"url": "/wiki/type/date/?v=12", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=12", "text": "date"}, "result_type": "int4"}, {"number": "2", "function": "date_sortsupport(internal)", "left_type": {"url": "/wiki/type/date/?v=12", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=12", "text": "date"}, "result_type": "void"}, {"number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": {"url": "/wiki/type/date/?v=12", "text": "date"}, "right_type": {"url": "/wiki/type/timestamp/?v=12", "text": "timestamp"}, "result_type": "int4"}, {"number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": {"url": "/wiki/type/date/?v=12", "text": "date"}, "right_type": {"url": "/wiki/type/timestamptz/?v=12", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": {"url": "/wiki/type/timestamp/?v=12", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=12", "text": "timestamp"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamp/?v=12", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=12", "text": "timestamp"}, "result_type": "void"}, {"number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": {"url": "/wiki/type/timestamp/?v=12", "text": "timestamp"}, "right_type": {"url": "/wiki/type/date/?v=12", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": {"url": "/wiki/type/timestamp/?v=12", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamptz/?v=12", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": {"url": "/wiki/type/timestamptz/?v=12", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=12", "text": "timestamptz"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamptz/?v=12", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=12", "text": "timestamptz"}, "result_type": "void"}, {"number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": {"url": "/wiki/type/timestamptz/?v=12", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/date/?v=12", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": {"url": "/wiki/type/timestamptz/?v=12", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamp/?v=12", "text": "timestamp"}, "result_type": "int4"}, {"number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": {"url": "/wiki/type/date/?v=12", "text": "date"}, "right_type": {"url": "/wiki/type/interval/?v=12", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamp/?v=12", "text": "timestamp"}, "right_type": {"url": "/wiki/type/interval/?v=12", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamptz/?v=12", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/interval/?v=12", "text": "interval"}, "result_type": "bool"}], "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-date_ops/?v=12", "text": "date_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/date/?v=12", "text": "date"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamptz_ops/?v=12", "text": "timestamptz_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamptz/?v=12", "text": "timestamptz"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamp_ops/?v=12", "text": "timestamp_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamp/?v=12", "text": "timestamp"}}], "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": ["timestamptz_ops", "btree/timestamptz_ops"], "classes": [{"name": "date_ops", "slug": "class-btree-date_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "date", "source_oid": "3122", "family_slug": "family-btree-datetime_ops"}, {"name": "timestamptz_ops", "slug": "class-btree-timestamptz_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamptz", "source_oid": "3127", "family_slug": "family-btree-datetime_ops"}, {"name": "timestamp_ops", "slug": "class-btree-timestamp_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamp", "source_oid": "3128", "family_slug": "family-btree-datetime_ops"}], "related": [{"url": "/wiki/indexam/btree/?v=12", "label": "B-tree \u7d22\u5f15\u8bbf\u95ee\u65b9\u6cd5"}, {"url": "/wiki/opclass/family-btree-datetime_ops/?v=12", "label": "datetime_ops \u5bb6\u65cf"}, {"url": "/wiki/type/timestamptz/?v=12", "label": "timestamptz \u6570\u636e\u7c7b\u578b"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v12.22/postgresql-12.22.tar.bz2", "label": "12.22", "major": "12", "channel": "historical", "revision": "8df3c0474782589d3c6f374b5133b1bd14d168086edbc13c6e72e67dd4527a3b", "source_sha256": "8df3c0474782589d3c6f374b5133b1bd14d168086edbc13c6e72e67dd4527a3b", "manual_fingerprint": "535df36baec2140f211303631c0a3f64e02d2673b9d34cb050d247997c94bd1e", "catalog_fingerprint": "1f423fd3c5fb61c039f8814116ce19dedbb2804bc864599818e88cbc4f5f284a"}, "sources": [{"url": "https://ftp.postgresql.org/pub/source/v12.22/postgresql-12.22.tar.bz2", "label": "Matching PostgreSQL source archive", "sha256": "8df3c0474782589d3c6f374b5133b1bd14d168086edbc13c6e72e67dd4527a3b"}, {"url": "/docs/12/indexes-opclass.html", "path": "indexes-opclass.html", "label": "PostgreSQL 12 English manual: indexes-opclass.html", "sha256": "bdd742eaf65ab7addb35aa56509afe244d63775521460a046bf76f50bc0389db"}, {"url": "/docs/12/catalog-pg-opclass.html", "path": "catalog-pg-opclass.html", "label": "PostgreSQL 12 English manual: catalog-pg-opclass.html", "sha256": "c18988ac300a55eb6fbd32e74d3be726f55e2e26b526ed50c4c3f4f0470d8607"}, {"url": "/docs/12/catalog-pg-amop.html", "path": "catalog-pg-amop.html", "label": "PostgreSQL 12 English manual: catalog-pg-amop.html", "sha256": "84b91a9d763b1fb2968cc8be226a0369d31a6acb2468eb56cfd0b8d2030d1b45"}, {"url": "/docs/12/catalog-pg-amproc.html", "path": "catalog-pg-amproc.html", "label": "PostgreSQL 12 English manual: catalog-pg-amproc.html", "sha256": "8fecd047164ac5772bb48770067c55ab89a810d2ee1686ed316738bc0c18e330"}], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-structured-summary", "manual": {"url": "/zh/docs/12/indexes-opclass.html", "anchor": "", "locale": "zh-Hans", "version": "12", "build_id": 65, "page_key": "indexes-opclass.html", "extraction": "concept-introduction", "source_hash": "9e99e81f1c125188bfc1f1d0a61066939ae3307e6311b04025d5cf658d2aa430", "fragment_sha256": "dad5545190ebde655fce48dfc13cd02d2863166fac7cf0c2b28b059c9e419ae4", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "snapshot:sha256:86d2ff781f93e1de17122ebc514d5e64fcb63fed15941f496d7e146c6dcc7a49", "translated_from_revision": null}, "body_sha256": "ccb55b07b7246027081fd95b9251b3c714f7ee928557dbd4048cadf6dfdee6f3", "runtime_rerun": false, "authored_translation": "source-derived-structured-summary", "source_facts_revision": "8df3c0474782589d3c6f374b5133b1bd14d168086edbc13c6e72e67dd4527a3b"}, "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": "timestamptz"}, {"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/timestamptz_ops (class)", "locale": "zh-Hans", "source": {"key": "class-btree-timestamptz_ops", "locale": "zh-Hans", "version": "12", "text_hash": "676d589e7b4936c37a855b80cfe2e3001e9f5766ab8d0584b461fb7194d709ff", "collection": "opclass", "dataset_hash": "7c31b524dfe136022d39a6ae8dcfac6b3bbd5f8fdaf422536599981252aff0c9", "source_database": "center", "source_revision": "8df3c0474782589d3c6f374b5133b1bd14d168086edbc13c6e72e67dd4527a3b"}, "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": "timestamptz"}, {"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": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-date/?v=12", "text": "<(date,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-date/?v=12", "text": "<=(date,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-date/?v=12", "text": "=(date,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-date/?v=12", "text": ">=(date,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-date/?v=12", "text": ">(date,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-timestamp/?v=12", "text": "<(date,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamp/?v=12", "text": "<=(date,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-timestamp/?v=12", "text": "=(date,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamp/?v=12", "text": ">=(date,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-timestamp/?v=12", "text": ">(date,timestamp)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-timestamptz/?v=12", "text": "<(date,timestamptz)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamptz/?v=12", "text": "<=(date,timestamptz)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-timestamptz/?v=12", "text": "=(date,timestamptz)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamptz/?v=12", "text": ">=(date,timestamptz)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-timestamptz/?v=12", "text": ">(date,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamp/?v=12", "text": "<(timestamp,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamp/?v=12", "text": "<=(timestamp,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamp/?v=12", "text": "=(timestamp,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamp/?v=12", "text": ">=(timestamp,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamp/?v=12", "text": ">(timestamp,timestamp)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-date/?v=12", "text": "<(timestamp,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-date/?v=12", "text": "<=(timestamp,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-date/?v=12", "text": "=(timestamp,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-date/?v=12", "text": ">=(timestamp,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-date/?v=12", "text": ">(timestamp,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamptz/?v=12", "text": "<(timestamp,timestamptz)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamptz/?v=12", "text": "<=(timestamp,timestamptz)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamptz/?v=12", "text": "=(timestamp,timestamptz)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamptz/?v=12", "text": ">=(timestamp,timestamptz)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamptz/?v=12", "text": ">(timestamp,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamptz/?v=12", "text": "<(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=12", "text": "<=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=12", "text": "=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=12", "text": ">=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=12", "text": ">(timestamptz,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-date/?v=12", "text": "<(timestamptz,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-date/?v=12", "text": "<=(timestamptz,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamptz-date/?v=12", "text": "=(timestamptz,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-date/?v=12", "text": ">=(timestamptz,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamptz-date/?v=12", "text": ">(timestamptz,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamp/?v=12", "text": "<(timestamptz,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-timestamp/?v=12", "text": "<=(timestamptz,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamptz-timestamp/?v=12", "text": "=(timestamptz,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-timestamp/?v=12", "text": ">=(timestamptz,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamptz-timestamp/?v=12", "text": ">(timestamptz,timestamp)"}, "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": "date_cmp(date,date)", "left_type": {"url": "/wiki/type/date/?v=12", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=12", "text": "date"}, "result_type": "int4"}, {"number": "2", "function": "date_sortsupport(internal)", "left_type": {"url": "/wiki/type/date/?v=12", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=12", "text": "date"}, "result_type": "void"}, {"number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": {"url": "/wiki/type/date/?v=12", "text": "date"}, "right_type": {"url": "/wiki/type/timestamp/?v=12", "text": "timestamp"}, "result_type": "int4"}, {"number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": {"url": "/wiki/type/date/?v=12", "text": "date"}, "right_type": {"url": "/wiki/type/timestamptz/?v=12", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": {"url": "/wiki/type/timestamp/?v=12", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=12", "text": "timestamp"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamp/?v=12", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=12", "text": "timestamp"}, "result_type": "void"}, {"number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": {"url": "/wiki/type/timestamp/?v=12", "text": "timestamp"}, "right_type": {"url": "/wiki/type/date/?v=12", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": {"url": "/wiki/type/timestamp/?v=12", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamptz/?v=12", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": {"url": "/wiki/type/timestamptz/?v=12", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=12", "text": "timestamptz"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamptz/?v=12", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=12", "text": "timestamptz"}, "result_type": "void"}, {"number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": {"url": "/wiki/type/timestamptz/?v=12", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/date/?v=12", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": {"url": "/wiki/type/timestamptz/?v=12", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamp/?v=12", "text": "timestamp"}, "result_type": "int4"}, {"number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": {"url": "/wiki/type/date/?v=12", "text": "date"}, "right_type": {"url": "/wiki/type/interval/?v=12", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamp/?v=12", "text": "timestamp"}, "right_type": {"url": "/wiki/type/interval/?v=12", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamptz/?v=12", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/interval/?v=12", "text": "interval"}, "result_type": "bool"}], "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-date_ops/?v=12", "text": "date_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/date/?v=12", "text": "date"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamptz_ops/?v=12", "text": "timestamptz_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamptz/?v=12", "text": "timestamptz"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamp_ops/?v=12", "text": "timestamp_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamp/?v=12", "text": "timestamp"}}], "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/12/indexes-opclass.html", "anchor": "", "locale": "zh-Hans", "version": "12", "build_id": 65, "page_key": "indexes-opclass.html", "extraction": "concept-introduction", "source_hash": "9e99e81f1c125188bfc1f1d0a61066939ae3307e6311b04025d5cf658d2aa430", "fragment_sha256": "dad5545190ebde655fce48dfc13cd02d2863166fac7cf0c2b28b059c9e419ae4", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "snapshot:sha256:86d2ff781f93e1de17122ebc514d5e64fcb63fed15941f496d7e146c6dcc7a49", "translated_from_revision": null}, "body_sha256": "ccb55b07b7246027081fd95b9251b3c714f7ee928557dbd4048cadf6dfdee6f3", "runtime_rerun": false, "authored_translation": "source-derived-structured-summary", "source_facts_revision": "8df3c0474782589d3c6f374b5133b1bd14d168086edbc13c6e72e67dd4527a3b"}, "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": "timestamptz_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002", "description_zh_html": "<p>timestamptz_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002</p><dl><dt>\u540d\u79f0</dt><dd><code>timestamptz_ops</code></dd><dt>\u8fd0\u7b97\u7b26\u65cf</dt><dd><code>datetime_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>timestamptz</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;(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</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>date_cmp(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>date_sortsupport(internal)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>void</code></td></tr><tr><td><code>1</code></td><td><code>date_cmp_timestamp(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>date_cmp_timestamptz(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>timestamp_sortsupport(internal)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>void</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp_date(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp_timestamptz(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>timestamp_sortsupport(internal)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>void</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp_date(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp_timestamp(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>3</code></td><td><code>in_range(date,date,interval,bool,bool)</code></td><td><code>date</code></td><td><code>interval</code></td><td><code>bool</code></td></tr><tr><td><code>3</code></td><td><code>in_range(timestamp,timestamp,interval,bool,bool)</code></td><td><code>timestamp</code></td><td><code>interval</code></td><td><code>bool</code></td></tr><tr><td><code>3</code></td><td><code>in_range(timestamptz,timestamptz,interval,bool,bool)</code></td><td><code>timestamptz</code></td><td><code>interval</code></td><td><code>bool</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/12/indexes-opclass.html\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "summary": "timestamptz_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002", "version": "12", "link_map": {"/zh/docs/12/indexes-opclass.html": "/docs/12/indexes-opclass.html"}, "body_html": "<p>timestamptz_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002</p><dl><dt>\u540d\u79f0</dt><dd><code>timestamptz_ops</code></dd><dt>\u8fd0\u7b97\u7b26\u65cf</dt><dd><code>datetime_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>timestamptz</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;(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</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>date_cmp(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>date_sortsupport(internal)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>void</code></td></tr><tr><td><code>1</code></td><td><code>date_cmp_timestamp(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>date_cmp_timestamptz(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>timestamp_sortsupport(internal)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>void</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp_date(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp_timestamptz(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>timestamp_sortsupport(internal)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>void</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp_date(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp_timestamp(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>3</code></td><td><code>in_range(date,date,interval,bool,bool)</code></td><td><code>date</code></td><td><code>interval</code></td><td><code>bool</code></td></tr><tr><td><code>3</code></td><td><code>in_range(timestamp,timestamp,interval,bool,bool)</code></td><td><code>timestamp</code></td><td><code>interval</code></td><td><code>bool</code></td></tr><tr><td><code>3</code></td><td><code>in_range(timestamptz,timestamptz,interval,bool,bool)</code></td><td><code>timestamptz</code></td><td><code>interval</code></td><td><code>bool</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/12/indexes-opclass.html\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>", "body_sha256": "262cf919e38a6a859211b72031cc920a61482e042670f7d9363245560cec9acd", "content_hash": "676d589e7b4936c37a855b80cfe2e3001e9f5766ab8d0584b461fb7194d709ff", "source_database": "center", "source_revision": "8df3c0474782589d3c6f374b5133b1bd14d168086edbc13c6e72e67dd4527a3b"}, "operators": [{"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,date)", "strategy": "1", "left_type": "date", "right_type": "date", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,date)", "strategy": "2", "left_type": "date", "right_type": "date", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,date)", "strategy": "3", "left_type": "date", "right_type": "date", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,date)", "strategy": "4", "left_type": "date", "right_type": "date", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,date)", "strategy": "5", "left_type": "date", "right_type": "date", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamp)", "strategy": "1", "left_type": "date", "right_type": "timestamp", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamp)", "strategy": "2", "left_type": "date", "right_type": "timestamp", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamp)", "strategy": "3", "left_type": "date", "right_type": "timestamp", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamp)", "strategy": "4", "left_type": "date", "right_type": "timestamp", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamp)", "strategy": "5", "left_type": "date", "right_type": "timestamp", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamptz)", "strategy": "1", "left_type": "date", "right_type": "timestamptz", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamptz)", "strategy": "2", "left_type": "date", "right_type": "timestamptz", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamptz)", "strategy": "3", "left_type": "date", "right_type": "timestamptz", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamptz)", "strategy": "4", "left_type": "date", "right_type": "timestamptz", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamptz)", "strategy": "5", "left_type": "date", "right_type": "timestamptz", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamp)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamp", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamp)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamp", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamp)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamp", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamp)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamp", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamp)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamp", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,date)", "strategy": "1", "left_type": "timestamp", "right_type": "date", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,date)", "strategy": "2", "left_type": "timestamp", "right_type": "date", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,date)", "strategy": "3", "left_type": "timestamp", "right_type": "date", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,date)", "strategy": "4", "left_type": "timestamp", "right_type": "date", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,date)", "strategy": "5", "left_type": "timestamp", "right_type": "date", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamptz)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamptz", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamptz)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamptz", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamptz)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamptz", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamptz)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamptz", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamptz)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamptz", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamptz)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamptz", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamptz)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamptz", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamptz)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamptz", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamptz)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamptz", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamptz)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamptz", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,date)", "strategy": "1", "left_type": "timestamptz", "right_type": "date", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,date)", "strategy": "2", "left_type": "timestamptz", "right_type": "date", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,date)", "strategy": "3", "left_type": "timestamptz", "right_type": "date", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,date)", "strategy": "4", "left_type": "timestamptz", "right_type": "date", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,date)", "strategy": "5", "left_type": "timestamptz", "right_type": "date", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamp)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamp", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamp)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamp", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamp)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamp", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamp)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamp", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamp)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamp", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamptz-timestamp", "sort_family_slug": ""}], "signature": "btree/timestamptz_ops", "tables_zh": [{"key": "operators", "rows": [{"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-date/?v=12", "text": "<(date,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-date/?v=12", "text": "<=(date,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-date/?v=12", "text": "=(date,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-date/?v=12", "text": ">=(date,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-date/?v=12", "text": ">(date,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-timestamp/?v=12", "text": "<(date,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamp/?v=12", "text": "<=(date,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-timestamp/?v=12", "text": "=(date,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamp/?v=12", "text": ">=(date,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-timestamp/?v=12", "text": ">(date,timestamp)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-timestamptz/?v=12", "text": "<(date,timestamptz)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamptz/?v=12", "text": "<=(date,timestamptz)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-timestamptz/?v=12", "text": "=(date,timestamptz)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamptz/?v=12", "text": ">=(date,timestamptz)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-timestamptz/?v=12", "text": ">(date,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamp/?v=12", "text": "<(timestamp,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamp/?v=12", "text": "<=(timestamp,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamp/?v=12", "text": "=(timestamp,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamp/?v=12", "text": ">=(timestamp,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamp/?v=12", "text": ">(timestamp,timestamp)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-date/?v=12", "text": "<(timestamp,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-date/?v=12", "text": "<=(timestamp,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-date/?v=12", "text": "=(timestamp,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-date/?v=12", "text": ">=(timestamp,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-date/?v=12", "text": ">(timestamp,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamptz/?v=12", "text": "<(timestamp,timestamptz)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamptz/?v=12", "text": "<=(timestamp,timestamptz)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamptz/?v=12", "text": "=(timestamp,timestamptz)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamptz/?v=12", "text": ">=(timestamp,timestamptz)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamptz/?v=12", "text": ">(timestamp,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamptz/?v=12", "text": "<(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=12", "text": "<=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=12", "text": "=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=12", "text": ">=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=12", "text": ">(timestamptz,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-date/?v=12", "text": "<(timestamptz,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-date/?v=12", "text": "<=(timestamptz,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamptz-date/?v=12", "text": "=(timestamptz,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-date/?v=12", "text": ">=(timestamptz,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamptz-date/?v=12", "text": ">(timestamptz,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamp/?v=12", "text": "<(timestamptz,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-timestamp/?v=12", "text": "<=(timestamptz,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamptz-timestamp/?v=12", "text": "=(timestamptz,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-timestamp/?v=12", "text": ">=(timestamptz,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamptz-timestamp/?v=12", "text": ">(timestamptz,timestamp)"}, "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": "date_cmp(date,date)", "left_type": {"url": "/wiki/type/date/?v=12", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=12", "text": "date"}, "result_type": "int4"}, {"number": "2", "function": "date_sortsupport(internal)", "left_type": {"url": "/wiki/type/date/?v=12", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=12", "text": "date"}, "result_type": "void"}, {"number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": {"url": "/wiki/type/date/?v=12", "text": "date"}, "right_type": {"url": "/wiki/type/timestamp/?v=12", "text": "timestamp"}, "result_type": "int4"}, {"number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": {"url": "/wiki/type/date/?v=12", "text": "date"}, "right_type": {"url": "/wiki/type/timestamptz/?v=12", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": {"url": "/wiki/type/timestamp/?v=12", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=12", "text": "timestamp"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamp/?v=12", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=12", "text": "timestamp"}, "result_type": "void"}, {"number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": {"url": "/wiki/type/timestamp/?v=12", "text": "timestamp"}, "right_type": {"url": "/wiki/type/date/?v=12", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": {"url": "/wiki/type/timestamp/?v=12", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamptz/?v=12", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": {"url": "/wiki/type/timestamptz/?v=12", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=12", "text": "timestamptz"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamptz/?v=12", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=12", "text": "timestamptz"}, "result_type": "void"}, {"number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": {"url": "/wiki/type/timestamptz/?v=12", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/date/?v=12", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": {"url": "/wiki/type/timestamptz/?v=12", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamp/?v=12", "text": "timestamp"}, "result_type": "int4"}, {"number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": {"url": "/wiki/type/date/?v=12", "text": "date"}, "right_type": {"url": "/wiki/type/interval/?v=12", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamp/?v=12", "text": "timestamp"}, "right_type": {"url": "/wiki/type/interval/?v=12", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamptz/?v=12", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/interval/?v=12", "text": "interval"}, "result_type": "bool"}], "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-date_ops/?v=12", "text": "date_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/date/?v=12", "text": "date"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamptz_ops/?v=12", "text": "timestamptz_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamptz/?v=12", "text": "timestamptz"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamp_ops/?v=12", "text": "timestamp_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamp/?v=12", "text": "timestamp"}}], "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": "3127", "description": ["timestamptz_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/12/catalog-pg-amop.html", "method": "same-major semantic node", "sha256": "fb1485d72baa6293bbb9db509168fcb9e29aeb84d9eaa463046dffc10c6689ab", "language": "zh", "matched_nodes": ["#CATALOG-PG-AMOP/p[2]/em[1]"]}, {"url": "/docs/12/indexes-opclass.html", "method": "same-major semantic node", "sha256": "caf2c6c72b3142db3faa12936bdc35bae99e5144454f5c7391fc02cc93ba1cb1", "language": "zh", "matched_nodes": ["#INDEXES-OPCLASS/p[3]", "#INDEXES-OPCLASS/p[5]", "#INDEXES-OPCLASS/p[6]"]}], "language": "zh", "original_text": {"/versions/12/description/0": "B-tree operator class for timestamptz; member of datetime_ops.", "/versions/12/facts/0/label": "Object kind", "/versions/12/facts/0/value": "Operator class", "/versions/12/facts/1/label": "Index AM", "/versions/12/facts/2/label": "Input type", "/versions/12/facts/3/label": "Stored key type", "/versions/12/facts/3/value": "Same as input type (catalog zero)", "/versions/12/facts/4/label": "Default class", "/versions/12/facts/4/value": "yes", "/versions/12/tables/0/title": "Family operator strategies", "/versions/12/tables/1/title": "Family support functions", "/versions/12/tables/2/title": "Classes in this family", "/versions/12/related/0/label": "B-tree Index AM", "/versions/12/related/1/label": "datetime_ops family", "/versions/12/related/2/label": "timestamptz data type", "/versions/12/sections/0/title": "Operator classes and families", "/versions/12/tables/0/rows/0/scope": "Family member", "/versions/12/tables/0/rows/1/scope": "Family member", "/versions/12/tables/0/rows/2/scope": "Family member", "/versions/12/tables/0/rows/3/scope": "Family member", "/versions/12/tables/0/rows/4/scope": "Family member", "/versions/12/tables/0/rows/5/scope": "Family member", "/versions/12/tables/0/rows/6/scope": "Family member", "/versions/12/tables/0/rows/7/scope": "Family member", "/versions/12/tables/0/rows/8/scope": "Family member", "/versions/12/tables/0/rows/9/scope": "Family member", "/versions/12/tables/0/rows/10/scope": "Family member", "/versions/12/tables/0/rows/11/scope": "Family member", "/versions/12/tables/0/rows/12/scope": "Family member", "/versions/12/tables/0/rows/13/scope": "Family member", "/versions/12/tables/0/rows/14/scope": "Family member", "/versions/12/tables/0/rows/15/scope": "Family member", "/versions/12/tables/0/rows/16/scope": "Family member", "/versions/12/tables/0/rows/17/scope": "Family member", "/versions/12/tables/0/rows/18/scope": "Family member", "/versions/12/tables/0/rows/19/scope": "Family member", "/versions/12/tables/0/rows/20/scope": "Family member", "/versions/12/tables/0/rows/21/scope": "Family member", "/versions/12/tables/0/rows/22/scope": "Family member", "/versions/12/tables/0/rows/23/scope": "Family member", "/versions/12/tables/0/rows/24/scope": "Family member", "/versions/12/tables/0/rows/25/scope": "Family member", "/versions/12/tables/0/rows/26/scope": "Family member", "/versions/12/tables/0/rows/27/scope": "Family member", "/versions/12/tables/0/rows/28/scope": "Family member", "/versions/12/tables/0/rows/29/scope": "Family member", "/versions/12/tables/0/rows/30/scope": "Class input pair", "/versions/12/tables/0/rows/31/scope": "Class input pair", "/versions/12/tables/0/rows/32/scope": "Class input pair", "/versions/12/tables/0/rows/33/scope": "Class input pair", "/versions/12/tables/0/rows/34/scope": "Class input pair", "/versions/12/tables/0/rows/35/scope": "Family member", "/versions/12/tables/0/rows/36/scope": "Family member", "/versions/12/tables/0/rows/37/scope": "Family member", "/versions/12/tables/0/rows/38/scope": "Family member", "/versions/12/tables/0/rows/39/scope": "Family member", "/versions/12/tables/0/rows/40/scope": "Family member", "/versions/12/tables/0/rows/41/scope": "Family member", "/versions/12/tables/0/rows/42/scope": "Family member", "/versions/12/tables/0/rows/43/scope": "Family member", "/versions/12/tables/0/rows/44/scope": "Family member", "/versions/12/sections/0/paragraphs/0": "An index definition can specify an operator class for each column of an index.", "/versions/12/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/12/sections/0/paragraphs/2": "There are also some built-in operator classes besides the default ones:", "/versions/12/tables/0/rows/0/purpose": "search", "/versions/12/tables/0/rows/1/purpose": "search", "/versions/12/tables/0/rows/2/purpose": "search", "/versions/12/tables/0/rows/3/purpose": "search", "/versions/12/tables/0/rows/4/purpose": "search", "/versions/12/tables/0/rows/5/purpose": "search", "/versions/12/tables/0/rows/6/purpose": "search", "/versions/12/tables/0/rows/7/purpose": "search", "/versions/12/tables/0/rows/8/purpose": "search", "/versions/12/tables/0/rows/9/purpose": "search", "/versions/12/tables/2/rows/0/default": "yes", "/versions/12/tables/2/rows/1/default": "yes", "/versions/12/tables/2/rows/2/default": "yes", "/versions/12/tables/0/columns/0/label": "Operator overload", "/versions/12/tables/0/columns/1/label": "Strategy", "/versions/12/tables/0/columns/2/label": "Purpose", "/versions/12/tables/0/columns/3/label": "Ordering family", "/versions/12/tables/0/columns/4/label": "Membership scope", "/versions/12/tables/0/columns/5/label": "Source description", "/versions/12/tables/0/rows/10/purpose": "search", "/versions/12/tables/0/rows/11/purpose": "search", "/versions/12/tables/0/rows/12/purpose": "search", "/versions/12/tables/0/rows/13/purpose": "search", "/versions/12/tables/0/rows/14/purpose": "search", "/versions/12/tables/0/rows/15/purpose": "search", "/versions/12/tables/0/rows/16/purpose": "search", "/versions/12/tables/0/rows/17/purpose": "search", "/versions/12/tables/0/rows/18/purpose": "search", "/versions/12/tables/0/rows/19/purpose": "search", "/versions/12/tables/0/rows/20/purpose": "search", "/versions/12/tables/0/rows/21/purpose": "search", "/versions/12/tables/0/rows/22/purpose": "search", "/versions/12/tables/0/rows/23/purpose": "search", "/versions/12/tables/0/rows/24/purpose": "search", "/versions/12/tables/0/rows/25/purpose": "search", "/versions/12/tables/0/rows/26/purpose": "search", "/versions/12/tables/0/rows/27/purpose": "search", "/versions/12/tables/0/rows/28/purpose": "search", "/versions/12/tables/0/rows/29/purpose": "search", "/versions/12/tables/0/rows/30/purpose": "search", "/versions/12/tables/0/rows/31/purpose": "search", "/versions/12/tables/0/rows/32/purpose": "search", "/versions/12/tables/0/rows/33/purpose": "search", "/versions/12/tables/0/rows/34/purpose": "search", "/versions/12/tables/0/rows/35/purpose": "search", "/versions/12/tables/0/rows/36/purpose": "search", "/versions/12/tables/0/rows/37/purpose": "search", "/versions/12/tables/0/rows/38/purpose": "search", "/versions/12/tables/0/rows/39/purpose": "search", "/versions/12/tables/0/rows/40/purpose": "search", "/versions/12/tables/0/rows/41/purpose": "search", "/versions/12/tables/0/rows/42/purpose": "search", "/versions/12/tables/0/rows/43/purpose": "search", "/versions/12/tables/0/rows/44/purpose": "search", "/versions/12/tables/1/columns/0/label": "Support number", "/versions/12/tables/1/columns/1/label": "Left type", "/versions/12/tables/1/columns/2/label": "Right type", "/versions/12/tables/1/columns/3/label": "Function signature", "/versions/12/tables/1/columns/4/label": "Result type", "/versions/12/tables/2/columns/0/label": "Class", "/versions/12/tables/2/columns/1/label": "Input type", "/versions/12/tables/2/columns/2/label": "Key type", "/versions/12/tables/2/columns/3/label": "Default", "/versions/12/tables/2/rows/0/key_type": "Same as input type", "/versions/12/tables/2/rows/1/key_type": "Same as input type", "/versions/12/tables/2/rows/2/key_type": "Same as input type", "/versions/12/tables/0/rows/0/description": "less than", "/versions/12/tables/0/rows/1/description": "less than or equal", "/versions/12/tables/0/rows/2/description": "equal", "/versions/12/tables/0/rows/3/description": "greater than or equal", "/versions/12/tables/0/rows/4/description": "greater than", "/versions/12/tables/0/rows/5/description": "less than", "/versions/12/tables/0/rows/6/description": "less than or equal", "/versions/12/tables/0/rows/7/description": "equal", "/versions/12/tables/0/rows/8/description": "greater than or equal", "/versions/12/tables/0/rows/9/description": "greater than", "/versions/12/tables/0/rows/10/description": "less than", "/versions/12/tables/0/rows/11/description": "less than or equal", "/versions/12/tables/0/rows/12/description": "equal", "/versions/12/tables/0/rows/13/description": "greater than or equal", "/versions/12/tables/0/rows/14/description": "greater than", "/versions/12/tables/0/rows/15/description": "less than", "/versions/12/tables/0/rows/16/description": "less than or equal", "/versions/12/tables/0/rows/17/description": "equal", "/versions/12/tables/0/rows/18/description": "greater than or equal", "/versions/12/tables/0/rows/19/description": "greater than", "/versions/12/tables/0/rows/20/description": "less than", "/versions/12/tables/0/rows/21/description": "less than or equal", "/versions/12/tables/0/rows/22/description": "equal", "/versions/12/tables/0/rows/23/description": "greater than or equal", "/versions/12/tables/0/rows/24/description": "greater than", "/versions/12/tables/0/rows/25/description": "less than", "/versions/12/tables/0/rows/26/description": "less than or equal", "/versions/12/tables/0/rows/27/description": "equal", "/versions/12/tables/0/rows/28/description": "greater than or equal", "/versions/12/tables/0/rows/29/description": "greater than", "/versions/12/tables/0/rows/30/description": "less than", "/versions/12/tables/0/rows/31/description": "less than or equal", "/versions/12/tables/0/rows/32/description": "equal", "/versions/12/tables/0/rows/33/description": "greater than or equal", "/versions/12/tables/0/rows/34/description": "greater than", "/versions/12/tables/0/rows/35/description": "less than", "/versions/12/tables/0/rows/36/description": "less than or equal", "/versions/12/tables/0/rows/37/description": "equal", "/versions/12/tables/0/rows/38/description": "greater than or equal", "/versions/12/tables/0/rows/39/description": "greater than", "/versions/12/tables/0/rows/40/description": "less than", "/versions/12/tables/0/rows/41/description": "less than or equal", "/versions/12/tables/0/rows/42/description": "equal", "/versions/12/tables/0/rows/43/description": "greater than or equal", "/versions/12/tables/0/rows/44/description": "greater than"}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "cfcd2dd01e835cda39bd2d5ece0f44fbd9b2a360ab3f02b20527b1e6febea2ba", "canonical_center_text_hash": "676d589e7b4936c37a855b80cfe2e3001e9f5766ab8d0584b461fb7194d709ff"}, "description_zh": "timestamptz_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002", "comparison_data": {"kind": "class", "classes": [{"name": "date_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "date"}, {"name": "timestamp_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamp"}, {"name": "timestamptz_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamptz"}], "operators": [{"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,date)", "strategy": "1", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,date)", "strategy": "2", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,date)", "strategy": "3", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,date)", "strategy": "4", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,date)", "strategy": "5", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamp)", "strategy": "1", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamp)", "strategy": "2", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamp)", "strategy": "3", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamp)", "strategy": "4", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamp)", "strategy": "5", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamptz)", "strategy": "1", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamptz)", "strategy": "2", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamptz)", "strategy": "3", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamptz)", "strategy": "4", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamptz)", "strategy": "5", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,date)", "strategy": "1", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,date)", "strategy": "2", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,date)", "strategy": "3", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,date)", "strategy": "4", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,date)", "strategy": "5", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamp)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamp)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamp)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamp)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamp)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamptz)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamptz)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamptz)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamptz)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamptz)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,date)", "strategy": "1", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,date)", "strategy": "2", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,date)", "strategy": "3", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,date)", "strategy": "4", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,date)", "strategy": "5", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamp)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamp)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamp)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamp)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamp)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamptz)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamptz)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamptz)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamptz)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamptz)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}], "attributes": {"name": "timestamptz_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamptz"}, "support_functions": [{"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp(date,date)", "left_type": "date", "right_type": "date", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": "date", "right_type": "timestamp", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": "date", "right_type": "timestamptz", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": "timestamp", "right_type": "date", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": "timestamp", "right_type": "timestamp", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": "timestamp", "right_type": "timestamptz", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": "timestamptz", "right_type": "date", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": "timestamptz", "right_type": "timestamp", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": "timestamptz", "right_type": "timestamptz", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "date_sortsupport(internal)", "left_type": "date", "right_type": "date", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamp", "right_type": "timestamp", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamptz", "right_type": "timestamptz", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": "date", "right_type": "interval", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": "timestamp", "right_type": "interval", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": "timestamptz", "right_type": "interval", "result_type": "bool"}]}, "comparison_hash": "29058bcce5eef4820092dbbb96184d7a130317101e3005112704ebdda97ec1d9", "manual_language": "zh", "support_functions": [{"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp(date,date)", "left_type": "date", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "date_sortsupport(internal)", "left_type": "date", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": "date", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": "date", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": "timestamp", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamp", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": "timestamp", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": "timestamp", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": "timestamptz", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamptz", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": "timestamptz", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": "timestamptz", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": "date", "right_type": "interval", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": "timestamp", "right_type": "interval", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": "timestamptz", "right_type": "interval", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}], "description_zh_html": "<p>timestamptz_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002</p><dl><dt>\u540d\u79f0</dt><dd><code>timestamptz_ops</code></dd><dt>\u8fd0\u7b97\u7b26\u65cf</dt><dd><code>datetime_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>timestamptz</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;(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</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>date_cmp(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>date_sortsupport(internal)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>void</code></td></tr><tr><td><code>1</code></td><td><code>date_cmp_timestamp(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>date_cmp_timestamptz(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>timestamp_sortsupport(internal)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>void</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp_date(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp_timestamptz(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>timestamp_sortsupport(internal)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>void</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp_date(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp_timestamp(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>3</code></td><td><code>in_range(date,date,interval,bool,bool)</code></td><td><code>date</code></td><td><code>interval</code></td><td><code>bool</code></td></tr><tr><td><code>3</code></td><td><code>in_range(timestamp,timestamp,interval,bool,bool)</code></td><td><code>timestamp</code></td><td><code>interval</code></td><td><code>bool</code></td></tr><tr><td><code>3</code></td><td><code>in_range(timestamptz,timestamptz,interval,bool,bool)</code></td><td><code>timestamptz</code></td><td><code>interval</code></td><td><code>bool</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/12/indexes-opclass.html\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "13": {"class": {"name": "timestamptz_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamptz"}, "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": "timestamptz"}, {"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": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-date/?v=13", "text": "<(date,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-date/?v=13", "text": "<=(date,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-date/?v=13", "text": "=(date,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-date/?v=13", "text": ">=(date,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-date/?v=13", "text": ">(date,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-timestamp/?v=13", "text": "<(date,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamp/?v=13", "text": "<=(date,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-timestamp/?v=13", "text": "=(date,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamp/?v=13", "text": ">=(date,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-timestamp/?v=13", "text": ">(date,timestamp)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-timestamptz/?v=13", "text": "<(date,timestamptz)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamptz/?v=13", "text": "<=(date,timestamptz)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-timestamptz/?v=13", "text": "=(date,timestamptz)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamptz/?v=13", "text": ">=(date,timestamptz)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-timestamptz/?v=13", "text": ">(date,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamp/?v=13", "text": "<(timestamp,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamp/?v=13", "text": "<=(timestamp,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamp/?v=13", "text": "=(timestamp,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamp/?v=13", "text": ">=(timestamp,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamp/?v=13", "text": ">(timestamp,timestamp)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-date/?v=13", "text": "<(timestamp,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-date/?v=13", "text": "<=(timestamp,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-date/?v=13", "text": "=(timestamp,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-date/?v=13", "text": ">=(timestamp,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-date/?v=13", "text": ">(timestamp,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamptz/?v=13", "text": "<(timestamp,timestamptz)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamptz/?v=13", "text": "<=(timestamp,timestamptz)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamptz/?v=13", "text": "=(timestamp,timestamptz)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamptz/?v=13", "text": ">=(timestamp,timestamptz)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamptz/?v=13", "text": ">(timestamp,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamptz/?v=13", "text": "<(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=13", "text": "<=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=13", "text": "=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=13", "text": ">=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=13", "text": ">(timestamptz,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-date/?v=13", "text": "<(timestamptz,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-date/?v=13", "text": "<=(timestamptz,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamptz-date/?v=13", "text": "=(timestamptz,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-date/?v=13", "text": ">=(timestamptz,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamptz-date/?v=13", "text": ">(timestamptz,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamp/?v=13", "text": "<(timestamptz,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-timestamp/?v=13", "text": "<=(timestamptz,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamptz-timestamp/?v=13", "text": "=(timestamptz,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-timestamp/?v=13", "text": ">=(timestamptz,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamptz-timestamp/?v=13", "text": ">(timestamptz,timestamp)"}, "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": "date_cmp(date,date)", "left_type": {"url": "/wiki/type/date/?v=13", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=13", "text": "date"}, "result_type": "int4"}, {"number": "2", "function": "date_sortsupport(internal)", "left_type": {"url": "/wiki/type/date/?v=13", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=13", "text": "date"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/date/?v=13", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=13", "text": "date"}, "result_type": "bool"}, {"number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": {"url": "/wiki/type/date/?v=13", "text": "date"}, "right_type": {"url": "/wiki/type/timestamp/?v=13", "text": "timestamp"}, "result_type": "int4"}, {"number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": {"url": "/wiki/type/date/?v=13", "text": "date"}, "right_type": {"url": "/wiki/type/timestamptz/?v=13", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": {"url": "/wiki/type/timestamp/?v=13", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=13", "text": "timestamp"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamp/?v=13", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=13", "text": "timestamp"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/timestamp/?v=13", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=13", "text": "timestamp"}, "result_type": "bool"}, {"number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": {"url": "/wiki/type/timestamp/?v=13", "text": "timestamp"}, "right_type": {"url": "/wiki/type/date/?v=13", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": {"url": "/wiki/type/timestamp/?v=13", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamptz/?v=13", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": {"url": "/wiki/type/timestamptz/?v=13", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=13", "text": "timestamptz"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamptz/?v=13", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=13", "text": "timestamptz"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/timestamptz/?v=13", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=13", "text": "timestamptz"}, "result_type": "bool"}, {"number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": {"url": "/wiki/type/timestamptz/?v=13", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/date/?v=13", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": {"url": "/wiki/type/timestamptz/?v=13", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamp/?v=13", "text": "timestamp"}, "result_type": "int4"}, {"number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": {"url": "/wiki/type/date/?v=13", "text": "date"}, "right_type": {"url": "/wiki/type/interval/?v=13", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamp/?v=13", "text": "timestamp"}, "right_type": {"url": "/wiki/type/interval/?v=13", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamptz/?v=13", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/interval/?v=13", "text": "interval"}, "result_type": "bool"}], "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-date_ops/?v=13", "text": "date_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/date/?v=13", "text": "date"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamptz_ops/?v=13", "text": "timestamptz_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamptz/?v=13", "text": "timestamptz"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamp_ops/?v=13", "text": "timestamp_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamp/?v=13", "text": "timestamp"}}], "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": ["timestamptz_ops", "btree/timestamptz_ops"], "classes": [{"name": "date_ops", "slug": "class-btree-date_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "date", "source_oid": "3122", "family_slug": "family-btree-datetime_ops"}, {"name": "timestamptz_ops", "slug": "class-btree-timestamptz_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamptz", "source_oid": "3127", "family_slug": "family-btree-datetime_ops"}, {"name": "timestamp_ops", "slug": "class-btree-timestamp_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamp", "source_oid": "3128", "family_slug": "family-btree-datetime_ops"}], "related": [{"url": "/wiki/indexam/btree/?v=13", "label": "B-tree \u7d22\u5f15\u8bbf\u95ee\u65b9\u6cd5"}, {"url": "/wiki/opclass/family-btree-datetime_ops/?v=13", "label": "datetime_ops \u5bb6\u65cf"}, {"url": "/wiki/type/timestamptz/?v=13", "label": "timestamptz \u6570\u636e\u7c7b\u578b"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v13.23/postgresql-13.23.tar.bz2", "label": "13.23", "major": "13", "channel": "historical", "revision": "6ec3c82726af92b7dec873fa1cdf881eca92a4219787dfad05acb6b10e041fd6", "source_sha256": "6ec3c82726af92b7dec873fa1cdf881eca92a4219787dfad05acb6b10e041fd6", "manual_fingerprint": "2bbea71f4723fc9e4e58cfdb28368763f999de2800d45ade748f7c7546dfb9d3", "catalog_fingerprint": "df58d29b226fbb90326087233d7970032abdec1352373270449eeee324f84a35"}, "sources": [{"url": "https://ftp.postgresql.org/pub/source/v13.23/postgresql-13.23.tar.bz2", "label": "Matching PostgreSQL source archive", "sha256": "6ec3c82726af92b7dec873fa1cdf881eca92a4219787dfad05acb6b10e041fd6"}, {"url": "/docs/13/indexes-opclass.html", "path": "indexes-opclass.html", "label": "PostgreSQL 13 English manual: indexes-opclass.html", "sha256": "37723d8b80464e32b69ead59eff6160555679eb963ab37c5c3a8a6cbae1b152b"}, {"url": "/docs/13/catalog-pg-opclass.html", "path": "catalog-pg-opclass.html", "label": "PostgreSQL 13 English manual: catalog-pg-opclass.html", "sha256": "1e76307cdb5258558db46b22444fc26a671a7dbb4a328b62e8f93deecb9a4caa"}, {"url": "/docs/13/catalog-pg-amop.html", "path": "catalog-pg-amop.html", "label": "PostgreSQL 13 English manual: catalog-pg-amop.html", "sha256": "7a8e67f8dc59c305612c6d029fc8760c092f27203d5338c6db6c6d9b8aabc561"}, {"url": "/docs/13/catalog-pg-amproc.html", "path": "catalog-pg-amproc.html", "label": "PostgreSQL 13 English manual: catalog-pg-amproc.html", "sha256": "7304d151ac7c668be22d688c152e43989557f61455a75dc74f4660363e7ab9ef"}], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-structured-summary", "manual": {"url": "/zh/docs/13/indexes-opclass.html", "anchor": "", "locale": "zh-Hans", "version": "13", "build_id": 66, "page_key": "indexes-opclass.html", "extraction": "concept-introduction", "source_hash": "a0195016f729f1cf7c03c7c1344f2a62ff6b78f9a4eb1f299eab7720fd80182c", "fragment_sha256": "dad5545190ebde655fce48dfc13cd02d2863166fac7cf0c2b28b059c9e419ae4", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "snapshot:sha256:a13a825c39f0268ef1cfe9137e283e38d0da73b2d7894f0733c7b26372a4f6a4", "translated_from_revision": null}, "body_sha256": "bd1c22ec360b83483b9b57f4a7047b8f8d9c31836de106d613b6466641eeb2fe", "runtime_rerun": false, "authored_translation": "source-derived-structured-summary", "source_facts_revision": "6ec3c82726af92b7dec873fa1cdf881eca92a4219787dfad05acb6b10e041fd6"}, "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": "timestamptz"}, {"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/timestamptz_ops (class)", "locale": "zh-Hans", "source": {"key": "class-btree-timestamptz_ops", "locale": "zh-Hans", "version": "13", "text_hash": "bfcfcb545402bc68137c88e45a649260a8711bf5e74e5651e3591ac3b857223c", "collection": "opclass", "dataset_hash": "7c31b524dfe136022d39a6ae8dcfac6b3bbd5f8fdaf422536599981252aff0c9", "source_database": "center", "source_revision": "6ec3c82726af92b7dec873fa1cdf881eca92a4219787dfad05acb6b10e041fd6"}, "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": "timestamptz"}, {"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": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-date/?v=13", "text": "<(date,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-date/?v=13", "text": "<=(date,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-date/?v=13", "text": "=(date,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-date/?v=13", "text": ">=(date,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-date/?v=13", "text": ">(date,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-timestamp/?v=13", "text": "<(date,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamp/?v=13", "text": "<=(date,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-timestamp/?v=13", "text": "=(date,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamp/?v=13", "text": ">=(date,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-timestamp/?v=13", "text": ">(date,timestamp)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-timestamptz/?v=13", "text": "<(date,timestamptz)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamptz/?v=13", "text": "<=(date,timestamptz)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-timestamptz/?v=13", "text": "=(date,timestamptz)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamptz/?v=13", "text": ">=(date,timestamptz)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-timestamptz/?v=13", "text": ">(date,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamp/?v=13", "text": "<(timestamp,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamp/?v=13", "text": "<=(timestamp,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamp/?v=13", "text": "=(timestamp,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamp/?v=13", "text": ">=(timestamp,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamp/?v=13", "text": ">(timestamp,timestamp)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-date/?v=13", "text": "<(timestamp,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-date/?v=13", "text": "<=(timestamp,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-date/?v=13", "text": "=(timestamp,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-date/?v=13", "text": ">=(timestamp,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-date/?v=13", "text": ">(timestamp,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamptz/?v=13", "text": "<(timestamp,timestamptz)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamptz/?v=13", "text": "<=(timestamp,timestamptz)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamptz/?v=13", "text": "=(timestamp,timestamptz)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamptz/?v=13", "text": ">=(timestamp,timestamptz)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamptz/?v=13", "text": ">(timestamp,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamptz/?v=13", "text": "<(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=13", "text": "<=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=13", "text": "=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=13", "text": ">=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=13", "text": ">(timestamptz,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-date/?v=13", "text": "<(timestamptz,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-date/?v=13", "text": "<=(timestamptz,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamptz-date/?v=13", "text": "=(timestamptz,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-date/?v=13", "text": ">=(timestamptz,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamptz-date/?v=13", "text": ">(timestamptz,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamp/?v=13", "text": "<(timestamptz,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-timestamp/?v=13", "text": "<=(timestamptz,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamptz-timestamp/?v=13", "text": "=(timestamptz,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-timestamp/?v=13", "text": ">=(timestamptz,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamptz-timestamp/?v=13", "text": ">(timestamptz,timestamp)"}, "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": "date_cmp(date,date)", "left_type": {"url": "/wiki/type/date/?v=13", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=13", "text": "date"}, "result_type": "int4"}, {"number": "2", "function": "date_sortsupport(internal)", "left_type": {"url": "/wiki/type/date/?v=13", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=13", "text": "date"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/date/?v=13", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=13", "text": "date"}, "result_type": "bool"}, {"number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": {"url": "/wiki/type/date/?v=13", "text": "date"}, "right_type": {"url": "/wiki/type/timestamp/?v=13", "text": "timestamp"}, "result_type": "int4"}, {"number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": {"url": "/wiki/type/date/?v=13", "text": "date"}, "right_type": {"url": "/wiki/type/timestamptz/?v=13", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": {"url": "/wiki/type/timestamp/?v=13", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=13", "text": "timestamp"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamp/?v=13", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=13", "text": "timestamp"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/timestamp/?v=13", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=13", "text": "timestamp"}, "result_type": "bool"}, {"number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": {"url": "/wiki/type/timestamp/?v=13", "text": "timestamp"}, "right_type": {"url": "/wiki/type/date/?v=13", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": {"url": "/wiki/type/timestamp/?v=13", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamptz/?v=13", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": {"url": "/wiki/type/timestamptz/?v=13", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=13", "text": "timestamptz"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamptz/?v=13", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=13", "text": "timestamptz"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/timestamptz/?v=13", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=13", "text": "timestamptz"}, "result_type": "bool"}, {"number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": {"url": "/wiki/type/timestamptz/?v=13", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/date/?v=13", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": {"url": "/wiki/type/timestamptz/?v=13", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamp/?v=13", "text": "timestamp"}, "result_type": "int4"}, {"number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": {"url": "/wiki/type/date/?v=13", "text": "date"}, "right_type": {"url": "/wiki/type/interval/?v=13", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamp/?v=13", "text": "timestamp"}, "right_type": {"url": "/wiki/type/interval/?v=13", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamptz/?v=13", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/interval/?v=13", "text": "interval"}, "result_type": "bool"}], "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-date_ops/?v=13", "text": "date_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/date/?v=13", "text": "date"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamptz_ops/?v=13", "text": "timestamptz_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamptz/?v=13", "text": "timestamptz"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamp_ops/?v=13", "text": "timestamp_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamp/?v=13", "text": "timestamp"}}], "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/13/indexes-opclass.html", "anchor": "", "locale": "zh-Hans", "version": "13", "build_id": 66, "page_key": "indexes-opclass.html", "extraction": "concept-introduction", "source_hash": "a0195016f729f1cf7c03c7c1344f2a62ff6b78f9a4eb1f299eab7720fd80182c", "fragment_sha256": "dad5545190ebde655fce48dfc13cd02d2863166fac7cf0c2b28b059c9e419ae4", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "snapshot:sha256:a13a825c39f0268ef1cfe9137e283e38d0da73b2d7894f0733c7b26372a4f6a4", "translated_from_revision": null}, "body_sha256": "bd1c22ec360b83483b9b57f4a7047b8f8d9c31836de106d613b6466641eeb2fe", "runtime_rerun": false, "authored_translation": "source-derived-structured-summary", "source_facts_revision": "6ec3c82726af92b7dec873fa1cdf881eca92a4219787dfad05acb6b10e041fd6"}, "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": "timestamptz_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002", "description_zh_html": "<p>timestamptz_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002</p><dl><dt>\u540d\u79f0</dt><dd><code>timestamptz_ops</code></dd><dt>\u8fd0\u7b97\u7b26\u65cf</dt><dd><code>datetime_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>timestamptz</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;(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</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>date_cmp(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>date_sortsupport(internal)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>bool</code></td></tr><tr><td><code>1</code></td><td><code>date_cmp_timestamp(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>date_cmp_timestamptz(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>timestamp_sortsupport(internal)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>bool</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp_date(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp_timestamptz(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>timestamp_sortsupport(internal)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>bool</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp_date(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp_timestamp(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>3</code></td><td><code>in_range(date,date,interval,bool,bool)</code></td><td><code>date</code></td><td><code>interval</code></td><td><code>bool</code></td></tr><tr><td><code>3</code></td><td><code>in_range(timestamp,timestamp,interval,bool,bool)</code></td><td><code>timestamp</code></td><td><code>interval</code></td><td><code>bool</code></td></tr><tr><td><code>3</code></td><td><code>in_range(timestamptz,timestamptz,interval,bool,bool)</code></td><td><code>timestamptz</code></td><td><code>interval</code></td><td><code>bool</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/13/indexes-opclass.html\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "summary": "timestamptz_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002", "version": "13", "link_map": {"/zh/docs/13/indexes-opclass.html": "/docs/13/indexes-opclass.html"}, "body_html": "<p>timestamptz_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002</p><dl><dt>\u540d\u79f0</dt><dd><code>timestamptz_ops</code></dd><dt>\u8fd0\u7b97\u7b26\u65cf</dt><dd><code>datetime_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>timestamptz</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;(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</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>date_cmp(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>date_sortsupport(internal)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>bool</code></td></tr><tr><td><code>1</code></td><td><code>date_cmp_timestamp(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>date_cmp_timestamptz(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>timestamp_sortsupport(internal)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>bool</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp_date(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp_timestamptz(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>timestamp_sortsupport(internal)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>bool</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp_date(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp_timestamp(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>3</code></td><td><code>in_range(date,date,interval,bool,bool)</code></td><td><code>date</code></td><td><code>interval</code></td><td><code>bool</code></td></tr><tr><td><code>3</code></td><td><code>in_range(timestamp,timestamp,interval,bool,bool)</code></td><td><code>timestamp</code></td><td><code>interval</code></td><td><code>bool</code></td></tr><tr><td><code>3</code></td><td><code>in_range(timestamptz,timestamptz,interval,bool,bool)</code></td><td><code>timestamptz</code></td><td><code>interval</code></td><td><code>bool</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/13/indexes-opclass.html\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>", "body_sha256": "2cc75d0a129449a5f1b47388c9a0a2076d3e4880add4eeb709a451b5ae251247", "content_hash": "bfcfcb545402bc68137c88e45a649260a8711bf5e74e5651e3591ac3b857223c", "source_database": "center", "source_revision": "6ec3c82726af92b7dec873fa1cdf881eca92a4219787dfad05acb6b10e041fd6"}, "operators": [{"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,date)", "strategy": "1", "left_type": "date", "right_type": "date", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,date)", "strategy": "2", "left_type": "date", "right_type": "date", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,date)", "strategy": "3", "left_type": "date", "right_type": "date", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,date)", "strategy": "4", "left_type": "date", "right_type": "date", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,date)", "strategy": "5", "left_type": "date", "right_type": "date", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamp)", "strategy": "1", "left_type": "date", "right_type": "timestamp", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamp)", "strategy": "2", "left_type": "date", "right_type": "timestamp", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamp)", "strategy": "3", "left_type": "date", "right_type": "timestamp", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamp)", "strategy": "4", "left_type": "date", "right_type": "timestamp", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamp)", "strategy": "5", "left_type": "date", "right_type": "timestamp", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamptz)", "strategy": "1", "left_type": "date", "right_type": "timestamptz", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamptz)", "strategy": "2", "left_type": "date", "right_type": "timestamptz", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamptz)", "strategy": "3", "left_type": "date", "right_type": "timestamptz", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamptz)", "strategy": "4", "left_type": "date", "right_type": "timestamptz", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamptz)", "strategy": "5", "left_type": "date", "right_type": "timestamptz", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamp)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamp", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamp)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamp", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamp)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamp", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamp)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamp", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamp)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamp", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,date)", "strategy": "1", "left_type": "timestamp", "right_type": "date", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,date)", "strategy": "2", "left_type": "timestamp", "right_type": "date", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,date)", "strategy": "3", "left_type": "timestamp", "right_type": "date", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,date)", "strategy": "4", "left_type": "timestamp", "right_type": "date", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,date)", "strategy": "5", "left_type": "timestamp", "right_type": "date", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamptz)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamptz", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamptz)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamptz", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamptz)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamptz", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamptz)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamptz", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamptz)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamptz", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamptz)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamptz", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamptz)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamptz", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamptz)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamptz", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamptz)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamptz", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamptz)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamptz", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,date)", "strategy": "1", "left_type": "timestamptz", "right_type": "date", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,date)", "strategy": "2", "left_type": "timestamptz", "right_type": "date", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,date)", "strategy": "3", "left_type": "timestamptz", "right_type": "date", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,date)", "strategy": "4", "left_type": "timestamptz", "right_type": "date", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,date)", "strategy": "5", "left_type": "timestamptz", "right_type": "date", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamp)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamp", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamp)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamp", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamp)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamp", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamp)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamp", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamp)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamp", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamptz-timestamp", "sort_family_slug": ""}], "signature": "btree/timestamptz_ops", "tables_zh": [{"key": "operators", "rows": [{"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-date/?v=13", "text": "<(date,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-date/?v=13", "text": "<=(date,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-date/?v=13", "text": "=(date,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-date/?v=13", "text": ">=(date,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-date/?v=13", "text": ">(date,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-timestamp/?v=13", "text": "<(date,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamp/?v=13", "text": "<=(date,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-timestamp/?v=13", "text": "=(date,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamp/?v=13", "text": ">=(date,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-timestamp/?v=13", "text": ">(date,timestamp)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-timestamptz/?v=13", "text": "<(date,timestamptz)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamptz/?v=13", "text": "<=(date,timestamptz)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-timestamptz/?v=13", "text": "=(date,timestamptz)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamptz/?v=13", "text": ">=(date,timestamptz)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-timestamptz/?v=13", "text": ">(date,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamp/?v=13", "text": "<(timestamp,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamp/?v=13", "text": "<=(timestamp,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamp/?v=13", "text": "=(timestamp,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamp/?v=13", "text": ">=(timestamp,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamp/?v=13", "text": ">(timestamp,timestamp)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-date/?v=13", "text": "<(timestamp,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-date/?v=13", "text": "<=(timestamp,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-date/?v=13", "text": "=(timestamp,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-date/?v=13", "text": ">=(timestamp,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-date/?v=13", "text": ">(timestamp,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamptz/?v=13", "text": "<(timestamp,timestamptz)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamptz/?v=13", "text": "<=(timestamp,timestamptz)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamptz/?v=13", "text": "=(timestamp,timestamptz)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamptz/?v=13", "text": ">=(timestamp,timestamptz)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamptz/?v=13", "text": ">(timestamp,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamptz/?v=13", "text": "<(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=13", "text": "<=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=13", "text": "=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=13", "text": ">=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=13", "text": ">(timestamptz,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-date/?v=13", "text": "<(timestamptz,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-date/?v=13", "text": "<=(timestamptz,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamptz-date/?v=13", "text": "=(timestamptz,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-date/?v=13", "text": ">=(timestamptz,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamptz-date/?v=13", "text": ">(timestamptz,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamp/?v=13", "text": "<(timestamptz,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-timestamp/?v=13", "text": "<=(timestamptz,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamptz-timestamp/?v=13", "text": "=(timestamptz,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-timestamp/?v=13", "text": ">=(timestamptz,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamptz-timestamp/?v=13", "text": ">(timestamptz,timestamp)"}, "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": "date_cmp(date,date)", "left_type": {"url": "/wiki/type/date/?v=13", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=13", "text": "date"}, "result_type": "int4"}, {"number": "2", "function": "date_sortsupport(internal)", "left_type": {"url": "/wiki/type/date/?v=13", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=13", "text": "date"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/date/?v=13", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=13", "text": "date"}, "result_type": "bool"}, {"number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": {"url": "/wiki/type/date/?v=13", "text": "date"}, "right_type": {"url": "/wiki/type/timestamp/?v=13", "text": "timestamp"}, "result_type": "int4"}, {"number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": {"url": "/wiki/type/date/?v=13", "text": "date"}, "right_type": {"url": "/wiki/type/timestamptz/?v=13", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": {"url": "/wiki/type/timestamp/?v=13", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=13", "text": "timestamp"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamp/?v=13", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=13", "text": "timestamp"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/timestamp/?v=13", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=13", "text": "timestamp"}, "result_type": "bool"}, {"number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": {"url": "/wiki/type/timestamp/?v=13", "text": "timestamp"}, "right_type": {"url": "/wiki/type/date/?v=13", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": {"url": "/wiki/type/timestamp/?v=13", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamptz/?v=13", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": {"url": "/wiki/type/timestamptz/?v=13", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=13", "text": "timestamptz"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamptz/?v=13", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=13", "text": "timestamptz"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/timestamptz/?v=13", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=13", "text": "timestamptz"}, "result_type": "bool"}, {"number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": {"url": "/wiki/type/timestamptz/?v=13", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/date/?v=13", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": {"url": "/wiki/type/timestamptz/?v=13", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamp/?v=13", "text": "timestamp"}, "result_type": "int4"}, {"number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": {"url": "/wiki/type/date/?v=13", "text": "date"}, "right_type": {"url": "/wiki/type/interval/?v=13", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamp/?v=13", "text": "timestamp"}, "right_type": {"url": "/wiki/type/interval/?v=13", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamptz/?v=13", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/interval/?v=13", "text": "interval"}, "result_type": "bool"}], "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-date_ops/?v=13", "text": "date_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/date/?v=13", "text": "date"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamptz_ops/?v=13", "text": "timestamptz_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamptz/?v=13", "text": "timestamptz"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamp_ops/?v=13", "text": "timestamp_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamp/?v=13", "text": "timestamp"}}], "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": "3127", "description": ["timestamptz_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/13/catalog-pg-amop.html", "method": "same-major semantic node", "sha256": "344df36a802a949f2a1e178d6708bf07012cd0daff6368987f59cab3023d2853", "language": "zh", "matched_nodes": ["#CATALOG-PG-AMOP/p[2]/em[1]"]}, {"url": "/docs/13/indexes-opclass.html", "method": "same-major semantic node", "sha256": "000af3648471325f388091b478e7d22683ce58bd59f5f9463c09b36504a22d3d", "language": "zh", "matched_nodes": ["#INDEXES-OPCLASS/p[3]", "#INDEXES-OPCLASS/p[5]", "#INDEXES-OPCLASS/p[6]"]}], "language": "zh", "original_text": {"/versions/13/description/0": "B-tree operator class for timestamptz; member of datetime_ops.", "/versions/13/facts/0/label": "Object kind", "/versions/13/facts/0/value": "Operator class", "/versions/13/facts/1/label": "Index AM", "/versions/13/facts/2/label": "Input type", "/versions/13/facts/3/label": "Stored key type", "/versions/13/facts/3/value": "Same as input type (catalog zero)", "/versions/13/facts/4/label": "Default class", "/versions/13/facts/4/value": "yes", "/versions/13/tables/0/title": "Family operator strategies", "/versions/13/tables/1/title": "Family support functions", "/versions/13/tables/2/title": "Classes in this family", "/versions/13/related/0/label": "B-tree Index AM", "/versions/13/related/1/label": "datetime_ops family", "/versions/13/related/2/label": "timestamptz data type", "/versions/13/sections/0/title": "Operator classes and families", "/versions/13/tables/0/rows/0/scope": "Family member", "/versions/13/tables/0/rows/1/scope": "Family member", "/versions/13/tables/0/rows/2/scope": "Family member", "/versions/13/tables/0/rows/3/scope": "Family member", "/versions/13/tables/0/rows/4/scope": "Family member", "/versions/13/tables/0/rows/5/scope": "Family member", "/versions/13/tables/0/rows/6/scope": "Family member", "/versions/13/tables/0/rows/7/scope": "Family member", "/versions/13/tables/0/rows/8/scope": "Family member", "/versions/13/tables/0/rows/9/scope": "Family member", "/versions/13/tables/0/rows/10/scope": "Family member", "/versions/13/tables/0/rows/11/scope": "Family member", "/versions/13/tables/0/rows/12/scope": "Family member", "/versions/13/tables/0/rows/13/scope": "Family member", "/versions/13/tables/0/rows/14/scope": "Family member", "/versions/13/tables/0/rows/15/scope": "Family member", "/versions/13/tables/0/rows/16/scope": "Family member", "/versions/13/tables/0/rows/17/scope": "Family member", "/versions/13/tables/0/rows/18/scope": "Family member", "/versions/13/tables/0/rows/19/scope": "Family member", "/versions/13/tables/0/rows/20/scope": "Family member", "/versions/13/tables/0/rows/21/scope": "Family member", "/versions/13/tables/0/rows/22/scope": "Family member", "/versions/13/tables/0/rows/23/scope": "Family member", "/versions/13/tables/0/rows/24/scope": "Family member", "/versions/13/tables/0/rows/25/scope": "Family member", "/versions/13/tables/0/rows/26/scope": "Family member", "/versions/13/tables/0/rows/27/scope": "Family member", "/versions/13/tables/0/rows/28/scope": "Family member", "/versions/13/tables/0/rows/29/scope": "Family member", "/versions/13/tables/0/rows/30/scope": "Class input pair", "/versions/13/tables/0/rows/31/scope": "Class input pair", "/versions/13/tables/0/rows/32/scope": "Class input pair", "/versions/13/tables/0/rows/33/scope": "Class input pair", "/versions/13/tables/0/rows/34/scope": "Class input pair", "/versions/13/tables/0/rows/35/scope": "Family member", "/versions/13/tables/0/rows/36/scope": "Family member", "/versions/13/tables/0/rows/37/scope": "Family member", "/versions/13/tables/0/rows/38/scope": "Family member", "/versions/13/tables/0/rows/39/scope": "Family member", "/versions/13/tables/0/rows/40/scope": "Family member", "/versions/13/tables/0/rows/41/scope": "Family member", "/versions/13/tables/0/rows/42/scope": "Family member", "/versions/13/tables/0/rows/43/scope": "Family member", "/versions/13/tables/0/rows/44/scope": "Family member", "/versions/13/sections/0/paragraphs/0": "An index definition can specify an operator class for each column of an index.", "/versions/13/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/13/sections/0/paragraphs/2": "There are also some built-in operator classes besides the default ones:", "/versions/13/tables/0/rows/0/purpose": "search", "/versions/13/tables/0/rows/1/purpose": "search", "/versions/13/tables/0/rows/2/purpose": "search", "/versions/13/tables/0/rows/3/purpose": "search", "/versions/13/tables/0/rows/4/purpose": "search", "/versions/13/tables/0/rows/5/purpose": "search", "/versions/13/tables/0/rows/6/purpose": "search", "/versions/13/tables/0/rows/7/purpose": "search", "/versions/13/tables/0/rows/8/purpose": "search", "/versions/13/tables/0/rows/9/purpose": "search", "/versions/13/tables/2/rows/0/default": "yes", "/versions/13/tables/2/rows/1/default": "yes", "/versions/13/tables/2/rows/2/default": "yes", "/versions/13/tables/0/columns/0/label": "Operator overload", "/versions/13/tables/0/columns/1/label": "Strategy", "/versions/13/tables/0/columns/2/label": "Purpose", "/versions/13/tables/0/columns/3/label": "Ordering family", "/versions/13/tables/0/columns/4/label": "Membership scope", "/versions/13/tables/0/columns/5/label": "Source description", "/versions/13/tables/0/rows/10/purpose": "search", "/versions/13/tables/0/rows/11/purpose": "search", "/versions/13/tables/0/rows/12/purpose": "search", "/versions/13/tables/0/rows/13/purpose": "search", "/versions/13/tables/0/rows/14/purpose": "search", "/versions/13/tables/0/rows/15/purpose": "search", "/versions/13/tables/0/rows/16/purpose": "search", "/versions/13/tables/0/rows/17/purpose": "search", "/versions/13/tables/0/rows/18/purpose": "search", "/versions/13/tables/0/rows/19/purpose": "search", "/versions/13/tables/0/rows/20/purpose": "search", "/versions/13/tables/0/rows/21/purpose": "search", "/versions/13/tables/0/rows/22/purpose": "search", "/versions/13/tables/0/rows/23/purpose": "search", "/versions/13/tables/0/rows/24/purpose": "search", "/versions/13/tables/0/rows/25/purpose": "search", "/versions/13/tables/0/rows/26/purpose": "search", "/versions/13/tables/0/rows/27/purpose": "search", "/versions/13/tables/0/rows/28/purpose": "search", "/versions/13/tables/0/rows/29/purpose": "search", "/versions/13/tables/0/rows/30/purpose": "search", "/versions/13/tables/0/rows/31/purpose": "search", "/versions/13/tables/0/rows/32/purpose": "search", "/versions/13/tables/0/rows/33/purpose": "search", "/versions/13/tables/0/rows/34/purpose": "search", "/versions/13/tables/0/rows/35/purpose": "search", "/versions/13/tables/0/rows/36/purpose": "search", "/versions/13/tables/0/rows/37/purpose": "search", "/versions/13/tables/0/rows/38/purpose": "search", "/versions/13/tables/0/rows/39/purpose": "search", "/versions/13/tables/0/rows/40/purpose": "search", "/versions/13/tables/0/rows/41/purpose": "search", "/versions/13/tables/0/rows/42/purpose": "search", "/versions/13/tables/0/rows/43/purpose": "search", "/versions/13/tables/0/rows/44/purpose": "search", "/versions/13/tables/1/columns/0/label": "Support number", "/versions/13/tables/1/columns/1/label": "Left type", "/versions/13/tables/1/columns/2/label": "Right type", "/versions/13/tables/1/columns/3/label": "Function signature", "/versions/13/tables/1/columns/4/label": "Result type", "/versions/13/tables/2/columns/0/label": "Class", "/versions/13/tables/2/columns/1/label": "Input type", "/versions/13/tables/2/columns/2/label": "Key type", "/versions/13/tables/2/columns/3/label": "Default", "/versions/13/tables/2/rows/0/key_type": "Same as input type", "/versions/13/tables/2/rows/1/key_type": "Same as input type", "/versions/13/tables/2/rows/2/key_type": "Same as input type", "/versions/13/tables/0/rows/0/description": "less than", "/versions/13/tables/0/rows/1/description": "less than or equal", "/versions/13/tables/0/rows/2/description": "equal", "/versions/13/tables/0/rows/3/description": "greater than or equal", "/versions/13/tables/0/rows/4/description": "greater than", "/versions/13/tables/0/rows/5/description": "less than", "/versions/13/tables/0/rows/6/description": "less than or equal", "/versions/13/tables/0/rows/7/description": "equal", "/versions/13/tables/0/rows/8/description": "greater than or equal", "/versions/13/tables/0/rows/9/description": "greater than", "/versions/13/tables/0/rows/10/description": "less than", "/versions/13/tables/0/rows/11/description": "less than or equal", "/versions/13/tables/0/rows/12/description": "equal", "/versions/13/tables/0/rows/13/description": "greater than or equal", "/versions/13/tables/0/rows/14/description": "greater than", "/versions/13/tables/0/rows/15/description": "less than", "/versions/13/tables/0/rows/16/description": "less than or equal", "/versions/13/tables/0/rows/17/description": "equal", "/versions/13/tables/0/rows/18/description": "greater than or equal", "/versions/13/tables/0/rows/19/description": "greater than", "/versions/13/tables/0/rows/20/description": "less than", "/versions/13/tables/0/rows/21/description": "less than or equal", "/versions/13/tables/0/rows/22/description": "equal", "/versions/13/tables/0/rows/23/description": "greater than or equal", "/versions/13/tables/0/rows/24/description": "greater than", "/versions/13/tables/0/rows/25/description": "less than", "/versions/13/tables/0/rows/26/description": "less than or equal", "/versions/13/tables/0/rows/27/description": "equal", "/versions/13/tables/0/rows/28/description": "greater than or equal", "/versions/13/tables/0/rows/29/description": "greater than", "/versions/13/tables/0/rows/30/description": "less than", "/versions/13/tables/0/rows/31/description": "less than or equal", "/versions/13/tables/0/rows/32/description": "equal", "/versions/13/tables/0/rows/33/description": "greater than or equal", "/versions/13/tables/0/rows/34/description": "greater than", "/versions/13/tables/0/rows/35/description": "less than", "/versions/13/tables/0/rows/36/description": "less than or equal", "/versions/13/tables/0/rows/37/description": "equal", "/versions/13/tables/0/rows/38/description": "greater than or equal", "/versions/13/tables/0/rows/39/description": "greater than", "/versions/13/tables/0/rows/40/description": "less than", "/versions/13/tables/0/rows/41/description": "less than or equal", "/versions/13/tables/0/rows/42/description": "equal", "/versions/13/tables/0/rows/43/description": "greater than or equal", "/versions/13/tables/0/rows/44/description": "greater than"}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "1c06404373c024f58af6431c15a5fe215eab27a936dac721e87fe71e0ec52814", "canonical_center_text_hash": "bfcfcb545402bc68137c88e45a649260a8711bf5e74e5651e3591ac3b857223c"}, "description_zh": "timestamptz_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002", "comparison_data": {"kind": "class", "classes": [{"name": "date_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "date"}, {"name": "timestamp_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamp"}, {"name": "timestamptz_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamptz"}], "operators": [{"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,date)", "strategy": "1", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,date)", "strategy": "2", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,date)", "strategy": "3", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,date)", "strategy": "4", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,date)", "strategy": "5", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamp)", "strategy": "1", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamp)", "strategy": "2", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamp)", "strategy": "3", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamp)", "strategy": "4", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamp)", "strategy": "5", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamptz)", "strategy": "1", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamptz)", "strategy": "2", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamptz)", "strategy": "3", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamptz)", "strategy": "4", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamptz)", "strategy": "5", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,date)", "strategy": "1", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,date)", "strategy": "2", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,date)", "strategy": "3", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,date)", "strategy": "4", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,date)", "strategy": "5", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamp)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamp)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamp)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamp)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamp)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamptz)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamptz)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamptz)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamptz)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamptz)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,date)", "strategy": "1", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,date)", "strategy": "2", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,date)", "strategy": "3", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,date)", "strategy": "4", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,date)", "strategy": "5", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamp)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamp)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamp)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamp)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamp)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamptz)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamptz)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamptz)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamptz)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamptz)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}], "attributes": {"name": "timestamptz_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamptz"}, "support_functions": [{"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp(date,date)", "left_type": "date", "right_type": "date", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": "date", "right_type": "timestamp", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": "date", "right_type": "timestamptz", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": "timestamp", "right_type": "date", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": "timestamp", "right_type": "timestamp", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": "timestamp", "right_type": "timestamptz", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": "timestamptz", "right_type": "date", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": "timestamptz", "right_type": "timestamp", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": "timestamptz", "right_type": "timestamptz", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "date_sortsupport(internal)", "left_type": "date", "right_type": "date", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamp", "right_type": "timestamp", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamptz", "right_type": "timestamptz", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": "date", "right_type": "interval", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": "timestamp", "right_type": "interval", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": "timestamptz", "right_type": "interval", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "date", "right_type": "date", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "timestamp", "right_type": "timestamp", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "timestamptz", "right_type": "timestamptz", "result_type": "bool"}]}, "comparison_hash": "d3575a8c57eb77b633d63e9d8efa922b2179d112603ef5b2639e9b41eb2ff351", "manual_language": "zh", "support_functions": [{"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp(date,date)", "left_type": "date", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "date_sortsupport(internal)", "left_type": "date", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "date", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": "date", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": "date", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": "timestamp", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamp", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "timestamp", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": "timestamp", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": "timestamp", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": "timestamptz", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamptz", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "timestamptz", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": "timestamptz", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": "timestamptz", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": "date", "right_type": "interval", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": "timestamp", "right_type": "interval", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": "timestamptz", "right_type": "interval", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}], "description_zh_html": "<p>timestamptz_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002</p><dl><dt>\u540d\u79f0</dt><dd><code>timestamptz_ops</code></dd><dt>\u8fd0\u7b97\u7b26\u65cf</dt><dd><code>datetime_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>timestamptz</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;(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</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>date_cmp(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>date_sortsupport(internal)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>bool</code></td></tr><tr><td><code>1</code></td><td><code>date_cmp_timestamp(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>date_cmp_timestamptz(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>timestamp_sortsupport(internal)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>bool</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp_date(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp_timestamptz(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>timestamp_sortsupport(internal)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>bool</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp_date(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp_timestamp(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>3</code></td><td><code>in_range(date,date,interval,bool,bool)</code></td><td><code>date</code></td><td><code>interval</code></td><td><code>bool</code></td></tr><tr><td><code>3</code></td><td><code>in_range(timestamp,timestamp,interval,bool,bool)</code></td><td><code>timestamp</code></td><td><code>interval</code></td><td><code>bool</code></td></tr><tr><td><code>3</code></td><td><code>in_range(timestamptz,timestamptz,interval,bool,bool)</code></td><td><code>timestamptz</code></td><td><code>interval</code></td><td><code>bool</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/13/indexes-opclass.html\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "14": {"class": {"name": "timestamptz_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamptz"}, "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": "timestamptz"}, {"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": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-date/?v=14", "text": "<(date,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-date/?v=14", "text": "<=(date,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-date/?v=14", "text": "=(date,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-date/?v=14", "text": ">=(date,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-date/?v=14", "text": ">(date,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-timestamp/?v=14", "text": "<(date,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamp/?v=14", "text": "<=(date,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-timestamp/?v=14", "text": "=(date,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamp/?v=14", "text": ">=(date,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-timestamp/?v=14", "text": ">(date,timestamp)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-timestamptz/?v=14", "text": "<(date,timestamptz)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamptz/?v=14", "text": "<=(date,timestamptz)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-timestamptz/?v=14", "text": "=(date,timestamptz)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamptz/?v=14", "text": ">=(date,timestamptz)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-timestamptz/?v=14", "text": ">(date,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamp/?v=14", "text": "<(timestamp,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamp/?v=14", "text": "<=(timestamp,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamp/?v=14", "text": "=(timestamp,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamp/?v=14", "text": ">=(timestamp,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamp/?v=14", "text": ">(timestamp,timestamp)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-date/?v=14", "text": "<(timestamp,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-date/?v=14", "text": "<=(timestamp,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-date/?v=14", "text": "=(timestamp,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-date/?v=14", "text": ">=(timestamp,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-date/?v=14", "text": ">(timestamp,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamptz/?v=14", "text": "<(timestamp,timestamptz)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamptz/?v=14", "text": "<=(timestamp,timestamptz)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamptz/?v=14", "text": "=(timestamp,timestamptz)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamptz/?v=14", "text": ">=(timestamp,timestamptz)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamptz/?v=14", "text": ">(timestamp,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamptz/?v=14", "text": "<(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=14", "text": "<=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=14", "text": "=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=14", "text": ">=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=14", "text": ">(timestamptz,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-date/?v=14", "text": "<(timestamptz,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-date/?v=14", "text": "<=(timestamptz,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamptz-date/?v=14", "text": "=(timestamptz,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-date/?v=14", "text": ">=(timestamptz,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamptz-date/?v=14", "text": ">(timestamptz,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamp/?v=14", "text": "<(timestamptz,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-timestamp/?v=14", "text": "<=(timestamptz,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamptz-timestamp/?v=14", "text": "=(timestamptz,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-timestamp/?v=14", "text": ">=(timestamptz,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamptz-timestamp/?v=14", "text": ">(timestamptz,timestamp)"}, "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": "date_cmp(date,date)", "left_type": {"url": "/wiki/type/date/?v=14", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=14", "text": "date"}, "result_type": "int4"}, {"number": "2", "function": "date_sortsupport(internal)", "left_type": {"url": "/wiki/type/date/?v=14", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=14", "text": "date"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/date/?v=14", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=14", "text": "date"}, "result_type": "bool"}, {"number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": {"url": "/wiki/type/date/?v=14", "text": "date"}, "right_type": {"url": "/wiki/type/timestamp/?v=14", "text": "timestamp"}, "result_type": "int4"}, {"number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": {"url": "/wiki/type/date/?v=14", "text": "date"}, "right_type": {"url": "/wiki/type/timestamptz/?v=14", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": {"url": "/wiki/type/timestamp/?v=14", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=14", "text": "timestamp"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamp/?v=14", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=14", "text": "timestamp"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/timestamp/?v=14", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=14", "text": "timestamp"}, "result_type": "bool"}, {"number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": {"url": "/wiki/type/timestamp/?v=14", "text": "timestamp"}, "right_type": {"url": "/wiki/type/date/?v=14", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": {"url": "/wiki/type/timestamp/?v=14", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamptz/?v=14", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": {"url": "/wiki/type/timestamptz/?v=14", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=14", "text": "timestamptz"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamptz/?v=14", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=14", "text": "timestamptz"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/timestamptz/?v=14", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=14", "text": "timestamptz"}, "result_type": "bool"}, {"number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": {"url": "/wiki/type/timestamptz/?v=14", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/date/?v=14", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": {"url": "/wiki/type/timestamptz/?v=14", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamp/?v=14", "text": "timestamp"}, "result_type": "int4"}, {"number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": {"url": "/wiki/type/date/?v=14", "text": "date"}, "right_type": {"url": "/wiki/type/interval/?v=14", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamp/?v=14", "text": "timestamp"}, "right_type": {"url": "/wiki/type/interval/?v=14", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamptz/?v=14", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/interval/?v=14", "text": "interval"}, "result_type": "bool"}], "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-date_ops/?v=14", "text": "date_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/date/?v=14", "text": "date"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamptz_ops/?v=14", "text": "timestamptz_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamptz/?v=14", "text": "timestamptz"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamp_ops/?v=14", "text": "timestamp_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamp/?v=14", "text": "timestamp"}}], "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": ["timestamptz_ops", "btree/timestamptz_ops"], "classes": [{"name": "date_ops", "slug": "class-btree-date_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "date", "source_oid": "3122", "family_slug": "family-btree-datetime_ops"}, {"name": "timestamptz_ops", "slug": "class-btree-timestamptz_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamptz", "source_oid": "3127", "family_slug": "family-btree-datetime_ops"}, {"name": "timestamp_ops", "slug": "class-btree-timestamp_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamp", "source_oid": "3128", "family_slug": "family-btree-datetime_ops"}], "related": [{"url": "/wiki/indexam/btree/?v=14", "label": "B-tree \u7d22\u5f15\u8bbf\u95ee\u65b9\u6cd5"}, {"url": "/wiki/opclass/family-btree-datetime_ops/?v=14", "label": "datetime_ops \u5bb6\u65cf"}, {"url": "/wiki/type/timestamptz/?v=14", "label": "timestamptz \u6570\u636e\u7c7b\u578b"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v14.24/postgresql-14.24.tar.bz2", "label": "14.24", "major": "14", "channel": "stable", "revision": "a7fa7ed3d558172355f51406097a7bd4f6b473be80f311ef7cda96bf383d8897", "source_sha256": "a7fa7ed3d558172355f51406097a7bd4f6b473be80f311ef7cda96bf383d8897", "manual_fingerprint": "1d055c6dc55d4defe2b6e9d0f842a47005487b21025b67e51d06721d3c122f71", "catalog_fingerprint": "9e0116f26e5ce870719efb77ef7b73e30c7928f8af27cbe87fdea32efe3811ef"}, "sources": [{"url": "https://ftp.postgresql.org/pub/source/v14.24/postgresql-14.24.tar.bz2", "label": "Matching PostgreSQL source archive", "sha256": "a7fa7ed3d558172355f51406097a7bd4f6b473be80f311ef7cda96bf383d8897"}, {"url": "/docs/14/indexes-opclass.html", "path": "indexes-opclass.html", "label": "PostgreSQL 14 English manual: indexes-opclass.html", "sha256": "b7e355fb7c1e6fe473dc70d4c7e73cd3aa9a11dddd2e32ece5e8effbdb910c0b"}, {"url": "/docs/14/catalog-pg-opclass.html", "path": "catalog-pg-opclass.html", "label": "PostgreSQL 14 English manual: catalog-pg-opclass.html", "sha256": "5d3fff50f233fb5f05727c29139ff9b4505048755dbb88acbcf550528005f2dd"}, {"url": "/docs/14/catalog-pg-amop.html", "path": "catalog-pg-amop.html", "label": "PostgreSQL 14 English manual: catalog-pg-amop.html", "sha256": "402b87d7fb1a313b096ba5349a676ae38d507e2eb98739d6ed7f0681e0b9a9a4"}, {"url": "/docs/14/catalog-pg-amproc.html", "path": "catalog-pg-amproc.html", "label": "PostgreSQL 14 English manual: catalog-pg-amproc.html", "sha256": "5b918a7eba7592dc13a32a8fcbb7ca0a198d8f4d2b8a85b3c7befbc7705d44a1"}], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-structured-summary", "manual": {"url": "/zh/docs/14/indexes-opclass.html", "anchor": "", "locale": "zh-Hans", "version": "14", "build_id": 99, "page_key": "indexes-opclass.html", "extraction": "concept-introduction", "source_hash": "503c4861e6fb3e17851c6c632abd4dbe3987258ed746ad484a08f199d2add809", "fragment_sha256": "dad5545190ebde655fce48dfc13cd02d2863166fac7cf0c2b28b059c9e419ae4", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "git:b1b500221dbe5437cfca004d6b04d3f6e422765d;html-sha256:87e6aa4fd6e1ec85c5f4a6de4f5647cfd9e5de734ca2c266d32b6d6192c662ef", "translated_from_revision": null}, "body_sha256": "1ceeb14ea477ade234436534fcbc6d63513c0a6b54725e79727ab78977a3c5da", "runtime_rerun": false, "authored_translation": "source-derived-structured-summary", "source_facts_revision": "a7fa7ed3d558172355f51406097a7bd4f6b473be80f311ef7cda96bf383d8897"}, "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": "timestamptz"}, {"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/timestamptz_ops (class)", "locale": "zh-Hans", "source": {"key": "class-btree-timestamptz_ops", "locale": "zh-Hans", "version": "14", "text_hash": "08e88f341e3eb6337b3290a04860e382ee77b41932336116151a06dc07e48daf", "collection": "opclass", "dataset_hash": "7c31b524dfe136022d39a6ae8dcfac6b3bbd5f8fdaf422536599981252aff0c9", "source_database": "center", "source_revision": "a7fa7ed3d558172355f51406097a7bd4f6b473be80f311ef7cda96bf383d8897"}, "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": "timestamptz"}, {"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": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-date/?v=14", "text": "<(date,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-date/?v=14", "text": "<=(date,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-date/?v=14", "text": "=(date,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-date/?v=14", "text": ">=(date,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-date/?v=14", "text": ">(date,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-timestamp/?v=14", "text": "<(date,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamp/?v=14", "text": "<=(date,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-timestamp/?v=14", "text": "=(date,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamp/?v=14", "text": ">=(date,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-timestamp/?v=14", "text": ">(date,timestamp)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-timestamptz/?v=14", "text": "<(date,timestamptz)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamptz/?v=14", "text": "<=(date,timestamptz)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-timestamptz/?v=14", "text": "=(date,timestamptz)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamptz/?v=14", "text": ">=(date,timestamptz)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-timestamptz/?v=14", "text": ">(date,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamp/?v=14", "text": "<(timestamp,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamp/?v=14", "text": "<=(timestamp,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamp/?v=14", "text": "=(timestamp,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamp/?v=14", "text": ">=(timestamp,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamp/?v=14", "text": ">(timestamp,timestamp)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-date/?v=14", "text": "<(timestamp,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-date/?v=14", "text": "<=(timestamp,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-date/?v=14", "text": "=(timestamp,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-date/?v=14", "text": ">=(timestamp,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-date/?v=14", "text": ">(timestamp,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamptz/?v=14", "text": "<(timestamp,timestamptz)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamptz/?v=14", "text": "<=(timestamp,timestamptz)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamptz/?v=14", "text": "=(timestamp,timestamptz)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamptz/?v=14", "text": ">=(timestamp,timestamptz)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamptz/?v=14", "text": ">(timestamp,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamptz/?v=14", "text": "<(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=14", "text": "<=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=14", "text": "=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=14", "text": ">=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=14", "text": ">(timestamptz,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-date/?v=14", "text": "<(timestamptz,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-date/?v=14", "text": "<=(timestamptz,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamptz-date/?v=14", "text": "=(timestamptz,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-date/?v=14", "text": ">=(timestamptz,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamptz-date/?v=14", "text": ">(timestamptz,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamp/?v=14", "text": "<(timestamptz,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-timestamp/?v=14", "text": "<=(timestamptz,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamptz-timestamp/?v=14", "text": "=(timestamptz,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-timestamp/?v=14", "text": ">=(timestamptz,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamptz-timestamp/?v=14", "text": ">(timestamptz,timestamp)"}, "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": "date_cmp(date,date)", "left_type": {"url": "/wiki/type/date/?v=14", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=14", "text": "date"}, "result_type": "int4"}, {"number": "2", "function": "date_sortsupport(internal)", "left_type": {"url": "/wiki/type/date/?v=14", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=14", "text": "date"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/date/?v=14", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=14", "text": "date"}, "result_type": "bool"}, {"number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": {"url": "/wiki/type/date/?v=14", "text": "date"}, "right_type": {"url": "/wiki/type/timestamp/?v=14", "text": "timestamp"}, "result_type": "int4"}, {"number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": {"url": "/wiki/type/date/?v=14", "text": "date"}, "right_type": {"url": "/wiki/type/timestamptz/?v=14", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": {"url": "/wiki/type/timestamp/?v=14", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=14", "text": "timestamp"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamp/?v=14", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=14", "text": "timestamp"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/timestamp/?v=14", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=14", "text": "timestamp"}, "result_type": "bool"}, {"number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": {"url": "/wiki/type/timestamp/?v=14", "text": "timestamp"}, "right_type": {"url": "/wiki/type/date/?v=14", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": {"url": "/wiki/type/timestamp/?v=14", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamptz/?v=14", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": {"url": "/wiki/type/timestamptz/?v=14", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=14", "text": "timestamptz"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamptz/?v=14", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=14", "text": "timestamptz"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/timestamptz/?v=14", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=14", "text": "timestamptz"}, "result_type": "bool"}, {"number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": {"url": "/wiki/type/timestamptz/?v=14", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/date/?v=14", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": {"url": "/wiki/type/timestamptz/?v=14", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamp/?v=14", "text": "timestamp"}, "result_type": "int4"}, {"number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": {"url": "/wiki/type/date/?v=14", "text": "date"}, "right_type": {"url": "/wiki/type/interval/?v=14", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamp/?v=14", "text": "timestamp"}, "right_type": {"url": "/wiki/type/interval/?v=14", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamptz/?v=14", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/interval/?v=14", "text": "interval"}, "result_type": "bool"}], "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-date_ops/?v=14", "text": "date_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/date/?v=14", "text": "date"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamptz_ops/?v=14", "text": "timestamptz_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamptz/?v=14", "text": "timestamptz"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamp_ops/?v=14", "text": "timestamp_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamp/?v=14", "text": "timestamp"}}], "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/14/indexes-opclass.html", "anchor": "", "locale": "zh-Hans", "version": "14", "build_id": 99, "page_key": "indexes-opclass.html", "extraction": "concept-introduction", "source_hash": "503c4861e6fb3e17851c6c632abd4dbe3987258ed746ad484a08f199d2add809", "fragment_sha256": "dad5545190ebde655fce48dfc13cd02d2863166fac7cf0c2b28b059c9e419ae4", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "git:b1b500221dbe5437cfca004d6b04d3f6e422765d;html-sha256:87e6aa4fd6e1ec85c5f4a6de4f5647cfd9e5de734ca2c266d32b6d6192c662ef", "translated_from_revision": null}, "body_sha256": "1ceeb14ea477ade234436534fcbc6d63513c0a6b54725e79727ab78977a3c5da", "runtime_rerun": false, "authored_translation": "source-derived-structured-summary", "source_facts_revision": "a7fa7ed3d558172355f51406097a7bd4f6b473be80f311ef7cda96bf383d8897"}, "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": "timestamptz_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002", "description_zh_html": "<p>timestamptz_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002</p><dl><dt>\u540d\u79f0</dt><dd><code>timestamptz_ops</code></dd><dt>\u8fd0\u7b97\u7b26\u65cf</dt><dd><code>datetime_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>timestamptz</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;(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</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>date_cmp(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>date_sortsupport(internal)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>bool</code></td></tr><tr><td><code>1</code></td><td><code>date_cmp_timestamp(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>date_cmp_timestamptz(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>timestamp_sortsupport(internal)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>bool</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp_date(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp_timestamptz(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>timestamp_sortsupport(internal)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>bool</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp_date(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp_timestamp(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>3</code></td><td><code>in_range(date,date,interval,bool,bool)</code></td><td><code>date</code></td><td><code>interval</code></td><td><code>bool</code></td></tr><tr><td><code>3</code></td><td><code>in_range(timestamp,timestamp,interval,bool,bool)</code></td><td><code>timestamp</code></td><td><code>interval</code></td><td><code>bool</code></td></tr><tr><td><code>3</code></td><td><code>in_range(timestamptz,timestamptz,interval,bool,bool)</code></td><td><code>timestamptz</code></td><td><code>interval</code></td><td><code>bool</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/14/indexes-opclass.html\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "summary": "timestamptz_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002", "version": "14", "link_map": {"/zh/docs/14/indexes-opclass.html": "/docs/14/indexes-opclass.html"}, "body_html": "<p>timestamptz_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002</p><dl><dt>\u540d\u79f0</dt><dd><code>timestamptz_ops</code></dd><dt>\u8fd0\u7b97\u7b26\u65cf</dt><dd><code>datetime_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>timestamptz</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;(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</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>date_cmp(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>date_sortsupport(internal)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>bool</code></td></tr><tr><td><code>1</code></td><td><code>date_cmp_timestamp(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>date_cmp_timestamptz(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>timestamp_sortsupport(internal)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>bool</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp_date(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp_timestamptz(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>timestamp_sortsupport(internal)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>bool</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp_date(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp_timestamp(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>3</code></td><td><code>in_range(date,date,interval,bool,bool)</code></td><td><code>date</code></td><td><code>interval</code></td><td><code>bool</code></td></tr><tr><td><code>3</code></td><td><code>in_range(timestamp,timestamp,interval,bool,bool)</code></td><td><code>timestamp</code></td><td><code>interval</code></td><td><code>bool</code></td></tr><tr><td><code>3</code></td><td><code>in_range(timestamptz,timestamptz,interval,bool,bool)</code></td><td><code>timestamptz</code></td><td><code>interval</code></td><td><code>bool</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/14/indexes-opclass.html\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>", "body_sha256": "72647f1890476f8399964db562cd0a1a662f8431c5fb0a3609ca10c15f6c6a45", "content_hash": "08e88f341e3eb6337b3290a04860e382ee77b41932336116151a06dc07e48daf", "source_database": "center", "source_revision": "a7fa7ed3d558172355f51406097a7bd4f6b473be80f311ef7cda96bf383d8897"}, "operators": [{"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,date)", "strategy": "1", "left_type": "date", "right_type": "date", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,date)", "strategy": "2", "left_type": "date", "right_type": "date", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,date)", "strategy": "3", "left_type": "date", "right_type": "date", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,date)", "strategy": "4", "left_type": "date", "right_type": "date", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,date)", "strategy": "5", "left_type": "date", "right_type": "date", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamp)", "strategy": "1", "left_type": "date", "right_type": "timestamp", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamp)", "strategy": "2", "left_type": "date", "right_type": "timestamp", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamp)", "strategy": "3", "left_type": "date", "right_type": "timestamp", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamp)", "strategy": "4", "left_type": "date", "right_type": "timestamp", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamp)", "strategy": "5", "left_type": "date", "right_type": "timestamp", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamptz)", "strategy": "1", "left_type": "date", "right_type": "timestamptz", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamptz)", "strategy": "2", "left_type": "date", "right_type": "timestamptz", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamptz)", "strategy": "3", "left_type": "date", "right_type": "timestamptz", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamptz)", "strategy": "4", "left_type": "date", "right_type": "timestamptz", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamptz)", "strategy": "5", "left_type": "date", "right_type": "timestamptz", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamp)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamp", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamp)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamp", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamp)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamp", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamp)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamp", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamp)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamp", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,date)", "strategy": "1", "left_type": "timestamp", "right_type": "date", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,date)", "strategy": "2", "left_type": "timestamp", "right_type": "date", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,date)", "strategy": "3", "left_type": "timestamp", "right_type": "date", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,date)", "strategy": "4", "left_type": "timestamp", "right_type": "date", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,date)", "strategy": "5", "left_type": "timestamp", "right_type": "date", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamptz)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamptz", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamptz)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamptz", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamptz)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamptz", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamptz)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamptz", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamptz)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamptz", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamptz)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamptz", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamptz)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamptz", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamptz)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamptz", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamptz)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamptz", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamptz)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamptz", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,date)", "strategy": "1", "left_type": "timestamptz", "right_type": "date", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,date)", "strategy": "2", "left_type": "timestamptz", "right_type": "date", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,date)", "strategy": "3", "left_type": "timestamptz", "right_type": "date", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,date)", "strategy": "4", "left_type": "timestamptz", "right_type": "date", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,date)", "strategy": "5", "left_type": "timestamptz", "right_type": "date", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamp)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamp", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamp)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamp", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamp)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamp", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamp)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamp", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamp)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamp", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamptz-timestamp", "sort_family_slug": ""}], "signature": "btree/timestamptz_ops", "tables_zh": [{"key": "operators", "rows": [{"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-date/?v=14", "text": "<(date,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-date/?v=14", "text": "<=(date,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-date/?v=14", "text": "=(date,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-date/?v=14", "text": ">=(date,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-date/?v=14", "text": ">(date,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-timestamp/?v=14", "text": "<(date,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamp/?v=14", "text": "<=(date,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-timestamp/?v=14", "text": "=(date,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamp/?v=14", "text": ">=(date,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-timestamp/?v=14", "text": ">(date,timestamp)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-timestamptz/?v=14", "text": "<(date,timestamptz)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamptz/?v=14", "text": "<=(date,timestamptz)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-timestamptz/?v=14", "text": "=(date,timestamptz)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamptz/?v=14", "text": ">=(date,timestamptz)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-timestamptz/?v=14", "text": ">(date,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamp/?v=14", "text": "<(timestamp,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamp/?v=14", "text": "<=(timestamp,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamp/?v=14", "text": "=(timestamp,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamp/?v=14", "text": ">=(timestamp,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamp/?v=14", "text": ">(timestamp,timestamp)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-date/?v=14", "text": "<(timestamp,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-date/?v=14", "text": "<=(timestamp,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-date/?v=14", "text": "=(timestamp,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-date/?v=14", "text": ">=(timestamp,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-date/?v=14", "text": ">(timestamp,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamptz/?v=14", "text": "<(timestamp,timestamptz)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamptz/?v=14", "text": "<=(timestamp,timestamptz)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamptz/?v=14", "text": "=(timestamp,timestamptz)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamptz/?v=14", "text": ">=(timestamp,timestamptz)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamptz/?v=14", "text": ">(timestamp,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamptz/?v=14", "text": "<(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=14", "text": "<=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=14", "text": "=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=14", "text": ">=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=14", "text": ">(timestamptz,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-date/?v=14", "text": "<(timestamptz,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-date/?v=14", "text": "<=(timestamptz,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamptz-date/?v=14", "text": "=(timestamptz,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-date/?v=14", "text": ">=(timestamptz,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamptz-date/?v=14", "text": ">(timestamptz,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamp/?v=14", "text": "<(timestamptz,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-timestamp/?v=14", "text": "<=(timestamptz,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamptz-timestamp/?v=14", "text": "=(timestamptz,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-timestamp/?v=14", "text": ">=(timestamptz,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamptz-timestamp/?v=14", "text": ">(timestamptz,timestamp)"}, "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": "date_cmp(date,date)", "left_type": {"url": "/wiki/type/date/?v=14", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=14", "text": "date"}, "result_type": "int4"}, {"number": "2", "function": "date_sortsupport(internal)", "left_type": {"url": "/wiki/type/date/?v=14", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=14", "text": "date"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/date/?v=14", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=14", "text": "date"}, "result_type": "bool"}, {"number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": {"url": "/wiki/type/date/?v=14", "text": "date"}, "right_type": {"url": "/wiki/type/timestamp/?v=14", "text": "timestamp"}, "result_type": "int4"}, {"number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": {"url": "/wiki/type/date/?v=14", "text": "date"}, "right_type": {"url": "/wiki/type/timestamptz/?v=14", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": {"url": "/wiki/type/timestamp/?v=14", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=14", "text": "timestamp"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamp/?v=14", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=14", "text": "timestamp"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/timestamp/?v=14", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=14", "text": "timestamp"}, "result_type": "bool"}, {"number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": {"url": "/wiki/type/timestamp/?v=14", "text": "timestamp"}, "right_type": {"url": "/wiki/type/date/?v=14", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": {"url": "/wiki/type/timestamp/?v=14", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamptz/?v=14", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": {"url": "/wiki/type/timestamptz/?v=14", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=14", "text": "timestamptz"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamptz/?v=14", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=14", "text": "timestamptz"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/timestamptz/?v=14", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=14", "text": "timestamptz"}, "result_type": "bool"}, {"number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": {"url": "/wiki/type/timestamptz/?v=14", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/date/?v=14", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": {"url": "/wiki/type/timestamptz/?v=14", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamp/?v=14", "text": "timestamp"}, "result_type": "int4"}, {"number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": {"url": "/wiki/type/date/?v=14", "text": "date"}, "right_type": {"url": "/wiki/type/interval/?v=14", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamp/?v=14", "text": "timestamp"}, "right_type": {"url": "/wiki/type/interval/?v=14", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamptz/?v=14", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/interval/?v=14", "text": "interval"}, "result_type": "bool"}], "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-date_ops/?v=14", "text": "date_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/date/?v=14", "text": "date"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamptz_ops/?v=14", "text": "timestamptz_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamptz/?v=14", "text": "timestamptz"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamp_ops/?v=14", "text": "timestamp_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamp/?v=14", "text": "timestamp"}}], "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": "3127", "description": ["timestamptz_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/14/catalog-pg-amop.html", "method": "same-major semantic node", "sha256": "2b8fdc15654f6701ab77bdf068a2c3b50cadd8da3bce8f385811b4193b4952b4", "language": "zh", "matched_nodes": ["#CATALOG-PG-AMOP/p[2]/em[1]"]}, {"url": "/docs/14/indexes-opclass.html", "method": "same-major semantic node", "sha256": "4cb8380e551ee45907962594be66e8173948c404caa5f227b1672e5d298bd128", "language": "zh", "matched_nodes": ["#INDEXES-OPCLASS/p[3]", "#INDEXES-OPCLASS/p[5]", "#INDEXES-OPCLASS/p[6]"]}], "language": "zh", "original_text": {"/versions/14/description/0": "B-tree operator class for timestamptz; member of datetime_ops.", "/versions/14/facts/0/label": "Object kind", "/versions/14/facts/0/value": "Operator class", "/versions/14/facts/1/label": "Index AM", "/versions/14/facts/2/label": "Input type", "/versions/14/facts/3/label": "Stored key type", "/versions/14/facts/3/value": "Same as input type (catalog zero)", "/versions/14/facts/4/label": "Default class", "/versions/14/facts/4/value": "yes", "/versions/14/tables/0/title": "Family operator strategies", "/versions/14/tables/1/title": "Family support functions", "/versions/14/tables/2/title": "Classes in this family", "/versions/14/related/0/label": "B-tree Index AM", "/versions/14/related/1/label": "datetime_ops family", "/versions/14/related/2/label": "timestamptz data type", "/versions/14/sections/0/title": "Operator classes and families", "/versions/14/tables/0/rows/0/scope": "Family member", "/versions/14/tables/0/rows/1/scope": "Family member", "/versions/14/tables/0/rows/2/scope": "Family member", "/versions/14/tables/0/rows/3/scope": "Family member", "/versions/14/tables/0/rows/4/scope": "Family member", "/versions/14/tables/0/rows/5/scope": "Family member", "/versions/14/tables/0/rows/6/scope": "Family member", "/versions/14/tables/0/rows/7/scope": "Family member", "/versions/14/tables/0/rows/8/scope": "Family member", "/versions/14/tables/0/rows/9/scope": "Family member", "/versions/14/tables/0/rows/10/scope": "Family member", "/versions/14/tables/0/rows/11/scope": "Family member", "/versions/14/tables/0/rows/12/scope": "Family member", "/versions/14/tables/0/rows/13/scope": "Family member", "/versions/14/tables/0/rows/14/scope": "Family member", "/versions/14/tables/0/rows/15/scope": "Family member", "/versions/14/tables/0/rows/16/scope": "Family member", "/versions/14/tables/0/rows/17/scope": "Family member", "/versions/14/tables/0/rows/18/scope": "Family member", "/versions/14/tables/0/rows/19/scope": "Family member", "/versions/14/tables/0/rows/20/scope": "Family member", "/versions/14/tables/0/rows/21/scope": "Family member", "/versions/14/tables/0/rows/22/scope": "Family member", "/versions/14/tables/0/rows/23/scope": "Family member", "/versions/14/tables/0/rows/24/scope": "Family member", "/versions/14/tables/0/rows/25/scope": "Family member", "/versions/14/tables/0/rows/26/scope": "Family member", "/versions/14/tables/0/rows/27/scope": "Family member", "/versions/14/tables/0/rows/28/scope": "Family member", "/versions/14/tables/0/rows/29/scope": "Family member", "/versions/14/tables/0/rows/30/scope": "Class input pair", "/versions/14/tables/0/rows/31/scope": "Class input pair", "/versions/14/tables/0/rows/32/scope": "Class input pair", "/versions/14/tables/0/rows/33/scope": "Class input pair", "/versions/14/tables/0/rows/34/scope": "Class input pair", "/versions/14/tables/0/rows/35/scope": "Family member", "/versions/14/tables/0/rows/36/scope": "Family member", "/versions/14/tables/0/rows/37/scope": "Family member", "/versions/14/tables/0/rows/38/scope": "Family member", "/versions/14/tables/0/rows/39/scope": "Family member", "/versions/14/tables/0/rows/40/scope": "Family member", "/versions/14/tables/0/rows/41/scope": "Family member", "/versions/14/tables/0/rows/42/scope": "Family member", "/versions/14/tables/0/rows/43/scope": "Family member", "/versions/14/tables/0/rows/44/scope": "Family member", "/versions/14/sections/0/paragraphs/0": "An index definition can specify an operator class for each column of an index.", "/versions/14/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/14/sections/0/paragraphs/2": "There are also some built-in operator classes besides the default ones:", "/versions/14/tables/0/rows/0/purpose": "search", "/versions/14/tables/0/rows/1/purpose": "search", "/versions/14/tables/0/rows/2/purpose": "search", "/versions/14/tables/0/rows/3/purpose": "search", "/versions/14/tables/0/rows/4/purpose": "search", "/versions/14/tables/0/rows/5/purpose": "search", "/versions/14/tables/0/rows/6/purpose": "search", "/versions/14/tables/0/rows/7/purpose": "search", "/versions/14/tables/0/rows/8/purpose": "search", "/versions/14/tables/0/rows/9/purpose": "search", "/versions/14/tables/2/rows/0/default": "yes", "/versions/14/tables/2/rows/1/default": "yes", "/versions/14/tables/2/rows/2/default": "yes", "/versions/14/tables/0/columns/0/label": "Operator overload", "/versions/14/tables/0/columns/1/label": "Strategy", "/versions/14/tables/0/columns/2/label": "Purpose", "/versions/14/tables/0/columns/3/label": "Ordering family", "/versions/14/tables/0/columns/4/label": "Membership scope", "/versions/14/tables/0/columns/5/label": "Source description", "/versions/14/tables/0/rows/10/purpose": "search", "/versions/14/tables/0/rows/11/purpose": "search", "/versions/14/tables/0/rows/12/purpose": "search", "/versions/14/tables/0/rows/13/purpose": "search", "/versions/14/tables/0/rows/14/purpose": "search", "/versions/14/tables/0/rows/15/purpose": "search", "/versions/14/tables/0/rows/16/purpose": "search", "/versions/14/tables/0/rows/17/purpose": "search", "/versions/14/tables/0/rows/18/purpose": "search", "/versions/14/tables/0/rows/19/purpose": "search", "/versions/14/tables/0/rows/20/purpose": "search", "/versions/14/tables/0/rows/21/purpose": "search", "/versions/14/tables/0/rows/22/purpose": "search", "/versions/14/tables/0/rows/23/purpose": "search", "/versions/14/tables/0/rows/24/purpose": "search", "/versions/14/tables/0/rows/25/purpose": "search", "/versions/14/tables/0/rows/26/purpose": "search", "/versions/14/tables/0/rows/27/purpose": "search", "/versions/14/tables/0/rows/28/purpose": "search", "/versions/14/tables/0/rows/29/purpose": "search", "/versions/14/tables/0/rows/30/purpose": "search", "/versions/14/tables/0/rows/31/purpose": "search", "/versions/14/tables/0/rows/32/purpose": "search", "/versions/14/tables/0/rows/33/purpose": "search", "/versions/14/tables/0/rows/34/purpose": "search", "/versions/14/tables/0/rows/35/purpose": "search", "/versions/14/tables/0/rows/36/purpose": "search", "/versions/14/tables/0/rows/37/purpose": "search", "/versions/14/tables/0/rows/38/purpose": "search", "/versions/14/tables/0/rows/39/purpose": "search", "/versions/14/tables/0/rows/40/purpose": "search", "/versions/14/tables/0/rows/41/purpose": "search", "/versions/14/tables/0/rows/42/purpose": "search", "/versions/14/tables/0/rows/43/purpose": "search", "/versions/14/tables/0/rows/44/purpose": "search", "/versions/14/tables/1/columns/0/label": "Support number", "/versions/14/tables/1/columns/1/label": "Left type", "/versions/14/tables/1/columns/2/label": "Right type", "/versions/14/tables/1/columns/3/label": "Function signature", "/versions/14/tables/1/columns/4/label": "Result type", "/versions/14/tables/2/columns/0/label": "Class", "/versions/14/tables/2/columns/1/label": "Input type", "/versions/14/tables/2/columns/2/label": "Key type", "/versions/14/tables/2/columns/3/label": "Default", "/versions/14/tables/2/rows/0/key_type": "Same as input type", "/versions/14/tables/2/rows/1/key_type": "Same as input type", "/versions/14/tables/2/rows/2/key_type": "Same as input type", "/versions/14/tables/0/rows/0/description": "less than", "/versions/14/tables/0/rows/1/description": "less than or equal", "/versions/14/tables/0/rows/2/description": "equal", "/versions/14/tables/0/rows/3/description": "greater than or equal", "/versions/14/tables/0/rows/4/description": "greater than", "/versions/14/tables/0/rows/5/description": "less than", "/versions/14/tables/0/rows/6/description": "less than or equal", "/versions/14/tables/0/rows/7/description": "equal", "/versions/14/tables/0/rows/8/description": "greater than or equal", "/versions/14/tables/0/rows/9/description": "greater than", "/versions/14/tables/0/rows/10/description": "less than", "/versions/14/tables/0/rows/11/description": "less than or equal", "/versions/14/tables/0/rows/12/description": "equal", "/versions/14/tables/0/rows/13/description": "greater than or equal", "/versions/14/tables/0/rows/14/description": "greater than", "/versions/14/tables/0/rows/15/description": "less than", "/versions/14/tables/0/rows/16/description": "less than or equal", "/versions/14/tables/0/rows/17/description": "equal", "/versions/14/tables/0/rows/18/description": "greater than or equal", "/versions/14/tables/0/rows/19/description": "greater than", "/versions/14/tables/0/rows/20/description": "less than", "/versions/14/tables/0/rows/21/description": "less than or equal", "/versions/14/tables/0/rows/22/description": "equal", "/versions/14/tables/0/rows/23/description": "greater than or equal", "/versions/14/tables/0/rows/24/description": "greater than", "/versions/14/tables/0/rows/25/description": "less than", "/versions/14/tables/0/rows/26/description": "less than or equal", "/versions/14/tables/0/rows/27/description": "equal", "/versions/14/tables/0/rows/28/description": "greater than or equal", "/versions/14/tables/0/rows/29/description": "greater than", "/versions/14/tables/0/rows/30/description": "less than", "/versions/14/tables/0/rows/31/description": "less than or equal", "/versions/14/tables/0/rows/32/description": "equal", "/versions/14/tables/0/rows/33/description": "greater than or equal", "/versions/14/tables/0/rows/34/description": "greater than", "/versions/14/tables/0/rows/35/description": "less than", "/versions/14/tables/0/rows/36/description": "less than or equal", "/versions/14/tables/0/rows/37/description": "equal", "/versions/14/tables/0/rows/38/description": "greater than or equal", "/versions/14/tables/0/rows/39/description": "greater than", "/versions/14/tables/0/rows/40/description": "less than", "/versions/14/tables/0/rows/41/description": "less than or equal", "/versions/14/tables/0/rows/42/description": "equal", "/versions/14/tables/0/rows/43/description": "greater than or equal", "/versions/14/tables/0/rows/44/description": "greater than"}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "9ff531fda4c9d3f0756cc1db306dd60488c75276d88fc47d50502dbc93eac473", "canonical_center_text_hash": "08e88f341e3eb6337b3290a04860e382ee77b41932336116151a06dc07e48daf"}, "description_zh": "timestamptz_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002", "comparison_data": {"kind": "class", "classes": [{"name": "date_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "date"}, {"name": "timestamp_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamp"}, {"name": "timestamptz_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamptz"}], "operators": [{"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,date)", "strategy": "1", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,date)", "strategy": "2", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,date)", "strategy": "3", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,date)", "strategy": "4", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,date)", "strategy": "5", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamp)", "strategy": "1", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamp)", "strategy": "2", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamp)", "strategy": "3", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamp)", "strategy": "4", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamp)", "strategy": "5", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamptz)", "strategy": "1", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamptz)", "strategy": "2", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamptz)", "strategy": "3", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamptz)", "strategy": "4", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamptz)", "strategy": "5", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,date)", "strategy": "1", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,date)", "strategy": "2", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,date)", "strategy": "3", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,date)", "strategy": "4", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,date)", "strategy": "5", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamp)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamp)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamp)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamp)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamp)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamptz)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamptz)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamptz)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamptz)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamptz)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,date)", "strategy": "1", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,date)", "strategy": "2", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,date)", "strategy": "3", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,date)", "strategy": "4", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,date)", "strategy": "5", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamp)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamp)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamp)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamp)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamp)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamptz)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamptz)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamptz)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamptz)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamptz)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}], "attributes": {"name": "timestamptz_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamptz"}, "support_functions": [{"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp(date,date)", "left_type": "date", "right_type": "date", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": "date", "right_type": "timestamp", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": "date", "right_type": "timestamptz", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": "timestamp", "right_type": "date", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": "timestamp", "right_type": "timestamp", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": "timestamp", "right_type": "timestamptz", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": "timestamptz", "right_type": "date", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": "timestamptz", "right_type": "timestamp", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": "timestamptz", "right_type": "timestamptz", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "date_sortsupport(internal)", "left_type": "date", "right_type": "date", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamp", "right_type": "timestamp", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamptz", "right_type": "timestamptz", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": "date", "right_type": "interval", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": "timestamp", "right_type": "interval", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": "timestamptz", "right_type": "interval", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "date", "right_type": "date", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "timestamp", "right_type": "timestamp", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "timestamptz", "right_type": "timestamptz", "result_type": "bool"}]}, "comparison_hash": "d3575a8c57eb77b633d63e9d8efa922b2179d112603ef5b2639e9b41eb2ff351", "manual_language": "zh", "support_functions": [{"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp(date,date)", "left_type": "date", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "date_sortsupport(internal)", "left_type": "date", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "date", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": "date", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": "date", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": "timestamp", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamp", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "timestamp", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": "timestamp", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": "timestamp", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": "timestamptz", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamptz", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "timestamptz", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": "timestamptz", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": "timestamptz", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": "date", "right_type": "interval", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": "timestamp", "right_type": "interval", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": "timestamptz", "right_type": "interval", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}], "description_zh_html": "<p>timestamptz_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002</p><dl><dt>\u540d\u79f0</dt><dd><code>timestamptz_ops</code></dd><dt>\u8fd0\u7b97\u7b26\u65cf</dt><dd><code>datetime_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>timestamptz</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;(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</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>date_cmp(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>date_sortsupport(internal)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>bool</code></td></tr><tr><td><code>1</code></td><td><code>date_cmp_timestamp(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>date_cmp_timestamptz(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>timestamp_sortsupport(internal)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>bool</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp_date(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp_timestamptz(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>timestamp_sortsupport(internal)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>bool</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp_date(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp_timestamp(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>3</code></td><td><code>in_range(date,date,interval,bool,bool)</code></td><td><code>date</code></td><td><code>interval</code></td><td><code>bool</code></td></tr><tr><td><code>3</code></td><td><code>in_range(timestamp,timestamp,interval,bool,bool)</code></td><td><code>timestamp</code></td><td><code>interval</code></td><td><code>bool</code></td></tr><tr><td><code>3</code></td><td><code>in_range(timestamptz,timestamptz,interval,bool,bool)</code></td><td><code>timestamptz</code></td><td><code>interval</code></td><td><code>bool</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/14/indexes-opclass.html\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "15": {"class": {"name": "timestamptz_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamptz"}, "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": "timestamptz"}, {"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": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-date/?v=15", "text": "<(date,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-date/?v=15", "text": "<=(date,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-date/?v=15", "text": "=(date,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-date/?v=15", "text": ">=(date,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-date/?v=15", "text": ">(date,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-timestamp/?v=15", "text": "<(date,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamp/?v=15", "text": "<=(date,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-timestamp/?v=15", "text": "=(date,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamp/?v=15", "text": ">=(date,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-timestamp/?v=15", "text": ">(date,timestamp)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-timestamptz/?v=15", "text": "<(date,timestamptz)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamptz/?v=15", "text": "<=(date,timestamptz)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-timestamptz/?v=15", "text": "=(date,timestamptz)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamptz/?v=15", "text": ">=(date,timestamptz)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-timestamptz/?v=15", "text": ">(date,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamp/?v=15", "text": "<(timestamp,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamp/?v=15", "text": "<=(timestamp,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamp/?v=15", "text": "=(timestamp,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamp/?v=15", "text": ">=(timestamp,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamp/?v=15", "text": ">(timestamp,timestamp)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-date/?v=15", "text": "<(timestamp,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-date/?v=15", "text": "<=(timestamp,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-date/?v=15", "text": "=(timestamp,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-date/?v=15", "text": ">=(timestamp,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-date/?v=15", "text": ">(timestamp,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamptz/?v=15", "text": "<(timestamp,timestamptz)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamptz/?v=15", "text": "<=(timestamp,timestamptz)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamptz/?v=15", "text": "=(timestamp,timestamptz)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamptz/?v=15", "text": ">=(timestamp,timestamptz)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamptz/?v=15", "text": ">(timestamp,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamptz/?v=15", "text": "<(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=15", "text": "<=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=15", "text": "=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=15", "text": ">=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=15", "text": ">(timestamptz,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-date/?v=15", "text": "<(timestamptz,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-date/?v=15", "text": "<=(timestamptz,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamptz-date/?v=15", "text": "=(timestamptz,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-date/?v=15", "text": ">=(timestamptz,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamptz-date/?v=15", "text": ">(timestamptz,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamp/?v=15", "text": "<(timestamptz,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-timestamp/?v=15", "text": "<=(timestamptz,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamptz-timestamp/?v=15", "text": "=(timestamptz,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-timestamp/?v=15", "text": ">=(timestamptz,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamptz-timestamp/?v=15", "text": ">(timestamptz,timestamp)"}, "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": "date_cmp(date,date)", "left_type": {"url": "/wiki/type/date/?v=15", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=15", "text": "date"}, "result_type": "int4"}, {"number": "2", "function": "date_sortsupport(internal)", "left_type": {"url": "/wiki/type/date/?v=15", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=15", "text": "date"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/date/?v=15", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=15", "text": "date"}, "result_type": "bool"}, {"number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": {"url": "/wiki/type/date/?v=15", "text": "date"}, "right_type": {"url": "/wiki/type/timestamp/?v=15", "text": "timestamp"}, "result_type": "int4"}, {"number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": {"url": "/wiki/type/date/?v=15", "text": "date"}, "right_type": {"url": "/wiki/type/timestamptz/?v=15", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": {"url": "/wiki/type/timestamp/?v=15", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=15", "text": "timestamp"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamp/?v=15", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=15", "text": "timestamp"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/timestamp/?v=15", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=15", "text": "timestamp"}, "result_type": "bool"}, {"number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": {"url": "/wiki/type/timestamp/?v=15", "text": "timestamp"}, "right_type": {"url": "/wiki/type/date/?v=15", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": {"url": "/wiki/type/timestamp/?v=15", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamptz/?v=15", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": {"url": "/wiki/type/timestamptz/?v=15", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=15", "text": "timestamptz"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamptz/?v=15", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=15", "text": "timestamptz"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/timestamptz/?v=15", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=15", "text": "timestamptz"}, "result_type": "bool"}, {"number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": {"url": "/wiki/type/timestamptz/?v=15", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/date/?v=15", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": {"url": "/wiki/type/timestamptz/?v=15", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamp/?v=15", "text": "timestamp"}, "result_type": "int4"}, {"number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": {"url": "/wiki/type/date/?v=15", "text": "date"}, "right_type": {"url": "/wiki/type/interval/?v=15", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamp/?v=15", "text": "timestamp"}, "right_type": {"url": "/wiki/type/interval/?v=15", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamptz/?v=15", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/interval/?v=15", "text": "interval"}, "result_type": "bool"}], "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-date_ops/?v=15", "text": "date_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/date/?v=15", "text": "date"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamptz_ops/?v=15", "text": "timestamptz_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamptz/?v=15", "text": "timestamptz"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamp_ops/?v=15", "text": "timestamp_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamp/?v=15", "text": "timestamp"}}], "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": ["timestamptz_ops", "btree/timestamptz_ops"], "classes": [{"name": "date_ops", "slug": "class-btree-date_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "date", "source_oid": "3122", "family_slug": "family-btree-datetime_ops"}, {"name": "timestamptz_ops", "slug": "class-btree-timestamptz_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamptz", "source_oid": "3127", "family_slug": "family-btree-datetime_ops"}, {"name": "timestamp_ops", "slug": "class-btree-timestamp_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamp", "source_oid": "3128", "family_slug": "family-btree-datetime_ops"}], "related": [{"url": "/wiki/indexam/btree/?v=15", "label": "B-tree \u7d22\u5f15\u8bbf\u95ee\u65b9\u6cd5"}, {"url": "/wiki/opclass/family-btree-datetime_ops/?v=15", "label": "datetime_ops \u5bb6\u65cf"}, {"url": "/wiki/type/timestamptz/?v=15", "label": "timestamptz \u6570\u636e\u7c7b\u578b"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v15.19/postgresql-15.19.tar.bz2", "label": "15.19", "major": "15", "channel": "stable", "revision": "e1a64a87a46b825b88c082e4518161a47aab53c45694964f8ba1df28f7859f89", "source_sha256": "e1a64a87a46b825b88c082e4518161a47aab53c45694964f8ba1df28f7859f89", "manual_fingerprint": "f39c61e9facb5b9404c7d6d1cf494d83af0cc46146554a7fc40724eb882d24a9", "catalog_fingerprint": "1c332a5ccec7bfdd8ca19b55a0279b5bd6cb1dd5dcc6c5587a98a491a9b566a5"}, "sources": [{"url": "https://ftp.postgresql.org/pub/source/v15.19/postgresql-15.19.tar.bz2", "label": "Matching PostgreSQL source archive", "sha256": "e1a64a87a46b825b88c082e4518161a47aab53c45694964f8ba1df28f7859f89"}, {"url": "/docs/15/indexes-opclass.html", "path": "indexes-opclass.html", "label": "PostgreSQL 15 English manual: indexes-opclass.html", "sha256": "57685c0a60cb570754be680551a6947556a03b6ff16a4a511483bdcac143c6da"}, {"url": "/docs/15/catalog-pg-opclass.html", "path": "catalog-pg-opclass.html", "label": "PostgreSQL 15 English manual: catalog-pg-opclass.html", "sha256": "755f7dcb5d8201f84a8285b418477e209122f0dd4a1c0e5b1b9b293a52a3f5cb"}, {"url": "/docs/15/catalog-pg-amop.html", "path": "catalog-pg-amop.html", "label": "PostgreSQL 15 English manual: catalog-pg-amop.html", "sha256": "53ced8770f19710869151ab02a9a6f0d97380981ca4bfe83752092bfb74a9e0c"}, {"url": "/docs/15/catalog-pg-amproc.html", "path": "catalog-pg-amproc.html", "label": "PostgreSQL 15 English manual: catalog-pg-amproc.html", "sha256": "cdcce97c140ef4b73e0abc870c6a7f0d8ebda9f31d4c02b3f5444f50828d7f37"}], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-structured-summary", "manual": {"url": "/zh/docs/15/indexes-opclass.html", "anchor": "", "locale": "zh-Hans", "version": "15", "build_id": 101, "page_key": "indexes-opclass.html", "extraction": "concept-introduction", "source_hash": "5b72836e9b884335c4bec570b7b91e0389688f21b43f97a096ce39dbc50fcd50", "fragment_sha256": "dad5545190ebde655fce48dfc13cd02d2863166fac7cf0c2b28b059c9e419ae4", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "git:b1b500221dbe5437cfca004d6b04d3f6e422765d;html-sha256:6bce1a2df9170cb1146a1411c5547190856638221a6539e618ee1016c9f493ad", "translated_from_revision": null}, "body_sha256": "16f161dd30a768c52ae685152203ce939a80123d149816519c986972176f341e", "runtime_rerun": false, "authored_translation": "source-derived-structured-summary", "source_facts_revision": "e1a64a87a46b825b88c082e4518161a47aab53c45694964f8ba1df28f7859f89"}, "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": "timestamptz"}, {"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/timestamptz_ops (class)", "locale": "zh-Hans", "source": {"key": "class-btree-timestamptz_ops", "locale": "zh-Hans", "version": "15", "text_hash": "fd3eac70293e0653d3d472e5791db26d7cc3ba1836299b45470f6cbbb754c12d", "collection": "opclass", "dataset_hash": "7c31b524dfe136022d39a6ae8dcfac6b3bbd5f8fdaf422536599981252aff0c9", "source_database": "center", "source_revision": "e1a64a87a46b825b88c082e4518161a47aab53c45694964f8ba1df28f7859f89"}, "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": "timestamptz"}, {"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": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-date/?v=15", "text": "<(date,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-date/?v=15", "text": "<=(date,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-date/?v=15", "text": "=(date,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-date/?v=15", "text": ">=(date,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-date/?v=15", "text": ">(date,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-timestamp/?v=15", "text": "<(date,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamp/?v=15", "text": "<=(date,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-timestamp/?v=15", "text": "=(date,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamp/?v=15", "text": ">=(date,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-timestamp/?v=15", "text": ">(date,timestamp)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-timestamptz/?v=15", "text": "<(date,timestamptz)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamptz/?v=15", "text": "<=(date,timestamptz)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-timestamptz/?v=15", "text": "=(date,timestamptz)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamptz/?v=15", "text": ">=(date,timestamptz)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-timestamptz/?v=15", "text": ">(date,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamp/?v=15", "text": "<(timestamp,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamp/?v=15", "text": "<=(timestamp,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamp/?v=15", "text": "=(timestamp,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamp/?v=15", "text": ">=(timestamp,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamp/?v=15", "text": ">(timestamp,timestamp)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-date/?v=15", "text": "<(timestamp,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-date/?v=15", "text": "<=(timestamp,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-date/?v=15", "text": "=(timestamp,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-date/?v=15", "text": ">=(timestamp,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-date/?v=15", "text": ">(timestamp,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamptz/?v=15", "text": "<(timestamp,timestamptz)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamptz/?v=15", "text": "<=(timestamp,timestamptz)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamptz/?v=15", "text": "=(timestamp,timestamptz)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamptz/?v=15", "text": ">=(timestamp,timestamptz)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamptz/?v=15", "text": ">(timestamp,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamptz/?v=15", "text": "<(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=15", "text": "<=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=15", "text": "=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=15", "text": ">=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=15", "text": ">(timestamptz,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-date/?v=15", "text": "<(timestamptz,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-date/?v=15", "text": "<=(timestamptz,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamptz-date/?v=15", "text": "=(timestamptz,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-date/?v=15", "text": ">=(timestamptz,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamptz-date/?v=15", "text": ">(timestamptz,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamp/?v=15", "text": "<(timestamptz,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-timestamp/?v=15", "text": "<=(timestamptz,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamptz-timestamp/?v=15", "text": "=(timestamptz,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-timestamp/?v=15", "text": ">=(timestamptz,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamptz-timestamp/?v=15", "text": ">(timestamptz,timestamp)"}, "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": "date_cmp(date,date)", "left_type": {"url": "/wiki/type/date/?v=15", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=15", "text": "date"}, "result_type": "int4"}, {"number": "2", "function": "date_sortsupport(internal)", "left_type": {"url": "/wiki/type/date/?v=15", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=15", "text": "date"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/date/?v=15", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=15", "text": "date"}, "result_type": "bool"}, {"number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": {"url": "/wiki/type/date/?v=15", "text": "date"}, "right_type": {"url": "/wiki/type/timestamp/?v=15", "text": "timestamp"}, "result_type": "int4"}, {"number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": {"url": "/wiki/type/date/?v=15", "text": "date"}, "right_type": {"url": "/wiki/type/timestamptz/?v=15", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": {"url": "/wiki/type/timestamp/?v=15", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=15", "text": "timestamp"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamp/?v=15", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=15", "text": "timestamp"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/timestamp/?v=15", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=15", "text": "timestamp"}, "result_type": "bool"}, {"number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": {"url": "/wiki/type/timestamp/?v=15", "text": "timestamp"}, "right_type": {"url": "/wiki/type/date/?v=15", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": {"url": "/wiki/type/timestamp/?v=15", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamptz/?v=15", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": {"url": "/wiki/type/timestamptz/?v=15", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=15", "text": "timestamptz"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamptz/?v=15", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=15", "text": "timestamptz"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/timestamptz/?v=15", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=15", "text": "timestamptz"}, "result_type": "bool"}, {"number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": {"url": "/wiki/type/timestamptz/?v=15", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/date/?v=15", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": {"url": "/wiki/type/timestamptz/?v=15", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamp/?v=15", "text": "timestamp"}, "result_type": "int4"}, {"number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": {"url": "/wiki/type/date/?v=15", "text": "date"}, "right_type": {"url": "/wiki/type/interval/?v=15", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamp/?v=15", "text": "timestamp"}, "right_type": {"url": "/wiki/type/interval/?v=15", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamptz/?v=15", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/interval/?v=15", "text": "interval"}, "result_type": "bool"}], "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-date_ops/?v=15", "text": "date_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/date/?v=15", "text": "date"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamptz_ops/?v=15", "text": "timestamptz_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamptz/?v=15", "text": "timestamptz"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamp_ops/?v=15", "text": "timestamp_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamp/?v=15", "text": "timestamp"}}], "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/15/indexes-opclass.html", "anchor": "", "locale": "zh-Hans", "version": "15", "build_id": 101, "page_key": "indexes-opclass.html", "extraction": "concept-introduction", "source_hash": "5b72836e9b884335c4bec570b7b91e0389688f21b43f97a096ce39dbc50fcd50", "fragment_sha256": "dad5545190ebde655fce48dfc13cd02d2863166fac7cf0c2b28b059c9e419ae4", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "git:b1b500221dbe5437cfca004d6b04d3f6e422765d;html-sha256:6bce1a2df9170cb1146a1411c5547190856638221a6539e618ee1016c9f493ad", "translated_from_revision": null}, "body_sha256": "16f161dd30a768c52ae685152203ce939a80123d149816519c986972176f341e", "runtime_rerun": false, "authored_translation": "source-derived-structured-summary", "source_facts_revision": "e1a64a87a46b825b88c082e4518161a47aab53c45694964f8ba1df28f7859f89"}, "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": "timestamptz_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002", "description_zh_html": "<p>timestamptz_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002</p><dl><dt>\u540d\u79f0</dt><dd><code>timestamptz_ops</code></dd><dt>\u8fd0\u7b97\u7b26\u65cf</dt><dd><code>datetime_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>timestamptz</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;(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</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>date_cmp(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>date_sortsupport(internal)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>bool</code></td></tr><tr><td><code>1</code></td><td><code>date_cmp_timestamp(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>date_cmp_timestamptz(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>timestamp_sortsupport(internal)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>bool</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp_date(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp_timestamptz(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>timestamp_sortsupport(internal)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>bool</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp_date(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp_timestamp(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>3</code></td><td><code>in_range(date,date,interval,bool,bool)</code></td><td><code>date</code></td><td><code>interval</code></td><td><code>bool</code></td></tr><tr><td><code>3</code></td><td><code>in_range(timestamp,timestamp,interval,bool,bool)</code></td><td><code>timestamp</code></td><td><code>interval</code></td><td><code>bool</code></td></tr><tr><td><code>3</code></td><td><code>in_range(timestamptz,timestamptz,interval,bool,bool)</code></td><td><code>timestamptz</code></td><td><code>interval</code></td><td><code>bool</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/15/indexes-opclass.html\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "summary": "timestamptz_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002", "version": "15", "link_map": {"/zh/docs/15/indexes-opclass.html": "/docs/15/indexes-opclass.html"}, "body_html": "<p>timestamptz_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002</p><dl><dt>\u540d\u79f0</dt><dd><code>timestamptz_ops</code></dd><dt>\u8fd0\u7b97\u7b26\u65cf</dt><dd><code>datetime_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>timestamptz</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;(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</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>date_cmp(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>date_sortsupport(internal)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>bool</code></td></tr><tr><td><code>1</code></td><td><code>date_cmp_timestamp(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>date_cmp_timestamptz(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>timestamp_sortsupport(internal)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>bool</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp_date(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp_timestamptz(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>timestamp_sortsupport(internal)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>bool</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp_date(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp_timestamp(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>3</code></td><td><code>in_range(date,date,interval,bool,bool)</code></td><td><code>date</code></td><td><code>interval</code></td><td><code>bool</code></td></tr><tr><td><code>3</code></td><td><code>in_range(timestamp,timestamp,interval,bool,bool)</code></td><td><code>timestamp</code></td><td><code>interval</code></td><td><code>bool</code></td></tr><tr><td><code>3</code></td><td><code>in_range(timestamptz,timestamptz,interval,bool,bool)</code></td><td><code>timestamptz</code></td><td><code>interval</code></td><td><code>bool</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/15/indexes-opclass.html\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>", "body_sha256": "acffc07747702274ff5e65406abe472054acd7b402a33a4a07eb489199e8b49e", "content_hash": "fd3eac70293e0653d3d472e5791db26d7cc3ba1836299b45470f6cbbb754c12d", "source_database": "center", "source_revision": "e1a64a87a46b825b88c082e4518161a47aab53c45694964f8ba1df28f7859f89"}, "operators": [{"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,date)", "strategy": "1", "left_type": "date", "right_type": "date", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,date)", "strategy": "2", "left_type": "date", "right_type": "date", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,date)", "strategy": "3", "left_type": "date", "right_type": "date", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,date)", "strategy": "4", "left_type": "date", "right_type": "date", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,date)", "strategy": "5", "left_type": "date", "right_type": "date", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamp)", "strategy": "1", "left_type": "date", "right_type": "timestamp", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamp)", "strategy": "2", "left_type": "date", "right_type": "timestamp", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamp)", "strategy": "3", "left_type": "date", "right_type": "timestamp", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamp)", "strategy": "4", "left_type": "date", "right_type": "timestamp", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamp)", "strategy": "5", "left_type": "date", "right_type": "timestamp", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamptz)", "strategy": "1", "left_type": "date", "right_type": "timestamptz", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamptz)", "strategy": "2", "left_type": "date", "right_type": "timestamptz", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamptz)", "strategy": "3", "left_type": "date", "right_type": "timestamptz", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamptz)", "strategy": "4", "left_type": "date", "right_type": "timestamptz", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamptz)", "strategy": "5", "left_type": "date", "right_type": "timestamptz", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamp)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamp", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamp)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamp", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamp)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamp", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamp)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamp", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamp)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamp", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,date)", "strategy": "1", "left_type": "timestamp", "right_type": "date", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,date)", "strategy": "2", "left_type": "timestamp", "right_type": "date", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,date)", "strategy": "3", "left_type": "timestamp", "right_type": "date", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,date)", "strategy": "4", "left_type": "timestamp", "right_type": "date", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,date)", "strategy": "5", "left_type": "timestamp", "right_type": "date", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamptz)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamptz", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamptz)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamptz", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamptz)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamptz", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamptz)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamptz", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamptz)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamptz", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamptz)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamptz", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamptz)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamptz", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamptz)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamptz", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamptz)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamptz", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamptz)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamptz", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,date)", "strategy": "1", "left_type": "timestamptz", "right_type": "date", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,date)", "strategy": "2", "left_type": "timestamptz", "right_type": "date", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,date)", "strategy": "3", "left_type": "timestamptz", "right_type": "date", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,date)", "strategy": "4", "left_type": "timestamptz", "right_type": "date", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,date)", "strategy": "5", "left_type": "timestamptz", "right_type": "date", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamp)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamp", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamp)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamp", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamp)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamp", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamp)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamp", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamp)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamp", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamptz-timestamp", "sort_family_slug": ""}], "signature": "btree/timestamptz_ops", "tables_zh": [{"key": "operators", "rows": [{"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-date/?v=15", "text": "<(date,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-date/?v=15", "text": "<=(date,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-date/?v=15", "text": "=(date,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-date/?v=15", "text": ">=(date,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-date/?v=15", "text": ">(date,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-timestamp/?v=15", "text": "<(date,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamp/?v=15", "text": "<=(date,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-timestamp/?v=15", "text": "=(date,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamp/?v=15", "text": ">=(date,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-timestamp/?v=15", "text": ">(date,timestamp)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-timestamptz/?v=15", "text": "<(date,timestamptz)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamptz/?v=15", "text": "<=(date,timestamptz)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-timestamptz/?v=15", "text": "=(date,timestamptz)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamptz/?v=15", "text": ">=(date,timestamptz)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-timestamptz/?v=15", "text": ">(date,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamp/?v=15", "text": "<(timestamp,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamp/?v=15", "text": "<=(timestamp,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamp/?v=15", "text": "=(timestamp,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamp/?v=15", "text": ">=(timestamp,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamp/?v=15", "text": ">(timestamp,timestamp)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-date/?v=15", "text": "<(timestamp,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-date/?v=15", "text": "<=(timestamp,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-date/?v=15", "text": "=(timestamp,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-date/?v=15", "text": ">=(timestamp,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-date/?v=15", "text": ">(timestamp,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamptz/?v=15", "text": "<(timestamp,timestamptz)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamptz/?v=15", "text": "<=(timestamp,timestamptz)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamptz/?v=15", "text": "=(timestamp,timestamptz)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamptz/?v=15", "text": ">=(timestamp,timestamptz)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamptz/?v=15", "text": ">(timestamp,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamptz/?v=15", "text": "<(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=15", "text": "<=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=15", "text": "=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=15", "text": ">=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=15", "text": ">(timestamptz,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-date/?v=15", "text": "<(timestamptz,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-date/?v=15", "text": "<=(timestamptz,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamptz-date/?v=15", "text": "=(timestamptz,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-date/?v=15", "text": ">=(timestamptz,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamptz-date/?v=15", "text": ">(timestamptz,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamp/?v=15", "text": "<(timestamptz,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-timestamp/?v=15", "text": "<=(timestamptz,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamptz-timestamp/?v=15", "text": "=(timestamptz,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-timestamp/?v=15", "text": ">=(timestamptz,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamptz-timestamp/?v=15", "text": ">(timestamptz,timestamp)"}, "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": "date_cmp(date,date)", "left_type": {"url": "/wiki/type/date/?v=15", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=15", "text": "date"}, "result_type": "int4"}, {"number": "2", "function": "date_sortsupport(internal)", "left_type": {"url": "/wiki/type/date/?v=15", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=15", "text": "date"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/date/?v=15", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=15", "text": "date"}, "result_type": "bool"}, {"number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": {"url": "/wiki/type/date/?v=15", "text": "date"}, "right_type": {"url": "/wiki/type/timestamp/?v=15", "text": "timestamp"}, "result_type": "int4"}, {"number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": {"url": "/wiki/type/date/?v=15", "text": "date"}, "right_type": {"url": "/wiki/type/timestamptz/?v=15", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": {"url": "/wiki/type/timestamp/?v=15", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=15", "text": "timestamp"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamp/?v=15", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=15", "text": "timestamp"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/timestamp/?v=15", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=15", "text": "timestamp"}, "result_type": "bool"}, {"number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": {"url": "/wiki/type/timestamp/?v=15", "text": "timestamp"}, "right_type": {"url": "/wiki/type/date/?v=15", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": {"url": "/wiki/type/timestamp/?v=15", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamptz/?v=15", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": {"url": "/wiki/type/timestamptz/?v=15", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=15", "text": "timestamptz"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamptz/?v=15", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=15", "text": "timestamptz"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/timestamptz/?v=15", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=15", "text": "timestamptz"}, "result_type": "bool"}, {"number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": {"url": "/wiki/type/timestamptz/?v=15", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/date/?v=15", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": {"url": "/wiki/type/timestamptz/?v=15", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamp/?v=15", "text": "timestamp"}, "result_type": "int4"}, {"number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": {"url": "/wiki/type/date/?v=15", "text": "date"}, "right_type": {"url": "/wiki/type/interval/?v=15", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamp/?v=15", "text": "timestamp"}, "right_type": {"url": "/wiki/type/interval/?v=15", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamptz/?v=15", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/interval/?v=15", "text": "interval"}, "result_type": "bool"}], "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-date_ops/?v=15", "text": "date_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/date/?v=15", "text": "date"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamptz_ops/?v=15", "text": "timestamptz_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamptz/?v=15", "text": "timestamptz"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamp_ops/?v=15", "text": "timestamp_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamp/?v=15", "text": "timestamp"}}], "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": "3127", "description": ["timestamptz_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/15/catalog-pg-amop.html", "method": "same-major semantic node", "sha256": "722b907f43f8178f67214192f7587c04c86bbab3759c44150d611dead287836f", "language": "zh", "matched_nodes": ["#CATALOG-PG-AMOP/p[2]/em[1]"]}, {"url": "/docs/15/indexes-opclass.html", "method": "same-major semantic node", "sha256": "99e792c28f2215316661a351044aa90cd191477d266005d4849696ce85bb89ed", "language": "zh", "matched_nodes": ["#INDEXES-OPCLASS/p[3]", "#INDEXES-OPCLASS/p[5]", "#INDEXES-OPCLASS/p[6]"]}], "language": "zh", "original_text": {"/versions/15/description/0": "B-tree operator class for timestamptz; member of datetime_ops.", "/versions/15/facts/0/label": "Object kind", "/versions/15/facts/0/value": "Operator class", "/versions/15/facts/1/label": "Index AM", "/versions/15/facts/2/label": "Input type", "/versions/15/facts/3/label": "Stored key type", "/versions/15/facts/3/value": "Same as input type (catalog zero)", "/versions/15/facts/4/label": "Default class", "/versions/15/facts/4/value": "yes", "/versions/15/tables/0/title": "Family operator strategies", "/versions/15/tables/1/title": "Family support functions", "/versions/15/tables/2/title": "Classes in this family", "/versions/15/related/0/label": "B-tree Index AM", "/versions/15/related/1/label": "datetime_ops family", "/versions/15/related/2/label": "timestamptz data type", "/versions/15/sections/0/title": "Operator classes and families", "/versions/15/tables/0/rows/0/scope": "Family member", "/versions/15/tables/0/rows/1/scope": "Family member", "/versions/15/tables/0/rows/2/scope": "Family member", "/versions/15/tables/0/rows/3/scope": "Family member", "/versions/15/tables/0/rows/4/scope": "Family member", "/versions/15/tables/0/rows/5/scope": "Family member", "/versions/15/tables/0/rows/6/scope": "Family member", "/versions/15/tables/0/rows/7/scope": "Family member", "/versions/15/tables/0/rows/8/scope": "Family member", "/versions/15/tables/0/rows/9/scope": "Family member", "/versions/15/tables/0/rows/10/scope": "Family member", "/versions/15/tables/0/rows/11/scope": "Family member", "/versions/15/tables/0/rows/12/scope": "Family member", "/versions/15/tables/0/rows/13/scope": "Family member", "/versions/15/tables/0/rows/14/scope": "Family member", "/versions/15/tables/0/rows/15/scope": "Family member", "/versions/15/tables/0/rows/16/scope": "Family member", "/versions/15/tables/0/rows/17/scope": "Family member", "/versions/15/tables/0/rows/18/scope": "Family member", "/versions/15/tables/0/rows/19/scope": "Family member", "/versions/15/tables/0/rows/20/scope": "Family member", "/versions/15/tables/0/rows/21/scope": "Family member", "/versions/15/tables/0/rows/22/scope": "Family member", "/versions/15/tables/0/rows/23/scope": "Family member", "/versions/15/tables/0/rows/24/scope": "Family member", "/versions/15/tables/0/rows/25/scope": "Family member", "/versions/15/tables/0/rows/26/scope": "Family member", "/versions/15/tables/0/rows/27/scope": "Family member", "/versions/15/tables/0/rows/28/scope": "Family member", "/versions/15/tables/0/rows/29/scope": "Family member", "/versions/15/tables/0/rows/30/scope": "Class input pair", "/versions/15/tables/0/rows/31/scope": "Class input pair", "/versions/15/tables/0/rows/32/scope": "Class input pair", "/versions/15/tables/0/rows/33/scope": "Class input pair", "/versions/15/tables/0/rows/34/scope": "Class input pair", "/versions/15/tables/0/rows/35/scope": "Family member", "/versions/15/tables/0/rows/36/scope": "Family member", "/versions/15/tables/0/rows/37/scope": "Family member", "/versions/15/tables/0/rows/38/scope": "Family member", "/versions/15/tables/0/rows/39/scope": "Family member", "/versions/15/tables/0/rows/40/scope": "Family member", "/versions/15/tables/0/rows/41/scope": "Family member", "/versions/15/tables/0/rows/42/scope": "Family member", "/versions/15/tables/0/rows/43/scope": "Family member", "/versions/15/tables/0/rows/44/scope": "Family member", "/versions/15/sections/0/paragraphs/0": "An index definition can specify an operator class for each column of an index.", "/versions/15/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/15/sections/0/paragraphs/2": "There are also some built-in operator classes besides the default ones:", "/versions/15/tables/0/rows/0/purpose": "search", "/versions/15/tables/0/rows/1/purpose": "search", "/versions/15/tables/0/rows/2/purpose": "search", "/versions/15/tables/0/rows/3/purpose": "search", "/versions/15/tables/0/rows/4/purpose": "search", "/versions/15/tables/0/rows/5/purpose": "search", "/versions/15/tables/0/rows/6/purpose": "search", "/versions/15/tables/0/rows/7/purpose": "search", "/versions/15/tables/0/rows/8/purpose": "search", "/versions/15/tables/0/rows/9/purpose": "search", "/versions/15/tables/2/rows/0/default": "yes", "/versions/15/tables/2/rows/1/default": "yes", "/versions/15/tables/2/rows/2/default": "yes", "/versions/15/tables/0/columns/0/label": "Operator overload", "/versions/15/tables/0/columns/1/label": "Strategy", "/versions/15/tables/0/columns/2/label": "Purpose", "/versions/15/tables/0/columns/3/label": "Ordering family", "/versions/15/tables/0/columns/4/label": "Membership scope", "/versions/15/tables/0/columns/5/label": "Source description", "/versions/15/tables/0/rows/10/purpose": "search", "/versions/15/tables/0/rows/11/purpose": "search", "/versions/15/tables/0/rows/12/purpose": "search", "/versions/15/tables/0/rows/13/purpose": "search", "/versions/15/tables/0/rows/14/purpose": "search", "/versions/15/tables/0/rows/15/purpose": "search", "/versions/15/tables/0/rows/16/purpose": "search", "/versions/15/tables/0/rows/17/purpose": "search", "/versions/15/tables/0/rows/18/purpose": "search", "/versions/15/tables/0/rows/19/purpose": "search", "/versions/15/tables/0/rows/20/purpose": "search", "/versions/15/tables/0/rows/21/purpose": "search", "/versions/15/tables/0/rows/22/purpose": "search", "/versions/15/tables/0/rows/23/purpose": "search", "/versions/15/tables/0/rows/24/purpose": "search", "/versions/15/tables/0/rows/25/purpose": "search", "/versions/15/tables/0/rows/26/purpose": "search", "/versions/15/tables/0/rows/27/purpose": "search", "/versions/15/tables/0/rows/28/purpose": "search", "/versions/15/tables/0/rows/29/purpose": "search", "/versions/15/tables/0/rows/30/purpose": "search", "/versions/15/tables/0/rows/31/purpose": "search", "/versions/15/tables/0/rows/32/purpose": "search", "/versions/15/tables/0/rows/33/purpose": "search", "/versions/15/tables/0/rows/34/purpose": "search", "/versions/15/tables/0/rows/35/purpose": "search", "/versions/15/tables/0/rows/36/purpose": "search", "/versions/15/tables/0/rows/37/purpose": "search", "/versions/15/tables/0/rows/38/purpose": "search", "/versions/15/tables/0/rows/39/purpose": "search", "/versions/15/tables/0/rows/40/purpose": "search", "/versions/15/tables/0/rows/41/purpose": "search", "/versions/15/tables/0/rows/42/purpose": "search", "/versions/15/tables/0/rows/43/purpose": "search", "/versions/15/tables/0/rows/44/purpose": "search", "/versions/15/tables/1/columns/0/label": "Support number", "/versions/15/tables/1/columns/1/label": "Left type", "/versions/15/tables/1/columns/2/label": "Right type", "/versions/15/tables/1/columns/3/label": "Function signature", "/versions/15/tables/1/columns/4/label": "Result type", "/versions/15/tables/2/columns/0/label": "Class", "/versions/15/tables/2/columns/1/label": "Input type", "/versions/15/tables/2/columns/2/label": "Key type", "/versions/15/tables/2/columns/3/label": "Default", "/versions/15/tables/2/rows/0/key_type": "Same as input type", "/versions/15/tables/2/rows/1/key_type": "Same as input type", "/versions/15/tables/2/rows/2/key_type": "Same as input type", "/versions/15/tables/0/rows/0/description": "less than", "/versions/15/tables/0/rows/1/description": "less than or equal", "/versions/15/tables/0/rows/2/description": "equal", "/versions/15/tables/0/rows/3/description": "greater than or equal", "/versions/15/tables/0/rows/4/description": "greater than", "/versions/15/tables/0/rows/5/description": "less than", "/versions/15/tables/0/rows/6/description": "less than or equal", "/versions/15/tables/0/rows/7/description": "equal", "/versions/15/tables/0/rows/8/description": "greater than or equal", "/versions/15/tables/0/rows/9/description": "greater than", "/versions/15/tables/0/rows/10/description": "less than", "/versions/15/tables/0/rows/11/description": "less than or equal", "/versions/15/tables/0/rows/12/description": "equal", "/versions/15/tables/0/rows/13/description": "greater than or equal", "/versions/15/tables/0/rows/14/description": "greater than", "/versions/15/tables/0/rows/15/description": "less than", "/versions/15/tables/0/rows/16/description": "less than or equal", "/versions/15/tables/0/rows/17/description": "equal", "/versions/15/tables/0/rows/18/description": "greater than or equal", "/versions/15/tables/0/rows/19/description": "greater than", "/versions/15/tables/0/rows/20/description": "less than", "/versions/15/tables/0/rows/21/description": "less than or equal", "/versions/15/tables/0/rows/22/description": "equal", "/versions/15/tables/0/rows/23/description": "greater than or equal", "/versions/15/tables/0/rows/24/description": "greater than", "/versions/15/tables/0/rows/25/description": "less than", "/versions/15/tables/0/rows/26/description": "less than or equal", "/versions/15/tables/0/rows/27/description": "equal", "/versions/15/tables/0/rows/28/description": "greater than or equal", "/versions/15/tables/0/rows/29/description": "greater than", "/versions/15/tables/0/rows/30/description": "less than", "/versions/15/tables/0/rows/31/description": "less than or equal", "/versions/15/tables/0/rows/32/description": "equal", "/versions/15/tables/0/rows/33/description": "greater than or equal", "/versions/15/tables/0/rows/34/description": "greater than", "/versions/15/tables/0/rows/35/description": "less than", "/versions/15/tables/0/rows/36/description": "less than or equal", "/versions/15/tables/0/rows/37/description": "equal", "/versions/15/tables/0/rows/38/description": "greater than or equal", "/versions/15/tables/0/rows/39/description": "greater than", "/versions/15/tables/0/rows/40/description": "less than", "/versions/15/tables/0/rows/41/description": "less than or equal", "/versions/15/tables/0/rows/42/description": "equal", "/versions/15/tables/0/rows/43/description": "greater than or equal", "/versions/15/tables/0/rows/44/description": "greater than"}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "04d8c227c99e07b05405e89d9a0f7bb0d80be9d997019480a1333752a77f0ff2", "canonical_center_text_hash": "fd3eac70293e0653d3d472e5791db26d7cc3ba1836299b45470f6cbbb754c12d"}, "description_zh": "timestamptz_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002", "comparison_data": {"kind": "class", "classes": [{"name": "date_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "date"}, {"name": "timestamp_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamp"}, {"name": "timestamptz_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamptz"}], "operators": [{"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,date)", "strategy": "1", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,date)", "strategy": "2", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,date)", "strategy": "3", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,date)", "strategy": "4", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,date)", "strategy": "5", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamp)", "strategy": "1", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamp)", "strategy": "2", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamp)", "strategy": "3", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamp)", "strategy": "4", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamp)", "strategy": "5", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamptz)", "strategy": "1", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamptz)", "strategy": "2", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamptz)", "strategy": "3", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamptz)", "strategy": "4", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamptz)", "strategy": "5", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,date)", "strategy": "1", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,date)", "strategy": "2", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,date)", "strategy": "3", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,date)", "strategy": "4", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,date)", "strategy": "5", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamp)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamp)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamp)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamp)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamp)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamptz)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamptz)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamptz)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamptz)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamptz)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,date)", "strategy": "1", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,date)", "strategy": "2", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,date)", "strategy": "3", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,date)", "strategy": "4", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,date)", "strategy": "5", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamp)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamp)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamp)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamp)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamp)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamptz)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamptz)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamptz)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamptz)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamptz)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}], "attributes": {"name": "timestamptz_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamptz"}, "support_functions": [{"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp(date,date)", "left_type": "date", "right_type": "date", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": "date", "right_type": "timestamp", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": "date", "right_type": "timestamptz", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": "timestamp", "right_type": "date", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": "timestamp", "right_type": "timestamp", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": "timestamp", "right_type": "timestamptz", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": "timestamptz", "right_type": "date", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": "timestamptz", "right_type": "timestamp", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": "timestamptz", "right_type": "timestamptz", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "date_sortsupport(internal)", "left_type": "date", "right_type": "date", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamp", "right_type": "timestamp", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamptz", "right_type": "timestamptz", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": "date", "right_type": "interval", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": "timestamp", "right_type": "interval", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": "timestamptz", "right_type": "interval", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "date", "right_type": "date", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "timestamp", "right_type": "timestamp", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "timestamptz", "right_type": "timestamptz", "result_type": "bool"}]}, "comparison_hash": "d3575a8c57eb77b633d63e9d8efa922b2179d112603ef5b2639e9b41eb2ff351", "manual_language": "zh", "support_functions": [{"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp(date,date)", "left_type": "date", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "date_sortsupport(internal)", "left_type": "date", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "date", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": "date", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": "date", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": "timestamp", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamp", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "timestamp", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": "timestamp", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": "timestamp", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": "timestamptz", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamptz", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "timestamptz", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": "timestamptz", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": "timestamptz", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": "date", "right_type": "interval", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": "timestamp", "right_type": "interval", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": "timestamptz", "right_type": "interval", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}], "description_zh_html": "<p>timestamptz_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002</p><dl><dt>\u540d\u79f0</dt><dd><code>timestamptz_ops</code></dd><dt>\u8fd0\u7b97\u7b26\u65cf</dt><dd><code>datetime_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>timestamptz</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;(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</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>date_cmp(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>date_sortsupport(internal)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>bool</code></td></tr><tr><td><code>1</code></td><td><code>date_cmp_timestamp(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>date_cmp_timestamptz(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>timestamp_sortsupport(internal)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>bool</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp_date(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp_timestamptz(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>timestamp_sortsupport(internal)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>bool</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp_date(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp_timestamp(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>3</code></td><td><code>in_range(date,date,interval,bool,bool)</code></td><td><code>date</code></td><td><code>interval</code></td><td><code>bool</code></td></tr><tr><td><code>3</code></td><td><code>in_range(timestamp,timestamp,interval,bool,bool)</code></td><td><code>timestamp</code></td><td><code>interval</code></td><td><code>bool</code></td></tr><tr><td><code>3</code></td><td><code>in_range(timestamptz,timestamptz,interval,bool,bool)</code></td><td><code>timestamptz</code></td><td><code>interval</code></td><td><code>bool</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/15/indexes-opclass.html\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "16": {"class": {"name": "timestamptz_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamptz"}, "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": "timestamptz"}, {"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": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-date/?v=16", "text": "<(date,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-date/?v=16", "text": "<=(date,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-date/?v=16", "text": "=(date,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-date/?v=16", "text": ">=(date,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-date/?v=16", "text": ">(date,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-timestamp/?v=16", "text": "<(date,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamp/?v=16", "text": "<=(date,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-timestamp/?v=16", "text": "=(date,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamp/?v=16", "text": ">=(date,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-timestamp/?v=16", "text": ">(date,timestamp)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-timestamptz/?v=16", "text": "<(date,timestamptz)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamptz/?v=16", "text": "<=(date,timestamptz)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-timestamptz/?v=16", "text": "=(date,timestamptz)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamptz/?v=16", "text": ">=(date,timestamptz)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-timestamptz/?v=16", "text": ">(date,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamp/?v=16", "text": "<(timestamp,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamp/?v=16", "text": "<=(timestamp,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamp/?v=16", "text": "=(timestamp,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamp/?v=16", "text": ">=(timestamp,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamp/?v=16", "text": ">(timestamp,timestamp)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-date/?v=16", "text": "<(timestamp,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-date/?v=16", "text": "<=(timestamp,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-date/?v=16", "text": "=(timestamp,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-date/?v=16", "text": ">=(timestamp,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-date/?v=16", "text": ">(timestamp,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamptz/?v=16", "text": "<(timestamp,timestamptz)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamptz/?v=16", "text": "<=(timestamp,timestamptz)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamptz/?v=16", "text": "=(timestamp,timestamptz)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamptz/?v=16", "text": ">=(timestamp,timestamptz)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamptz/?v=16", "text": ">(timestamp,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamptz/?v=16", "text": "<(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=16", "text": "<=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=16", "text": "=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=16", "text": ">=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=16", "text": ">(timestamptz,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-date/?v=16", "text": "<(timestamptz,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-date/?v=16", "text": "<=(timestamptz,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamptz-date/?v=16", "text": "=(timestamptz,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-date/?v=16", "text": ">=(timestamptz,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamptz-date/?v=16", "text": ">(timestamptz,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamp/?v=16", "text": "<(timestamptz,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-timestamp/?v=16", "text": "<=(timestamptz,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamptz-timestamp/?v=16", "text": "=(timestamptz,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-timestamp/?v=16", "text": ">=(timestamptz,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamptz-timestamp/?v=16", "text": ">(timestamptz,timestamp)"}, "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": "date_cmp(date,date)", "left_type": {"url": "/wiki/type/date/?v=16", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=16", "text": "date"}, "result_type": "int4"}, {"number": "2", "function": "date_sortsupport(internal)", "left_type": {"url": "/wiki/type/date/?v=16", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=16", "text": "date"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/date/?v=16", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=16", "text": "date"}, "result_type": "bool"}, {"number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": {"url": "/wiki/type/date/?v=16", "text": "date"}, "right_type": {"url": "/wiki/type/timestamp/?v=16", "text": "timestamp"}, "result_type": "int4"}, {"number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": {"url": "/wiki/type/date/?v=16", "text": "date"}, "right_type": {"url": "/wiki/type/timestamptz/?v=16", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": {"url": "/wiki/type/timestamp/?v=16", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=16", "text": "timestamp"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamp/?v=16", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=16", "text": "timestamp"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/timestamp/?v=16", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=16", "text": "timestamp"}, "result_type": "bool"}, {"number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": {"url": "/wiki/type/timestamp/?v=16", "text": "timestamp"}, "right_type": {"url": "/wiki/type/date/?v=16", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": {"url": "/wiki/type/timestamp/?v=16", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamptz/?v=16", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": {"url": "/wiki/type/timestamptz/?v=16", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=16", "text": "timestamptz"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamptz/?v=16", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=16", "text": "timestamptz"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/timestamptz/?v=16", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=16", "text": "timestamptz"}, "result_type": "bool"}, {"number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": {"url": "/wiki/type/timestamptz/?v=16", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/date/?v=16", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": {"url": "/wiki/type/timestamptz/?v=16", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamp/?v=16", "text": "timestamp"}, "result_type": "int4"}, {"number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": {"url": "/wiki/type/date/?v=16", "text": "date"}, "right_type": {"url": "/wiki/type/interval/?v=16", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamp/?v=16", "text": "timestamp"}, "right_type": {"url": "/wiki/type/interval/?v=16", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamptz/?v=16", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/interval/?v=16", "text": "interval"}, "result_type": "bool"}], "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-date_ops/?v=16", "text": "date_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/date/?v=16", "text": "date"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamptz_ops/?v=16", "text": "timestamptz_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamptz/?v=16", "text": "timestamptz"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamp_ops/?v=16", "text": "timestamp_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamp/?v=16", "text": "timestamp"}}], "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": ["timestamptz_ops", "btree/timestamptz_ops"], "classes": [{"name": "date_ops", "slug": "class-btree-date_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "date", "source_oid": "3122", "family_slug": "family-btree-datetime_ops"}, {"name": "timestamptz_ops", "slug": "class-btree-timestamptz_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamptz", "source_oid": "3127", "family_slug": "family-btree-datetime_ops"}, {"name": "timestamp_ops", "slug": "class-btree-timestamp_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamp", "source_oid": "3128", "family_slug": "family-btree-datetime_ops"}], "related": [{"url": "/wiki/indexam/btree/?v=16", "label": "B-tree \u7d22\u5f15\u8bbf\u95ee\u65b9\u6cd5"}, {"url": "/wiki/opclass/family-btree-datetime_ops/?v=16", "label": "datetime_ops \u5bb6\u65cf"}, {"url": "/wiki/type/timestamptz/?v=16", "label": "timestamptz \u6570\u636e\u7c7b\u578b"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v16.15/postgresql-16.15.tar.bz2", "label": "16.15", "major": "16", "channel": "stable", "revision": "c1575341fa7bd40f5274ea465b34390f4dc64cdd0770af327005caaeb9f6b7ed", "source_sha256": "c1575341fa7bd40f5274ea465b34390f4dc64cdd0770af327005caaeb9f6b7ed", "manual_fingerprint": "846fb006e9d590387203c1c65f671240bc5c30604c4e3084cf572817aacc19d0", "catalog_fingerprint": "70797d889dd8aeed77ae81092f99ab380e1109b54b0b7ca6fbf400e0a2111a70"}, "sources": [{"url": "https://ftp.postgresql.org/pub/source/v16.15/postgresql-16.15.tar.bz2", "label": "Matching PostgreSQL source archive", "sha256": "c1575341fa7bd40f5274ea465b34390f4dc64cdd0770af327005caaeb9f6b7ed"}, {"url": "/docs/16/indexes-opclass.html", "path": "indexes-opclass.html", "label": "PostgreSQL 16 English manual: indexes-opclass.html", "sha256": "a524c924c56d14615e7ea68aaaddd7c62abf7d153a0e291c191e0f4e962ffbae"}, {"url": "/docs/16/catalog-pg-opclass.html", "path": "catalog-pg-opclass.html", "label": "PostgreSQL 16 English manual: catalog-pg-opclass.html", "sha256": "f075996844e2b6da739db4c2ed35fc2b0f288cd51d3f1f04baac0daa0e608c03"}, {"url": "/docs/16/catalog-pg-amop.html", "path": "catalog-pg-amop.html", "label": "PostgreSQL 16 English manual: catalog-pg-amop.html", "sha256": "f580ac4a34d5f9d567834684e0c41b7df32a952e20a2fc11a9ce0964c2df7e9a"}, {"url": "/docs/16/catalog-pg-amproc.html", "path": "catalog-pg-amproc.html", "label": "PostgreSQL 16 English manual: catalog-pg-amproc.html", "sha256": "ce78e17af3e627c9f4a1b517d77b8eb2e071ba2e963f8b196bf9535ca98c388a"}], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-structured-summary", "manual": {"url": "/zh/docs/16/indexes-opclass.html", "anchor": "", "locale": "zh-Hans", "version": "16", "build_id": 103, "page_key": "indexes-opclass.html", "extraction": "concept-introduction", "source_hash": "995f7336b416c1d12be62a7bba561733a2c46a1cf7150e83016556887dbb439d", "fragment_sha256": "dad5545190ebde655fce48dfc13cd02d2863166fac7cf0c2b28b059c9e419ae4", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "git:b1b500221dbe5437cfca004d6b04d3f6e422765d;html-sha256:80579a071736780f9c4022bb5148e1fb1256f1a33591306af67816e9e9bf3a9b", "translated_from_revision": null}, "body_sha256": "4fb18803f863f8703aadfe85602455e8d4d6c057e5e5bb07e03f0142ad225f52", "runtime_rerun": false, "authored_translation": "source-derived-structured-summary", "source_facts_revision": "c1575341fa7bd40f5274ea465b34390f4dc64cdd0770af327005caaeb9f6b7ed"}, "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": "timestamptz"}, {"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/timestamptz_ops (class)", "locale": "zh-Hans", "source": {"key": "class-btree-timestamptz_ops", "locale": "zh-Hans", "version": "16", "text_hash": "7a166a9bbbc84ab784957f0a7da42b1106377eca9f2f0a8eb91c02d4ce1e65f7", "collection": "opclass", "dataset_hash": "7c31b524dfe136022d39a6ae8dcfac6b3bbd5f8fdaf422536599981252aff0c9", "source_database": "center", "source_revision": "c1575341fa7bd40f5274ea465b34390f4dc64cdd0770af327005caaeb9f6b7ed"}, "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": "timestamptz"}, {"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": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-date/?v=16", "text": "<(date,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-date/?v=16", "text": "<=(date,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-date/?v=16", "text": "=(date,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-date/?v=16", "text": ">=(date,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-date/?v=16", "text": ">(date,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-timestamp/?v=16", "text": "<(date,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamp/?v=16", "text": "<=(date,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-timestamp/?v=16", "text": "=(date,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamp/?v=16", "text": ">=(date,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-timestamp/?v=16", "text": ">(date,timestamp)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-timestamptz/?v=16", "text": "<(date,timestamptz)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamptz/?v=16", "text": "<=(date,timestamptz)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-timestamptz/?v=16", "text": "=(date,timestamptz)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamptz/?v=16", "text": ">=(date,timestamptz)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-timestamptz/?v=16", "text": ">(date,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamp/?v=16", "text": "<(timestamp,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamp/?v=16", "text": "<=(timestamp,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamp/?v=16", "text": "=(timestamp,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamp/?v=16", "text": ">=(timestamp,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamp/?v=16", "text": ">(timestamp,timestamp)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-date/?v=16", "text": "<(timestamp,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-date/?v=16", "text": "<=(timestamp,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-date/?v=16", "text": "=(timestamp,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-date/?v=16", "text": ">=(timestamp,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-date/?v=16", "text": ">(timestamp,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamptz/?v=16", "text": "<(timestamp,timestamptz)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamptz/?v=16", "text": "<=(timestamp,timestamptz)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamptz/?v=16", "text": "=(timestamp,timestamptz)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamptz/?v=16", "text": ">=(timestamp,timestamptz)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamptz/?v=16", "text": ">(timestamp,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamptz/?v=16", "text": "<(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=16", "text": "<=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=16", "text": "=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=16", "text": ">=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=16", "text": ">(timestamptz,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-date/?v=16", "text": "<(timestamptz,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-date/?v=16", "text": "<=(timestamptz,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamptz-date/?v=16", "text": "=(timestamptz,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-date/?v=16", "text": ">=(timestamptz,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamptz-date/?v=16", "text": ">(timestamptz,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamp/?v=16", "text": "<(timestamptz,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-timestamp/?v=16", "text": "<=(timestamptz,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamptz-timestamp/?v=16", "text": "=(timestamptz,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-timestamp/?v=16", "text": ">=(timestamptz,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamptz-timestamp/?v=16", "text": ">(timestamptz,timestamp)"}, "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": "date_cmp(date,date)", "left_type": {"url": "/wiki/type/date/?v=16", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=16", "text": "date"}, "result_type": "int4"}, {"number": "2", "function": "date_sortsupport(internal)", "left_type": {"url": "/wiki/type/date/?v=16", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=16", "text": "date"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/date/?v=16", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=16", "text": "date"}, "result_type": "bool"}, {"number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": {"url": "/wiki/type/date/?v=16", "text": "date"}, "right_type": {"url": "/wiki/type/timestamp/?v=16", "text": "timestamp"}, "result_type": "int4"}, {"number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": {"url": "/wiki/type/date/?v=16", "text": "date"}, "right_type": {"url": "/wiki/type/timestamptz/?v=16", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": {"url": "/wiki/type/timestamp/?v=16", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=16", "text": "timestamp"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamp/?v=16", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=16", "text": "timestamp"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/timestamp/?v=16", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=16", "text": "timestamp"}, "result_type": "bool"}, {"number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": {"url": "/wiki/type/timestamp/?v=16", "text": "timestamp"}, "right_type": {"url": "/wiki/type/date/?v=16", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": {"url": "/wiki/type/timestamp/?v=16", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamptz/?v=16", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": {"url": "/wiki/type/timestamptz/?v=16", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=16", "text": "timestamptz"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamptz/?v=16", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=16", "text": "timestamptz"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/timestamptz/?v=16", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=16", "text": "timestamptz"}, "result_type": "bool"}, {"number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": {"url": "/wiki/type/timestamptz/?v=16", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/date/?v=16", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": {"url": "/wiki/type/timestamptz/?v=16", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamp/?v=16", "text": "timestamp"}, "result_type": "int4"}, {"number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": {"url": "/wiki/type/date/?v=16", "text": "date"}, "right_type": {"url": "/wiki/type/interval/?v=16", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamp/?v=16", "text": "timestamp"}, "right_type": {"url": "/wiki/type/interval/?v=16", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamptz/?v=16", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/interval/?v=16", "text": "interval"}, "result_type": "bool"}], "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-date_ops/?v=16", "text": "date_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/date/?v=16", "text": "date"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamptz_ops/?v=16", "text": "timestamptz_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamptz/?v=16", "text": "timestamptz"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamp_ops/?v=16", "text": "timestamp_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamp/?v=16", "text": "timestamp"}}], "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/16/indexes-opclass.html", "anchor": "", "locale": "zh-Hans", "version": "16", "build_id": 103, "page_key": "indexes-opclass.html", "extraction": "concept-introduction", "source_hash": "995f7336b416c1d12be62a7bba561733a2c46a1cf7150e83016556887dbb439d", "fragment_sha256": "dad5545190ebde655fce48dfc13cd02d2863166fac7cf0c2b28b059c9e419ae4", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "git:b1b500221dbe5437cfca004d6b04d3f6e422765d;html-sha256:80579a071736780f9c4022bb5148e1fb1256f1a33591306af67816e9e9bf3a9b", "translated_from_revision": null}, "body_sha256": "4fb18803f863f8703aadfe85602455e8d4d6c057e5e5bb07e03f0142ad225f52", "runtime_rerun": false, "authored_translation": "source-derived-structured-summary", "source_facts_revision": "c1575341fa7bd40f5274ea465b34390f4dc64cdd0770af327005caaeb9f6b7ed"}, "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": "timestamptz_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002", "description_zh_html": "<p>timestamptz_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002</p><dl><dt>\u540d\u79f0</dt><dd><code>timestamptz_ops</code></dd><dt>\u8fd0\u7b97\u7b26\u65cf</dt><dd><code>datetime_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>timestamptz</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;(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</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>date_cmp(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>date_sortsupport(internal)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>bool</code></td></tr><tr><td><code>1</code></td><td><code>date_cmp_timestamp(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>date_cmp_timestamptz(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>timestamp_sortsupport(internal)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>bool</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp_date(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp_timestamptz(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>timestamp_sortsupport(internal)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>bool</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp_date(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp_timestamp(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>3</code></td><td><code>in_range(date,date,interval,bool,bool)</code></td><td><code>date</code></td><td><code>interval</code></td><td><code>bool</code></td></tr><tr><td><code>3</code></td><td><code>in_range(timestamp,timestamp,interval,bool,bool)</code></td><td><code>timestamp</code></td><td><code>interval</code></td><td><code>bool</code></td></tr><tr><td><code>3</code></td><td><code>in_range(timestamptz,timestamptz,interval,bool,bool)</code></td><td><code>timestamptz</code></td><td><code>interval</code></td><td><code>bool</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/16/indexes-opclass.html\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "summary": "timestamptz_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002", "version": "16", "link_map": {"/zh/docs/16/indexes-opclass.html": "/docs/16/indexes-opclass.html"}, "body_html": "<p>timestamptz_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002</p><dl><dt>\u540d\u79f0</dt><dd><code>timestamptz_ops</code></dd><dt>\u8fd0\u7b97\u7b26\u65cf</dt><dd><code>datetime_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>timestamptz</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;(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</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>date_cmp(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>date_sortsupport(internal)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>bool</code></td></tr><tr><td><code>1</code></td><td><code>date_cmp_timestamp(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>date_cmp_timestamptz(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>timestamp_sortsupport(internal)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>bool</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp_date(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp_timestamptz(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>timestamp_sortsupport(internal)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>bool</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp_date(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp_timestamp(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>3</code></td><td><code>in_range(date,date,interval,bool,bool)</code></td><td><code>date</code></td><td><code>interval</code></td><td><code>bool</code></td></tr><tr><td><code>3</code></td><td><code>in_range(timestamp,timestamp,interval,bool,bool)</code></td><td><code>timestamp</code></td><td><code>interval</code></td><td><code>bool</code></td></tr><tr><td><code>3</code></td><td><code>in_range(timestamptz,timestamptz,interval,bool,bool)</code></td><td><code>timestamptz</code></td><td><code>interval</code></td><td><code>bool</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/16/indexes-opclass.html\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>", "body_sha256": "9a8ccb87fcac4078560a51521b2f952304011b8f72fc7a0284625c305b00558a", "content_hash": "7a166a9bbbc84ab784957f0a7da42b1106377eca9f2f0a8eb91c02d4ce1e65f7", "source_database": "center", "source_revision": "c1575341fa7bd40f5274ea465b34390f4dc64cdd0770af327005caaeb9f6b7ed"}, "operators": [{"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,date)", "strategy": "1", "left_type": "date", "right_type": "date", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,date)", "strategy": "2", "left_type": "date", "right_type": "date", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,date)", "strategy": "3", "left_type": "date", "right_type": "date", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,date)", "strategy": "4", "left_type": "date", "right_type": "date", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,date)", "strategy": "5", "left_type": "date", "right_type": "date", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamp)", "strategy": "1", "left_type": "date", "right_type": "timestamp", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamp)", "strategy": "2", "left_type": "date", "right_type": "timestamp", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamp)", "strategy": "3", "left_type": "date", "right_type": "timestamp", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamp)", "strategy": "4", "left_type": "date", "right_type": "timestamp", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamp)", "strategy": "5", "left_type": "date", "right_type": "timestamp", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamptz)", "strategy": "1", "left_type": "date", "right_type": "timestamptz", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamptz)", "strategy": "2", "left_type": "date", "right_type": "timestamptz", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamptz)", "strategy": "3", "left_type": "date", "right_type": "timestamptz", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamptz)", "strategy": "4", "left_type": "date", "right_type": "timestamptz", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamptz)", "strategy": "5", "left_type": "date", "right_type": "timestamptz", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamp)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamp", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamp)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamp", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamp)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamp", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamp)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamp", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamp)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamp", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,date)", "strategy": "1", "left_type": "timestamp", "right_type": "date", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,date)", "strategy": "2", "left_type": "timestamp", "right_type": "date", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,date)", "strategy": "3", "left_type": "timestamp", "right_type": "date", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,date)", "strategy": "4", "left_type": "timestamp", "right_type": "date", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,date)", "strategy": "5", "left_type": "timestamp", "right_type": "date", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamptz)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamptz", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamptz)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamptz", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamptz)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamptz", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamptz)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamptz", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamptz)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamptz", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamptz)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamptz", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamptz)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamptz", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamptz)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamptz", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamptz)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamptz", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamptz)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamptz", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,date)", "strategy": "1", "left_type": "timestamptz", "right_type": "date", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,date)", "strategy": "2", "left_type": "timestamptz", "right_type": "date", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,date)", "strategy": "3", "left_type": "timestamptz", "right_type": "date", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,date)", "strategy": "4", "left_type": "timestamptz", "right_type": "date", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,date)", "strategy": "5", "left_type": "timestamptz", "right_type": "date", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamp)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamp", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamp)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamp", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamp)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamp", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamp)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamp", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamp)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamp", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamptz-timestamp", "sort_family_slug": ""}], "signature": "btree/timestamptz_ops", "tables_zh": [{"key": "operators", "rows": [{"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-date/?v=16", "text": "<(date,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-date/?v=16", "text": "<=(date,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-date/?v=16", "text": "=(date,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-date/?v=16", "text": ">=(date,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-date/?v=16", "text": ">(date,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-timestamp/?v=16", "text": "<(date,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamp/?v=16", "text": "<=(date,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-timestamp/?v=16", "text": "=(date,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamp/?v=16", "text": ">=(date,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-timestamp/?v=16", "text": ">(date,timestamp)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-timestamptz/?v=16", "text": "<(date,timestamptz)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamptz/?v=16", "text": "<=(date,timestamptz)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-timestamptz/?v=16", "text": "=(date,timestamptz)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamptz/?v=16", "text": ">=(date,timestamptz)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-timestamptz/?v=16", "text": ">(date,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamp/?v=16", "text": "<(timestamp,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamp/?v=16", "text": "<=(timestamp,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamp/?v=16", "text": "=(timestamp,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamp/?v=16", "text": ">=(timestamp,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamp/?v=16", "text": ">(timestamp,timestamp)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-date/?v=16", "text": "<(timestamp,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-date/?v=16", "text": "<=(timestamp,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-date/?v=16", "text": "=(timestamp,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-date/?v=16", "text": ">=(timestamp,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-date/?v=16", "text": ">(timestamp,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamptz/?v=16", "text": "<(timestamp,timestamptz)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamptz/?v=16", "text": "<=(timestamp,timestamptz)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamptz/?v=16", "text": "=(timestamp,timestamptz)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamptz/?v=16", "text": ">=(timestamp,timestamptz)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamptz/?v=16", "text": ">(timestamp,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamptz/?v=16", "text": "<(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=16", "text": "<=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=16", "text": "=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=16", "text": ">=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=16", "text": ">(timestamptz,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-date/?v=16", "text": "<(timestamptz,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-date/?v=16", "text": "<=(timestamptz,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamptz-date/?v=16", "text": "=(timestamptz,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-date/?v=16", "text": ">=(timestamptz,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamptz-date/?v=16", "text": ">(timestamptz,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamp/?v=16", "text": "<(timestamptz,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-timestamp/?v=16", "text": "<=(timestamptz,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamptz-timestamp/?v=16", "text": "=(timestamptz,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-timestamp/?v=16", "text": ">=(timestamptz,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamptz-timestamp/?v=16", "text": ">(timestamptz,timestamp)"}, "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": "date_cmp(date,date)", "left_type": {"url": "/wiki/type/date/?v=16", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=16", "text": "date"}, "result_type": "int4"}, {"number": "2", "function": "date_sortsupport(internal)", "left_type": {"url": "/wiki/type/date/?v=16", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=16", "text": "date"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/date/?v=16", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=16", "text": "date"}, "result_type": "bool"}, {"number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": {"url": "/wiki/type/date/?v=16", "text": "date"}, "right_type": {"url": "/wiki/type/timestamp/?v=16", "text": "timestamp"}, "result_type": "int4"}, {"number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": {"url": "/wiki/type/date/?v=16", "text": "date"}, "right_type": {"url": "/wiki/type/timestamptz/?v=16", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": {"url": "/wiki/type/timestamp/?v=16", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=16", "text": "timestamp"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamp/?v=16", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=16", "text": "timestamp"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/timestamp/?v=16", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=16", "text": "timestamp"}, "result_type": "bool"}, {"number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": {"url": "/wiki/type/timestamp/?v=16", "text": "timestamp"}, "right_type": {"url": "/wiki/type/date/?v=16", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": {"url": "/wiki/type/timestamp/?v=16", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamptz/?v=16", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": {"url": "/wiki/type/timestamptz/?v=16", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=16", "text": "timestamptz"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamptz/?v=16", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=16", "text": "timestamptz"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/timestamptz/?v=16", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=16", "text": "timestamptz"}, "result_type": "bool"}, {"number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": {"url": "/wiki/type/timestamptz/?v=16", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/date/?v=16", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": {"url": "/wiki/type/timestamptz/?v=16", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamp/?v=16", "text": "timestamp"}, "result_type": "int4"}, {"number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": {"url": "/wiki/type/date/?v=16", "text": "date"}, "right_type": {"url": "/wiki/type/interval/?v=16", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamp/?v=16", "text": "timestamp"}, "right_type": {"url": "/wiki/type/interval/?v=16", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamptz/?v=16", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/interval/?v=16", "text": "interval"}, "result_type": "bool"}], "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-date_ops/?v=16", "text": "date_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/date/?v=16", "text": "date"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamptz_ops/?v=16", "text": "timestamptz_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamptz/?v=16", "text": "timestamptz"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamp_ops/?v=16", "text": "timestamp_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamp/?v=16", "text": "timestamp"}}], "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": "3127", "description": ["timestamptz_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/16/catalog-pg-amop.html", "method": "same-major semantic node", "sha256": "704b1a6817cd451566b69b08f4210b2fb192934810322e22cb9a2980f7d93af4", "language": "zh", "matched_nodes": ["#CATALOG-PG-AMOP/p[2]/em[1]"]}, {"url": "/docs/16/indexes-opclass.html", "method": "same-major semantic node", "sha256": "da59bf9cb7d8a9ec0aeab1f5d3593429eec79ce6a1715eb47434832287159c3c", "language": "zh", "matched_nodes": ["#INDEXES-OPCLASS/p[3]", "#INDEXES-OPCLASS/p[5]", "#INDEXES-OPCLASS/p[6]"]}], "language": "zh", "original_text": {"/versions/16/description/0": "B-tree operator class for timestamptz; member of datetime_ops.", "/versions/16/facts/0/label": "Object kind", "/versions/16/facts/0/value": "Operator class", "/versions/16/facts/1/label": "Index AM", "/versions/16/facts/2/label": "Input type", "/versions/16/facts/3/label": "Stored key type", "/versions/16/facts/3/value": "Same as input type (catalog zero)", "/versions/16/facts/4/label": "Default class", "/versions/16/facts/4/value": "yes", "/versions/16/tables/0/title": "Family operator strategies", "/versions/16/tables/1/title": "Family support functions", "/versions/16/tables/2/title": "Classes in this family", "/versions/16/related/0/label": "B-tree Index AM", "/versions/16/related/1/label": "datetime_ops family", "/versions/16/related/2/label": "timestamptz data type", "/versions/16/sections/0/title": "Operator classes and families", "/versions/16/tables/0/rows/0/scope": "Family member", "/versions/16/tables/0/rows/1/scope": "Family member", "/versions/16/tables/0/rows/2/scope": "Family member", "/versions/16/tables/0/rows/3/scope": "Family member", "/versions/16/tables/0/rows/4/scope": "Family member", "/versions/16/tables/0/rows/5/scope": "Family member", "/versions/16/tables/0/rows/6/scope": "Family member", "/versions/16/tables/0/rows/7/scope": "Family member", "/versions/16/tables/0/rows/8/scope": "Family member", "/versions/16/tables/0/rows/9/scope": "Family member", "/versions/16/tables/0/rows/10/scope": "Family member", "/versions/16/tables/0/rows/11/scope": "Family member", "/versions/16/tables/0/rows/12/scope": "Family member", "/versions/16/tables/0/rows/13/scope": "Family member", "/versions/16/tables/0/rows/14/scope": "Family member", "/versions/16/tables/0/rows/15/scope": "Family member", "/versions/16/tables/0/rows/16/scope": "Family member", "/versions/16/tables/0/rows/17/scope": "Family member", "/versions/16/tables/0/rows/18/scope": "Family member", "/versions/16/tables/0/rows/19/scope": "Family member", "/versions/16/tables/0/rows/20/scope": "Family member", "/versions/16/tables/0/rows/21/scope": "Family member", "/versions/16/tables/0/rows/22/scope": "Family member", "/versions/16/tables/0/rows/23/scope": "Family member", "/versions/16/tables/0/rows/24/scope": "Family member", "/versions/16/tables/0/rows/25/scope": "Family member", "/versions/16/tables/0/rows/26/scope": "Family member", "/versions/16/tables/0/rows/27/scope": "Family member", "/versions/16/tables/0/rows/28/scope": "Family member", "/versions/16/tables/0/rows/29/scope": "Family member", "/versions/16/tables/0/rows/30/scope": "Class input pair", "/versions/16/tables/0/rows/31/scope": "Class input pair", "/versions/16/tables/0/rows/32/scope": "Class input pair", "/versions/16/tables/0/rows/33/scope": "Class input pair", "/versions/16/tables/0/rows/34/scope": "Class input pair", "/versions/16/tables/0/rows/35/scope": "Family member", "/versions/16/tables/0/rows/36/scope": "Family member", "/versions/16/tables/0/rows/37/scope": "Family member", "/versions/16/tables/0/rows/38/scope": "Family member", "/versions/16/tables/0/rows/39/scope": "Family member", "/versions/16/tables/0/rows/40/scope": "Family member", "/versions/16/tables/0/rows/41/scope": "Family member", "/versions/16/tables/0/rows/42/scope": "Family member", "/versions/16/tables/0/rows/43/scope": "Family member", "/versions/16/tables/0/rows/44/scope": "Family member", "/versions/16/sections/0/paragraphs/0": "An index definition can specify an operator class for each column of an index.", "/versions/16/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/16/sections/0/paragraphs/2": "There are also some built-in operator classes besides the default ones:", "/versions/16/tables/0/rows/0/purpose": "search", "/versions/16/tables/0/rows/1/purpose": "search", "/versions/16/tables/0/rows/2/purpose": "search", "/versions/16/tables/0/rows/3/purpose": "search", "/versions/16/tables/0/rows/4/purpose": "search", "/versions/16/tables/0/rows/5/purpose": "search", "/versions/16/tables/0/rows/6/purpose": "search", "/versions/16/tables/0/rows/7/purpose": "search", "/versions/16/tables/0/rows/8/purpose": "search", "/versions/16/tables/0/rows/9/purpose": "search", "/versions/16/tables/2/rows/0/default": "yes", "/versions/16/tables/2/rows/1/default": "yes", "/versions/16/tables/2/rows/2/default": "yes", "/versions/16/tables/0/columns/0/label": "Operator overload", "/versions/16/tables/0/columns/1/label": "Strategy", "/versions/16/tables/0/columns/2/label": "Purpose", "/versions/16/tables/0/columns/3/label": "Ordering family", "/versions/16/tables/0/columns/4/label": "Membership scope", "/versions/16/tables/0/columns/5/label": "Source description", "/versions/16/tables/0/rows/10/purpose": "search", "/versions/16/tables/0/rows/11/purpose": "search", "/versions/16/tables/0/rows/12/purpose": "search", "/versions/16/tables/0/rows/13/purpose": "search", "/versions/16/tables/0/rows/14/purpose": "search", "/versions/16/tables/0/rows/15/purpose": "search", "/versions/16/tables/0/rows/16/purpose": "search", "/versions/16/tables/0/rows/17/purpose": "search", "/versions/16/tables/0/rows/18/purpose": "search", "/versions/16/tables/0/rows/19/purpose": "search", "/versions/16/tables/0/rows/20/purpose": "search", "/versions/16/tables/0/rows/21/purpose": "search", "/versions/16/tables/0/rows/22/purpose": "search", "/versions/16/tables/0/rows/23/purpose": "search", "/versions/16/tables/0/rows/24/purpose": "search", "/versions/16/tables/0/rows/25/purpose": "search", "/versions/16/tables/0/rows/26/purpose": "search", "/versions/16/tables/0/rows/27/purpose": "search", "/versions/16/tables/0/rows/28/purpose": "search", "/versions/16/tables/0/rows/29/purpose": "search", "/versions/16/tables/0/rows/30/purpose": "search", "/versions/16/tables/0/rows/31/purpose": "search", "/versions/16/tables/0/rows/32/purpose": "search", "/versions/16/tables/0/rows/33/purpose": "search", "/versions/16/tables/0/rows/34/purpose": "search", "/versions/16/tables/0/rows/35/purpose": "search", "/versions/16/tables/0/rows/36/purpose": "search", "/versions/16/tables/0/rows/37/purpose": "search", "/versions/16/tables/0/rows/38/purpose": "search", "/versions/16/tables/0/rows/39/purpose": "search", "/versions/16/tables/0/rows/40/purpose": "search", "/versions/16/tables/0/rows/41/purpose": "search", "/versions/16/tables/0/rows/42/purpose": "search", "/versions/16/tables/0/rows/43/purpose": "search", "/versions/16/tables/0/rows/44/purpose": "search", "/versions/16/tables/1/columns/0/label": "Support number", "/versions/16/tables/1/columns/1/label": "Left type", "/versions/16/tables/1/columns/2/label": "Right type", "/versions/16/tables/1/columns/3/label": "Function signature", "/versions/16/tables/1/columns/4/label": "Result type", "/versions/16/tables/2/columns/0/label": "Class", "/versions/16/tables/2/columns/1/label": "Input type", "/versions/16/tables/2/columns/2/label": "Key type", "/versions/16/tables/2/columns/3/label": "Default", "/versions/16/tables/2/rows/0/key_type": "Same as input type", "/versions/16/tables/2/rows/1/key_type": "Same as input type", "/versions/16/tables/2/rows/2/key_type": "Same as input type", "/versions/16/tables/0/rows/0/description": "less than", "/versions/16/tables/0/rows/1/description": "less than or equal", "/versions/16/tables/0/rows/2/description": "equal", "/versions/16/tables/0/rows/3/description": "greater than or equal", "/versions/16/tables/0/rows/4/description": "greater than", "/versions/16/tables/0/rows/5/description": "less than", "/versions/16/tables/0/rows/6/description": "less than or equal", "/versions/16/tables/0/rows/7/description": "equal", "/versions/16/tables/0/rows/8/description": "greater than or equal", "/versions/16/tables/0/rows/9/description": "greater than", "/versions/16/tables/0/rows/10/description": "less than", "/versions/16/tables/0/rows/11/description": "less than or equal", "/versions/16/tables/0/rows/12/description": "equal", "/versions/16/tables/0/rows/13/description": "greater than or equal", "/versions/16/tables/0/rows/14/description": "greater than", "/versions/16/tables/0/rows/15/description": "less than", "/versions/16/tables/0/rows/16/description": "less than or equal", "/versions/16/tables/0/rows/17/description": "equal", "/versions/16/tables/0/rows/18/description": "greater than or equal", "/versions/16/tables/0/rows/19/description": "greater than", "/versions/16/tables/0/rows/20/description": "less than", "/versions/16/tables/0/rows/21/description": "less than or equal", "/versions/16/tables/0/rows/22/description": "equal", "/versions/16/tables/0/rows/23/description": "greater than or equal", "/versions/16/tables/0/rows/24/description": "greater than", "/versions/16/tables/0/rows/25/description": "less than", "/versions/16/tables/0/rows/26/description": "less than or equal", "/versions/16/tables/0/rows/27/description": "equal", "/versions/16/tables/0/rows/28/description": "greater than or equal", "/versions/16/tables/0/rows/29/description": "greater than", "/versions/16/tables/0/rows/30/description": "less than", "/versions/16/tables/0/rows/31/description": "less than or equal", "/versions/16/tables/0/rows/32/description": "equal", "/versions/16/tables/0/rows/33/description": "greater than or equal", "/versions/16/tables/0/rows/34/description": "greater than", "/versions/16/tables/0/rows/35/description": "less than", "/versions/16/tables/0/rows/36/description": "less than or equal", "/versions/16/tables/0/rows/37/description": "equal", "/versions/16/tables/0/rows/38/description": "greater than or equal", "/versions/16/tables/0/rows/39/description": "greater than", "/versions/16/tables/0/rows/40/description": "less than", "/versions/16/tables/0/rows/41/description": "less than or equal", "/versions/16/tables/0/rows/42/description": "equal", "/versions/16/tables/0/rows/43/description": "greater than or equal", "/versions/16/tables/0/rows/44/description": "greater than"}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "d8f48dad264e194411d2c858668305e6821a49e8af562af6d042d0a746d8339c", "canonical_center_text_hash": "7a166a9bbbc84ab784957f0a7da42b1106377eca9f2f0a8eb91c02d4ce1e65f7"}, "description_zh": "timestamptz_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002", "comparison_data": {"kind": "class", "classes": [{"name": "date_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "date"}, {"name": "timestamp_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamp"}, {"name": "timestamptz_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamptz"}], "operators": [{"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,date)", "strategy": "1", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,date)", "strategy": "2", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,date)", "strategy": "3", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,date)", "strategy": "4", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,date)", "strategy": "5", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamp)", "strategy": "1", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamp)", "strategy": "2", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamp)", "strategy": "3", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamp)", "strategy": "4", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamp)", "strategy": "5", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamptz)", "strategy": "1", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamptz)", "strategy": "2", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamptz)", "strategy": "3", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamptz)", "strategy": "4", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamptz)", "strategy": "5", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,date)", "strategy": "1", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,date)", "strategy": "2", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,date)", "strategy": "3", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,date)", "strategy": "4", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,date)", "strategy": "5", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamp)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamp)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamp)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamp)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamp)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamptz)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamptz)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamptz)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamptz)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamptz)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,date)", "strategy": "1", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,date)", "strategy": "2", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,date)", "strategy": "3", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,date)", "strategy": "4", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,date)", "strategy": "5", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamp)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamp)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamp)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamp)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamp)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamptz)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamptz)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamptz)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamptz)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamptz)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}], "attributes": {"name": "timestamptz_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamptz"}, "support_functions": [{"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp(date,date)", "left_type": "date", "right_type": "date", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": "date", "right_type": "timestamp", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": "date", "right_type": "timestamptz", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": "timestamp", "right_type": "date", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": "timestamp", "right_type": "timestamp", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": "timestamp", "right_type": "timestamptz", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": "timestamptz", "right_type": "date", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": "timestamptz", "right_type": "timestamp", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": "timestamptz", "right_type": "timestamptz", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "date_sortsupport(internal)", "left_type": "date", "right_type": "date", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamp", "right_type": "timestamp", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamptz", "right_type": "timestamptz", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": "date", "right_type": "interval", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": "timestamp", "right_type": "interval", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": "timestamptz", "right_type": "interval", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "date", "right_type": "date", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "timestamp", "right_type": "timestamp", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "timestamptz", "right_type": "timestamptz", "result_type": "bool"}]}, "comparison_hash": "d3575a8c57eb77b633d63e9d8efa922b2179d112603ef5b2639e9b41eb2ff351", "manual_language": "zh", "support_functions": [{"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp(date,date)", "left_type": "date", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "date_sortsupport(internal)", "left_type": "date", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "date", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": "date", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": "date", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": "timestamp", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamp", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "timestamp", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": "timestamp", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": "timestamp", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": "timestamptz", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamptz", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "timestamptz", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": "timestamptz", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": "timestamptz", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": "date", "right_type": "interval", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": "timestamp", "right_type": "interval", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": "timestamptz", "right_type": "interval", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}], "description_zh_html": "<p>timestamptz_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002</p><dl><dt>\u540d\u79f0</dt><dd><code>timestamptz_ops</code></dd><dt>\u8fd0\u7b97\u7b26\u65cf</dt><dd><code>datetime_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>timestamptz</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;(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</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>date_cmp(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>date_sortsupport(internal)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>bool</code></td></tr><tr><td><code>1</code></td><td><code>date_cmp_timestamp(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>date_cmp_timestamptz(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>timestamp_sortsupport(internal)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>bool</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp_date(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp_timestamptz(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>timestamp_sortsupport(internal)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>bool</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp_date(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp_timestamp(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>3</code></td><td><code>in_range(date,date,interval,bool,bool)</code></td><td><code>date</code></td><td><code>interval</code></td><td><code>bool</code></td></tr><tr><td><code>3</code></td><td><code>in_range(timestamp,timestamp,interval,bool,bool)</code></td><td><code>timestamp</code></td><td><code>interval</code></td><td><code>bool</code></td></tr><tr><td><code>3</code></td><td><code>in_range(timestamptz,timestamptz,interval,bool,bool)</code></td><td><code>timestamptz</code></td><td><code>interval</code></td><td><code>bool</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/16/indexes-opclass.html\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "17": {"class": {"name": "timestamptz_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamptz"}, "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": "timestamptz"}, {"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": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-date/?v=17", "text": "<(date,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-date/?v=17", "text": "<=(date,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-date/?v=17", "text": "=(date,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-date/?v=17", "text": ">=(date,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-date/?v=17", "text": ">(date,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-timestamp/?v=17", "text": "<(date,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamp/?v=17", "text": "<=(date,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-timestamp/?v=17", "text": "=(date,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamp/?v=17", "text": ">=(date,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-timestamp/?v=17", "text": ">(date,timestamp)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-timestamptz/?v=17", "text": "<(date,timestamptz)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamptz/?v=17", "text": "<=(date,timestamptz)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-timestamptz/?v=17", "text": "=(date,timestamptz)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamptz/?v=17", "text": ">=(date,timestamptz)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-timestamptz/?v=17", "text": ">(date,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamp/?v=17", "text": "<(timestamp,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamp/?v=17", "text": "<=(timestamp,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamp/?v=17", "text": "=(timestamp,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamp/?v=17", "text": ">=(timestamp,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamp/?v=17", "text": ">(timestamp,timestamp)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-date/?v=17", "text": "<(timestamp,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-date/?v=17", "text": "<=(timestamp,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-date/?v=17", "text": "=(timestamp,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-date/?v=17", "text": ">=(timestamp,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-date/?v=17", "text": ">(timestamp,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamptz/?v=17", "text": "<(timestamp,timestamptz)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamptz/?v=17", "text": "<=(timestamp,timestamptz)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamptz/?v=17", "text": "=(timestamp,timestamptz)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamptz/?v=17", "text": ">=(timestamp,timestamptz)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamptz/?v=17", "text": ">(timestamp,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamptz/?v=17", "text": "<(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=17", "text": "<=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=17", "text": "=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=17", "text": ">=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=17", "text": ">(timestamptz,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-date/?v=17", "text": "<(timestamptz,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-date/?v=17", "text": "<=(timestamptz,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamptz-date/?v=17", "text": "=(timestamptz,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-date/?v=17", "text": ">=(timestamptz,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamptz-date/?v=17", "text": ">(timestamptz,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamp/?v=17", "text": "<(timestamptz,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-timestamp/?v=17", "text": "<=(timestamptz,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamptz-timestamp/?v=17", "text": "=(timestamptz,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-timestamp/?v=17", "text": ">=(timestamptz,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamptz-timestamp/?v=17", "text": ">(timestamptz,timestamp)"}, "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": "date_cmp(date,date)", "left_type": {"url": "/wiki/type/date/?v=17", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=17", "text": "date"}, "result_type": "int4"}, {"number": "2", "function": "date_sortsupport(internal)", "left_type": {"url": "/wiki/type/date/?v=17", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=17", "text": "date"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/date/?v=17", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=17", "text": "date"}, "result_type": "bool"}, {"number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": {"url": "/wiki/type/date/?v=17", "text": "date"}, "right_type": {"url": "/wiki/type/timestamp/?v=17", "text": "timestamp"}, "result_type": "int4"}, {"number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": {"url": "/wiki/type/date/?v=17", "text": "date"}, "right_type": {"url": "/wiki/type/timestamptz/?v=17", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": {"url": "/wiki/type/timestamp/?v=17", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=17", "text": "timestamp"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamp/?v=17", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=17", "text": "timestamp"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/timestamp/?v=17", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=17", "text": "timestamp"}, "result_type": "bool"}, {"number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": {"url": "/wiki/type/timestamp/?v=17", "text": "timestamp"}, "right_type": {"url": "/wiki/type/date/?v=17", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": {"url": "/wiki/type/timestamp/?v=17", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamptz/?v=17", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": {"url": "/wiki/type/timestamptz/?v=17", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=17", "text": "timestamptz"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamptz/?v=17", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=17", "text": "timestamptz"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/timestamptz/?v=17", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=17", "text": "timestamptz"}, "result_type": "bool"}, {"number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": {"url": "/wiki/type/timestamptz/?v=17", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/date/?v=17", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": {"url": "/wiki/type/timestamptz/?v=17", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamp/?v=17", "text": "timestamp"}, "result_type": "int4"}, {"number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": {"url": "/wiki/type/date/?v=17", "text": "date"}, "right_type": {"url": "/wiki/type/interval/?v=17", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamp/?v=17", "text": "timestamp"}, "right_type": {"url": "/wiki/type/interval/?v=17", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamptz/?v=17", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/interval/?v=17", "text": "interval"}, "result_type": "bool"}], "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-date_ops/?v=17", "text": "date_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/date/?v=17", "text": "date"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamptz_ops/?v=17", "text": "timestamptz_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamptz/?v=17", "text": "timestamptz"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamp_ops/?v=17", "text": "timestamp_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamp/?v=17", "text": "timestamp"}}], "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": ["timestamptz_ops", "btree/timestamptz_ops"], "classes": [{"name": "date_ops", "slug": "class-btree-date_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "date", "source_oid": "3122", "family_slug": "family-btree-datetime_ops"}, {"name": "timestamptz_ops", "slug": "class-btree-timestamptz_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamptz", "source_oid": "3127", "family_slug": "family-btree-datetime_ops"}, {"name": "timestamp_ops", "slug": "class-btree-timestamp_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamp", "source_oid": "3128", "family_slug": "family-btree-datetime_ops"}], "related": [{"url": "/wiki/indexam/btree/?v=17", "label": "B-tree \u7d22\u5f15\u8bbf\u95ee\u65b9\u6cd5"}, {"url": "/wiki/opclass/family-btree-datetime_ops/?v=17", "label": "datetime_ops \u5bb6\u65cf"}, {"url": "/wiki/type/timestamptz/?v=17", "label": "timestamptz \u6570\u636e\u7c7b\u578b"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v17.11/postgresql-17.11.tar.bz2", "label": "17.11", "major": "17", "channel": "stable", "revision": "dd27f2b3c59e73ed14aa3324901242bf69a032a6347805f274e6260322d42979", "source_sha256": "dd27f2b3c59e73ed14aa3324901242bf69a032a6347805f274e6260322d42979", "manual_fingerprint": "b55870f8e80e1114a92ac7bfc97f4a6fa0dee8e75935895252bb6e5b866cf187", "catalog_fingerprint": "e888e3474202df1c60a8e7b6bf9f2d83b3866a52d119521659b7a82787d3829d"}, "sources": [{"url": "https://ftp.postgresql.org/pub/source/v17.11/postgresql-17.11.tar.bz2", "label": "Matching PostgreSQL source archive", "sha256": "dd27f2b3c59e73ed14aa3324901242bf69a032a6347805f274e6260322d42979"}, {"url": "/docs/17/indexes-opclass.html", "path": "indexes-opclass.html", "label": "PostgreSQL 17 English manual: indexes-opclass.html", "sha256": "dcdeb2d461b79e5c679d29f2a6d3ad038c788ba5a6d094e63d17353352db3ef2"}, {"url": "/docs/17/catalog-pg-opclass.html", "path": "catalog-pg-opclass.html", "label": "PostgreSQL 17 English manual: catalog-pg-opclass.html", "sha256": "2daafcf4d1d6ae524abfc92ef8799237b82d390fc72622f7d59c142ef4bdc0bc"}, {"url": "/docs/17/catalog-pg-amop.html", "path": "catalog-pg-amop.html", "label": "PostgreSQL 17 English manual: catalog-pg-amop.html", "sha256": "19b2fb110b348860f7fbcb6e0e0544e341f5645113c23f50920a54434d432359"}, {"url": "/docs/17/catalog-pg-amproc.html", "path": "catalog-pg-amproc.html", "label": "PostgreSQL 17 English manual: catalog-pg-amproc.html", "sha256": "c1e9a6c78cb61e434eba6e22547c50a677d0c414049fd515263bec770b16ff55"}], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-structured-summary", "manual": {"url": "/zh/docs/17/indexes-opclass.html", "anchor": "", "locale": "zh-Hans", "version": "17", "build_id": 105, "page_key": "indexes-opclass.html", "extraction": "concept-introduction", "source_hash": "75e451363348ab54434776b1f03440b4f11a01c89d6014709e3211b8ad70ba7f", "fragment_sha256": "dad5545190ebde655fce48dfc13cd02d2863166fac7cf0c2b28b059c9e419ae4", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "git:b1b500221dbe5437cfca004d6b04d3f6e422765d;html-sha256:7340767258d21c21b36f373f1fff6bab2be18e0daca13a865129db6105c09efd", "translated_from_revision": null}, "body_sha256": "f30a2a5c302b815d0ddf90f1d863b83f546bc2c1340a58a89e779048e11142fa", "runtime_rerun": false, "authored_translation": "source-derived-structured-summary", "source_facts_revision": "dd27f2b3c59e73ed14aa3324901242bf69a032a6347805f274e6260322d42979"}, "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": "timestamptz"}, {"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/timestamptz_ops (class)", "locale": "zh-Hans", "source": {"key": "class-btree-timestamptz_ops", "locale": "zh-Hans", "version": "17", "text_hash": "9ce03786076502093492dda7fdb0a59a19ca5c39e5971d59acc47971f2b03504", "collection": "opclass", "dataset_hash": "7c31b524dfe136022d39a6ae8dcfac6b3bbd5f8fdaf422536599981252aff0c9", "source_database": "center", "source_revision": "dd27f2b3c59e73ed14aa3324901242bf69a032a6347805f274e6260322d42979"}, "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": "timestamptz"}, {"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": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-date/?v=17", "text": "<(date,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-date/?v=17", "text": "<=(date,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-date/?v=17", "text": "=(date,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-date/?v=17", "text": ">=(date,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-date/?v=17", "text": ">(date,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-timestamp/?v=17", "text": "<(date,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamp/?v=17", "text": "<=(date,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-timestamp/?v=17", "text": "=(date,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamp/?v=17", "text": ">=(date,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-timestamp/?v=17", "text": ">(date,timestamp)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-timestamptz/?v=17", "text": "<(date,timestamptz)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamptz/?v=17", "text": "<=(date,timestamptz)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-timestamptz/?v=17", "text": "=(date,timestamptz)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamptz/?v=17", "text": ">=(date,timestamptz)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-timestamptz/?v=17", "text": ">(date,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamp/?v=17", "text": "<(timestamp,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamp/?v=17", "text": "<=(timestamp,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamp/?v=17", "text": "=(timestamp,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamp/?v=17", "text": ">=(timestamp,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamp/?v=17", "text": ">(timestamp,timestamp)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-date/?v=17", "text": "<(timestamp,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-date/?v=17", "text": "<=(timestamp,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-date/?v=17", "text": "=(timestamp,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-date/?v=17", "text": ">=(timestamp,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-date/?v=17", "text": ">(timestamp,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamptz/?v=17", "text": "<(timestamp,timestamptz)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamptz/?v=17", "text": "<=(timestamp,timestamptz)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamptz/?v=17", "text": "=(timestamp,timestamptz)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamptz/?v=17", "text": ">=(timestamp,timestamptz)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamptz/?v=17", "text": ">(timestamp,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamptz/?v=17", "text": "<(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=17", "text": "<=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=17", "text": "=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=17", "text": ">=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=17", "text": ">(timestamptz,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-date/?v=17", "text": "<(timestamptz,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-date/?v=17", "text": "<=(timestamptz,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamptz-date/?v=17", "text": "=(timestamptz,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-date/?v=17", "text": ">=(timestamptz,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamptz-date/?v=17", "text": ">(timestamptz,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamp/?v=17", "text": "<(timestamptz,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-timestamp/?v=17", "text": "<=(timestamptz,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamptz-timestamp/?v=17", "text": "=(timestamptz,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-timestamp/?v=17", "text": ">=(timestamptz,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamptz-timestamp/?v=17", "text": ">(timestamptz,timestamp)"}, "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": "date_cmp(date,date)", "left_type": {"url": "/wiki/type/date/?v=17", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=17", "text": "date"}, "result_type": "int4"}, {"number": "2", "function": "date_sortsupport(internal)", "left_type": {"url": "/wiki/type/date/?v=17", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=17", "text": "date"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/date/?v=17", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=17", "text": "date"}, "result_type": "bool"}, {"number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": {"url": "/wiki/type/date/?v=17", "text": "date"}, "right_type": {"url": "/wiki/type/timestamp/?v=17", "text": "timestamp"}, "result_type": "int4"}, {"number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": {"url": "/wiki/type/date/?v=17", "text": "date"}, "right_type": {"url": "/wiki/type/timestamptz/?v=17", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": {"url": "/wiki/type/timestamp/?v=17", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=17", "text": "timestamp"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamp/?v=17", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=17", "text": "timestamp"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/timestamp/?v=17", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=17", "text": "timestamp"}, "result_type": "bool"}, {"number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": {"url": "/wiki/type/timestamp/?v=17", "text": "timestamp"}, "right_type": {"url": "/wiki/type/date/?v=17", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": {"url": "/wiki/type/timestamp/?v=17", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamptz/?v=17", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": {"url": "/wiki/type/timestamptz/?v=17", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=17", "text": "timestamptz"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamptz/?v=17", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=17", "text": "timestamptz"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/timestamptz/?v=17", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=17", "text": "timestamptz"}, "result_type": "bool"}, {"number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": {"url": "/wiki/type/timestamptz/?v=17", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/date/?v=17", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": {"url": "/wiki/type/timestamptz/?v=17", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamp/?v=17", "text": "timestamp"}, "result_type": "int4"}, {"number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": {"url": "/wiki/type/date/?v=17", "text": "date"}, "right_type": {"url": "/wiki/type/interval/?v=17", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamp/?v=17", "text": "timestamp"}, "right_type": {"url": "/wiki/type/interval/?v=17", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamptz/?v=17", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/interval/?v=17", "text": "interval"}, "result_type": "bool"}], "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-date_ops/?v=17", "text": "date_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/date/?v=17", "text": "date"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamptz_ops/?v=17", "text": "timestamptz_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamptz/?v=17", "text": "timestamptz"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamp_ops/?v=17", "text": "timestamp_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamp/?v=17", "text": "timestamp"}}], "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/17/indexes-opclass.html", "anchor": "", "locale": "zh-Hans", "version": "17", "build_id": 105, "page_key": "indexes-opclass.html", "extraction": "concept-introduction", "source_hash": "75e451363348ab54434776b1f03440b4f11a01c89d6014709e3211b8ad70ba7f", "fragment_sha256": "dad5545190ebde655fce48dfc13cd02d2863166fac7cf0c2b28b059c9e419ae4", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "git:b1b500221dbe5437cfca004d6b04d3f6e422765d;html-sha256:7340767258d21c21b36f373f1fff6bab2be18e0daca13a865129db6105c09efd", "translated_from_revision": null}, "body_sha256": "f30a2a5c302b815d0ddf90f1d863b83f546bc2c1340a58a89e779048e11142fa", "runtime_rerun": false, "authored_translation": "source-derived-structured-summary", "source_facts_revision": "dd27f2b3c59e73ed14aa3324901242bf69a032a6347805f274e6260322d42979"}, "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": "timestamptz_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002", "description_zh_html": "<p>timestamptz_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002</p><dl><dt>\u540d\u79f0</dt><dd><code>timestamptz_ops</code></dd><dt>\u8fd0\u7b97\u7b26\u65cf</dt><dd><code>datetime_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>timestamptz</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;(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</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>date_cmp(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>date_sortsupport(internal)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>bool</code></td></tr><tr><td><code>1</code></td><td><code>date_cmp_timestamp(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>date_cmp_timestamptz(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>timestamp_sortsupport(internal)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>bool</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp_date(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp_timestamptz(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>timestamp_sortsupport(internal)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>bool</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp_date(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp_timestamp(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>3</code></td><td><code>in_range(date,date,interval,bool,bool)</code></td><td><code>date</code></td><td><code>interval</code></td><td><code>bool</code></td></tr><tr><td><code>3</code></td><td><code>in_range(timestamp,timestamp,interval,bool,bool)</code></td><td><code>timestamp</code></td><td><code>interval</code></td><td><code>bool</code></td></tr><tr><td><code>3</code></td><td><code>in_range(timestamptz,timestamptz,interval,bool,bool)</code></td><td><code>timestamptz</code></td><td><code>interval</code></td><td><code>bool</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/17/indexes-opclass.html\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "summary": "timestamptz_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002", "version": "17", "link_map": {"/zh/docs/17/indexes-opclass.html": "/docs/17/indexes-opclass.html"}, "body_html": "<p>timestamptz_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002</p><dl><dt>\u540d\u79f0</dt><dd><code>timestamptz_ops</code></dd><dt>\u8fd0\u7b97\u7b26\u65cf</dt><dd><code>datetime_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>timestamptz</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;(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</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>date_cmp(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>date_sortsupport(internal)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>bool</code></td></tr><tr><td><code>1</code></td><td><code>date_cmp_timestamp(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>date_cmp_timestamptz(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>timestamp_sortsupport(internal)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>bool</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp_date(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp_timestamptz(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>timestamp_sortsupport(internal)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>bool</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp_date(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp_timestamp(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>3</code></td><td><code>in_range(date,date,interval,bool,bool)</code></td><td><code>date</code></td><td><code>interval</code></td><td><code>bool</code></td></tr><tr><td><code>3</code></td><td><code>in_range(timestamp,timestamp,interval,bool,bool)</code></td><td><code>timestamp</code></td><td><code>interval</code></td><td><code>bool</code></td></tr><tr><td><code>3</code></td><td><code>in_range(timestamptz,timestamptz,interval,bool,bool)</code></td><td><code>timestamptz</code></td><td><code>interval</code></td><td><code>bool</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/17/indexes-opclass.html\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>", "body_sha256": "79d2ab0482301a060cc580c0b6b4865b8dabad9aa17fe97b4cec6ad6f38b6801", "content_hash": "9ce03786076502093492dda7fdb0a59a19ca5c39e5971d59acc47971f2b03504", "source_database": "center", "source_revision": "dd27f2b3c59e73ed14aa3324901242bf69a032a6347805f274e6260322d42979"}, "operators": [{"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,date)", "strategy": "1", "left_type": "date", "right_type": "date", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,date)", "strategy": "2", "left_type": "date", "right_type": "date", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,date)", "strategy": "3", "left_type": "date", "right_type": "date", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,date)", "strategy": "4", "left_type": "date", "right_type": "date", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,date)", "strategy": "5", "left_type": "date", "right_type": "date", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamp)", "strategy": "1", "left_type": "date", "right_type": "timestamp", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamp)", "strategy": "2", "left_type": "date", "right_type": "timestamp", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamp)", "strategy": "3", "left_type": "date", "right_type": "timestamp", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamp)", "strategy": "4", "left_type": "date", "right_type": "timestamp", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamp)", "strategy": "5", "left_type": "date", "right_type": "timestamp", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamptz)", "strategy": "1", "left_type": "date", "right_type": "timestamptz", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamptz)", "strategy": "2", "left_type": "date", "right_type": "timestamptz", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamptz)", "strategy": "3", "left_type": "date", "right_type": "timestamptz", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamptz)", "strategy": "4", "left_type": "date", "right_type": "timestamptz", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamptz)", "strategy": "5", "left_type": "date", "right_type": "timestamptz", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamp)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamp", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamp)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamp", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamp)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamp", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamp)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamp", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamp)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamp", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,date)", "strategy": "1", "left_type": "timestamp", "right_type": "date", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,date)", "strategy": "2", "left_type": "timestamp", "right_type": "date", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,date)", "strategy": "3", "left_type": "timestamp", "right_type": "date", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,date)", "strategy": "4", "left_type": "timestamp", "right_type": "date", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,date)", "strategy": "5", "left_type": "timestamp", "right_type": "date", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamptz)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamptz", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamptz)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamptz", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamptz)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamptz", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamptz)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamptz", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamptz)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamptz", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamptz)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamptz", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamptz)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamptz", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamptz)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamptz", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamptz)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamptz", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamptz)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamptz", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,date)", "strategy": "1", "left_type": "timestamptz", "right_type": "date", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,date)", "strategy": "2", "left_type": "timestamptz", "right_type": "date", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,date)", "strategy": "3", "left_type": "timestamptz", "right_type": "date", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,date)", "strategy": "4", "left_type": "timestamptz", "right_type": "date", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,date)", "strategy": "5", "left_type": "timestamptz", "right_type": "date", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamp)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamp", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamp)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamp", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamp)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamp", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamp)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamp", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamp)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamp", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamptz-timestamp", "sort_family_slug": ""}], "signature": "btree/timestamptz_ops", "tables_zh": [{"key": "operators", "rows": [{"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-date/?v=17", "text": "<(date,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-date/?v=17", "text": "<=(date,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-date/?v=17", "text": "=(date,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-date/?v=17", "text": ">=(date,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-date/?v=17", "text": ">(date,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-timestamp/?v=17", "text": "<(date,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamp/?v=17", "text": "<=(date,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-timestamp/?v=17", "text": "=(date,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamp/?v=17", "text": ">=(date,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-timestamp/?v=17", "text": ">(date,timestamp)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-timestamptz/?v=17", "text": "<(date,timestamptz)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamptz/?v=17", "text": "<=(date,timestamptz)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-timestamptz/?v=17", "text": "=(date,timestamptz)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamptz/?v=17", "text": ">=(date,timestamptz)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-timestamptz/?v=17", "text": ">(date,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamp/?v=17", "text": "<(timestamp,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamp/?v=17", "text": "<=(timestamp,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamp/?v=17", "text": "=(timestamp,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamp/?v=17", "text": ">=(timestamp,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamp/?v=17", "text": ">(timestamp,timestamp)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-date/?v=17", "text": "<(timestamp,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-date/?v=17", "text": "<=(timestamp,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-date/?v=17", "text": "=(timestamp,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-date/?v=17", "text": ">=(timestamp,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-date/?v=17", "text": ">(timestamp,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamptz/?v=17", "text": "<(timestamp,timestamptz)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamptz/?v=17", "text": "<=(timestamp,timestamptz)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamptz/?v=17", "text": "=(timestamp,timestamptz)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamptz/?v=17", "text": ">=(timestamp,timestamptz)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamptz/?v=17", "text": ">(timestamp,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamptz/?v=17", "text": "<(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=17", "text": "<=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=17", "text": "=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=17", "text": ">=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=17", "text": ">(timestamptz,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-date/?v=17", "text": "<(timestamptz,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-date/?v=17", "text": "<=(timestamptz,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamptz-date/?v=17", "text": "=(timestamptz,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-date/?v=17", "text": ">=(timestamptz,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamptz-date/?v=17", "text": ">(timestamptz,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamp/?v=17", "text": "<(timestamptz,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-timestamp/?v=17", "text": "<=(timestamptz,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamptz-timestamp/?v=17", "text": "=(timestamptz,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-timestamp/?v=17", "text": ">=(timestamptz,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamptz-timestamp/?v=17", "text": ">(timestamptz,timestamp)"}, "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": "date_cmp(date,date)", "left_type": {"url": "/wiki/type/date/?v=17", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=17", "text": "date"}, "result_type": "int4"}, {"number": "2", "function": "date_sortsupport(internal)", "left_type": {"url": "/wiki/type/date/?v=17", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=17", "text": "date"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/date/?v=17", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=17", "text": "date"}, "result_type": "bool"}, {"number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": {"url": "/wiki/type/date/?v=17", "text": "date"}, "right_type": {"url": "/wiki/type/timestamp/?v=17", "text": "timestamp"}, "result_type": "int4"}, {"number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": {"url": "/wiki/type/date/?v=17", "text": "date"}, "right_type": {"url": "/wiki/type/timestamptz/?v=17", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": {"url": "/wiki/type/timestamp/?v=17", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=17", "text": "timestamp"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamp/?v=17", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=17", "text": "timestamp"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/timestamp/?v=17", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=17", "text": "timestamp"}, "result_type": "bool"}, {"number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": {"url": "/wiki/type/timestamp/?v=17", "text": "timestamp"}, "right_type": {"url": "/wiki/type/date/?v=17", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": {"url": "/wiki/type/timestamp/?v=17", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamptz/?v=17", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": {"url": "/wiki/type/timestamptz/?v=17", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=17", "text": "timestamptz"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamptz/?v=17", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=17", "text": "timestamptz"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/timestamptz/?v=17", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=17", "text": "timestamptz"}, "result_type": "bool"}, {"number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": {"url": "/wiki/type/timestamptz/?v=17", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/date/?v=17", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": {"url": "/wiki/type/timestamptz/?v=17", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamp/?v=17", "text": "timestamp"}, "result_type": "int4"}, {"number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": {"url": "/wiki/type/date/?v=17", "text": "date"}, "right_type": {"url": "/wiki/type/interval/?v=17", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamp/?v=17", "text": "timestamp"}, "right_type": {"url": "/wiki/type/interval/?v=17", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamptz/?v=17", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/interval/?v=17", "text": "interval"}, "result_type": "bool"}], "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-date_ops/?v=17", "text": "date_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/date/?v=17", "text": "date"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamptz_ops/?v=17", "text": "timestamptz_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamptz/?v=17", "text": "timestamptz"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamp_ops/?v=17", "text": "timestamp_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamp/?v=17", "text": "timestamp"}}], "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": "3127", "description": ["timestamptz_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/17/catalog-pg-amop.html", "method": "same-major semantic node", "sha256": "79658772dd07ff10c4a4a472853e5a9bcba832796f5f9d2c0c77a87da769e5f6", "language": "zh", "matched_nodes": ["#CATALOG-PG-AMOP/p[2]/em[1]"]}, {"url": "/docs/17/indexes-opclass.html", "method": "same-major semantic node", "sha256": "66b33ea1fd240b6fae08ded914d718d50dfeba9d5be16dac835d0472b9cc9e4a", "language": "zh", "matched_nodes": ["#INDEXES-OPCLASS/p[3]", "#INDEXES-OPCLASS/p[5]", "#INDEXES-OPCLASS/p[6]"]}], "language": "zh", "original_text": {"/versions/17/description/0": "B-tree operator class for timestamptz; member of datetime_ops.", "/versions/17/facts/0/label": "Object kind", "/versions/17/facts/0/value": "Operator class", "/versions/17/facts/1/label": "Index AM", "/versions/17/facts/2/label": "Input type", "/versions/17/facts/3/label": "Stored key type", "/versions/17/facts/3/value": "Same as input type (catalog zero)", "/versions/17/facts/4/label": "Default class", "/versions/17/facts/4/value": "yes", "/versions/17/tables/0/title": "Family operator strategies", "/versions/17/tables/1/title": "Family support functions", "/versions/17/tables/2/title": "Classes in this family", "/versions/17/related/0/label": "B-tree Index AM", "/versions/17/related/1/label": "datetime_ops family", "/versions/17/related/2/label": "timestamptz data type", "/versions/17/sections/0/title": "Operator classes and families", "/versions/17/tables/0/rows/0/scope": "Family member", "/versions/17/tables/0/rows/1/scope": "Family member", "/versions/17/tables/0/rows/2/scope": "Family member", "/versions/17/tables/0/rows/3/scope": "Family member", "/versions/17/tables/0/rows/4/scope": "Family member", "/versions/17/tables/0/rows/5/scope": "Family member", "/versions/17/tables/0/rows/6/scope": "Family member", "/versions/17/tables/0/rows/7/scope": "Family member", "/versions/17/tables/0/rows/8/scope": "Family member", "/versions/17/tables/0/rows/9/scope": "Family member", "/versions/17/tables/0/rows/10/scope": "Family member", "/versions/17/tables/0/rows/11/scope": "Family member", "/versions/17/tables/0/rows/12/scope": "Family member", "/versions/17/tables/0/rows/13/scope": "Family member", "/versions/17/tables/0/rows/14/scope": "Family member", "/versions/17/tables/0/rows/15/scope": "Family member", "/versions/17/tables/0/rows/16/scope": "Family member", "/versions/17/tables/0/rows/17/scope": "Family member", "/versions/17/tables/0/rows/18/scope": "Family member", "/versions/17/tables/0/rows/19/scope": "Family member", "/versions/17/tables/0/rows/20/scope": "Family member", "/versions/17/tables/0/rows/21/scope": "Family member", "/versions/17/tables/0/rows/22/scope": "Family member", "/versions/17/tables/0/rows/23/scope": "Family member", "/versions/17/tables/0/rows/24/scope": "Family member", "/versions/17/tables/0/rows/25/scope": "Family member", "/versions/17/tables/0/rows/26/scope": "Family member", "/versions/17/tables/0/rows/27/scope": "Family member", "/versions/17/tables/0/rows/28/scope": "Family member", "/versions/17/tables/0/rows/29/scope": "Family member", "/versions/17/tables/0/rows/30/scope": "Class input pair", "/versions/17/tables/0/rows/31/scope": "Class input pair", "/versions/17/tables/0/rows/32/scope": "Class input pair", "/versions/17/tables/0/rows/33/scope": "Class input pair", "/versions/17/tables/0/rows/34/scope": "Class input pair", "/versions/17/tables/0/rows/35/scope": "Family member", "/versions/17/tables/0/rows/36/scope": "Family member", "/versions/17/tables/0/rows/37/scope": "Family member", "/versions/17/tables/0/rows/38/scope": "Family member", "/versions/17/tables/0/rows/39/scope": "Family member", "/versions/17/tables/0/rows/40/scope": "Family member", "/versions/17/tables/0/rows/41/scope": "Family member", "/versions/17/tables/0/rows/42/scope": "Family member", "/versions/17/tables/0/rows/43/scope": "Family member", "/versions/17/tables/0/rows/44/scope": "Family member", "/versions/17/sections/0/paragraphs/0": "An index definition can specify an operator class for each column of an index.", "/versions/17/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/17/sections/0/paragraphs/2": "There are also some built-in operator classes besides the default ones:", "/versions/17/tables/0/rows/0/purpose": "search", "/versions/17/tables/0/rows/1/purpose": "search", "/versions/17/tables/0/rows/2/purpose": "search", "/versions/17/tables/0/rows/3/purpose": "search", "/versions/17/tables/0/rows/4/purpose": "search", "/versions/17/tables/0/rows/5/purpose": "search", "/versions/17/tables/0/rows/6/purpose": "search", "/versions/17/tables/0/rows/7/purpose": "search", "/versions/17/tables/0/rows/8/purpose": "search", "/versions/17/tables/0/rows/9/purpose": "search", "/versions/17/tables/2/rows/0/default": "yes", "/versions/17/tables/2/rows/1/default": "yes", "/versions/17/tables/2/rows/2/default": "yes", "/versions/17/tables/0/columns/0/label": "Operator overload", "/versions/17/tables/0/columns/1/label": "Strategy", "/versions/17/tables/0/columns/2/label": "Purpose", "/versions/17/tables/0/columns/3/label": "Ordering family", "/versions/17/tables/0/columns/4/label": "Membership scope", "/versions/17/tables/0/columns/5/label": "Source description", "/versions/17/tables/0/rows/10/purpose": "search", "/versions/17/tables/0/rows/11/purpose": "search", "/versions/17/tables/0/rows/12/purpose": "search", "/versions/17/tables/0/rows/13/purpose": "search", "/versions/17/tables/0/rows/14/purpose": "search", "/versions/17/tables/0/rows/15/purpose": "search", "/versions/17/tables/0/rows/16/purpose": "search", "/versions/17/tables/0/rows/17/purpose": "search", "/versions/17/tables/0/rows/18/purpose": "search", "/versions/17/tables/0/rows/19/purpose": "search", "/versions/17/tables/0/rows/20/purpose": "search", "/versions/17/tables/0/rows/21/purpose": "search", "/versions/17/tables/0/rows/22/purpose": "search", "/versions/17/tables/0/rows/23/purpose": "search", "/versions/17/tables/0/rows/24/purpose": "search", "/versions/17/tables/0/rows/25/purpose": "search", "/versions/17/tables/0/rows/26/purpose": "search", "/versions/17/tables/0/rows/27/purpose": "search", "/versions/17/tables/0/rows/28/purpose": "search", "/versions/17/tables/0/rows/29/purpose": "search", "/versions/17/tables/0/rows/30/purpose": "search", "/versions/17/tables/0/rows/31/purpose": "search", "/versions/17/tables/0/rows/32/purpose": "search", "/versions/17/tables/0/rows/33/purpose": "search", "/versions/17/tables/0/rows/34/purpose": "search", "/versions/17/tables/0/rows/35/purpose": "search", "/versions/17/tables/0/rows/36/purpose": "search", "/versions/17/tables/0/rows/37/purpose": "search", "/versions/17/tables/0/rows/38/purpose": "search", "/versions/17/tables/0/rows/39/purpose": "search", "/versions/17/tables/0/rows/40/purpose": "search", "/versions/17/tables/0/rows/41/purpose": "search", "/versions/17/tables/0/rows/42/purpose": "search", "/versions/17/tables/0/rows/43/purpose": "search", "/versions/17/tables/0/rows/44/purpose": "search", "/versions/17/tables/1/columns/0/label": "Support number", "/versions/17/tables/1/columns/1/label": "Left type", "/versions/17/tables/1/columns/2/label": "Right type", "/versions/17/tables/1/columns/3/label": "Function signature", "/versions/17/tables/1/columns/4/label": "Result type", "/versions/17/tables/2/columns/0/label": "Class", "/versions/17/tables/2/columns/1/label": "Input type", "/versions/17/tables/2/columns/2/label": "Key type", "/versions/17/tables/2/columns/3/label": "Default", "/versions/17/tables/2/rows/0/key_type": "Same as input type", "/versions/17/tables/2/rows/1/key_type": "Same as input type", "/versions/17/tables/2/rows/2/key_type": "Same as input type", "/versions/17/tables/0/rows/0/description": "less than", "/versions/17/tables/0/rows/1/description": "less than or equal", "/versions/17/tables/0/rows/2/description": "equal", "/versions/17/tables/0/rows/3/description": "greater than or equal", "/versions/17/tables/0/rows/4/description": "greater than", "/versions/17/tables/0/rows/5/description": "less than", "/versions/17/tables/0/rows/6/description": "less than or equal", "/versions/17/tables/0/rows/7/description": "equal", "/versions/17/tables/0/rows/8/description": "greater than or equal", "/versions/17/tables/0/rows/9/description": "greater than", "/versions/17/tables/0/rows/10/description": "less than", "/versions/17/tables/0/rows/11/description": "less than or equal", "/versions/17/tables/0/rows/12/description": "equal", "/versions/17/tables/0/rows/13/description": "greater than or equal", "/versions/17/tables/0/rows/14/description": "greater than", "/versions/17/tables/0/rows/15/description": "less than", "/versions/17/tables/0/rows/16/description": "less than or equal", "/versions/17/tables/0/rows/17/description": "equal", "/versions/17/tables/0/rows/18/description": "greater than or equal", "/versions/17/tables/0/rows/19/description": "greater than", "/versions/17/tables/0/rows/20/description": "less than", "/versions/17/tables/0/rows/21/description": "less than or equal", "/versions/17/tables/0/rows/22/description": "equal", "/versions/17/tables/0/rows/23/description": "greater than or equal", "/versions/17/tables/0/rows/24/description": "greater than", "/versions/17/tables/0/rows/25/description": "less than", "/versions/17/tables/0/rows/26/description": "less than or equal", "/versions/17/tables/0/rows/27/description": "equal", "/versions/17/tables/0/rows/28/description": "greater than or equal", "/versions/17/tables/0/rows/29/description": "greater than", "/versions/17/tables/0/rows/30/description": "less than", "/versions/17/tables/0/rows/31/description": "less than or equal", "/versions/17/tables/0/rows/32/description": "equal", "/versions/17/tables/0/rows/33/description": "greater than or equal", "/versions/17/tables/0/rows/34/description": "greater than", "/versions/17/tables/0/rows/35/description": "less than", "/versions/17/tables/0/rows/36/description": "less than or equal", "/versions/17/tables/0/rows/37/description": "equal", "/versions/17/tables/0/rows/38/description": "greater than or equal", "/versions/17/tables/0/rows/39/description": "greater than", "/versions/17/tables/0/rows/40/description": "less than", "/versions/17/tables/0/rows/41/description": "less than or equal", "/versions/17/tables/0/rows/42/description": "equal", "/versions/17/tables/0/rows/43/description": "greater than or equal", "/versions/17/tables/0/rows/44/description": "greater than"}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "90bcebd0981d6aa9c8ec9945888167be7be373da4e112ee5a84661b76d3e9d4d", "canonical_center_text_hash": "9ce03786076502093492dda7fdb0a59a19ca5c39e5971d59acc47971f2b03504"}, "description_zh": "timestamptz_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002", "comparison_data": {"kind": "class", "classes": [{"name": "date_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "date"}, {"name": "timestamp_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamp"}, {"name": "timestamptz_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamptz"}], "operators": [{"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,date)", "strategy": "1", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,date)", "strategy": "2", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,date)", "strategy": "3", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,date)", "strategy": "4", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,date)", "strategy": "5", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamp)", "strategy": "1", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamp)", "strategy": "2", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamp)", "strategy": "3", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamp)", "strategy": "4", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamp)", "strategy": "5", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamptz)", "strategy": "1", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamptz)", "strategy": "2", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamptz)", "strategy": "3", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamptz)", "strategy": "4", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamptz)", "strategy": "5", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,date)", "strategy": "1", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,date)", "strategy": "2", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,date)", "strategy": "3", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,date)", "strategy": "4", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,date)", "strategy": "5", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamp)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamp)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamp)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamp)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamp)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamptz)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamptz)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamptz)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamptz)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamptz)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,date)", "strategy": "1", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,date)", "strategy": "2", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,date)", "strategy": "3", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,date)", "strategy": "4", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,date)", "strategy": "5", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamp)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamp)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamp)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamp)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamp)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamptz)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamptz)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamptz)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamptz)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamptz)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}], "attributes": {"name": "timestamptz_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamptz"}, "support_functions": [{"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp(date,date)", "left_type": "date", "right_type": "date", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": "date", "right_type": "timestamp", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": "date", "right_type": "timestamptz", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": "timestamp", "right_type": "date", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": "timestamp", "right_type": "timestamp", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": "timestamp", "right_type": "timestamptz", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": "timestamptz", "right_type": "date", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": "timestamptz", "right_type": "timestamp", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": "timestamptz", "right_type": "timestamptz", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "date_sortsupport(internal)", "left_type": "date", "right_type": "date", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamp", "right_type": "timestamp", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamptz", "right_type": "timestamptz", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": "date", "right_type": "interval", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": "timestamp", "right_type": "interval", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": "timestamptz", "right_type": "interval", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "date", "right_type": "date", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "timestamp", "right_type": "timestamp", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "timestamptz", "right_type": "timestamptz", "result_type": "bool"}]}, "comparison_hash": "d3575a8c57eb77b633d63e9d8efa922b2179d112603ef5b2639e9b41eb2ff351", "manual_language": "zh", "support_functions": [{"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp(date,date)", "left_type": "date", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "date_sortsupport(internal)", "left_type": "date", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "date", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": "date", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": "date", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": "timestamp", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamp", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "timestamp", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": "timestamp", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": "timestamp", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": "timestamptz", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamptz", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "timestamptz", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": "timestamptz", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": "timestamptz", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": "date", "right_type": "interval", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": "timestamp", "right_type": "interval", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": "timestamptz", "right_type": "interval", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}], "description_zh_html": "<p>timestamptz_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002</p><dl><dt>\u540d\u79f0</dt><dd><code>timestamptz_ops</code></dd><dt>\u8fd0\u7b97\u7b26\u65cf</dt><dd><code>datetime_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>timestamptz</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;(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</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>date_cmp(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>date_sortsupport(internal)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>bool</code></td></tr><tr><td><code>1</code></td><td><code>date_cmp_timestamp(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>date_cmp_timestamptz(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>timestamp_sortsupport(internal)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>bool</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp_date(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp_timestamptz(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>timestamp_sortsupport(internal)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>bool</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp_date(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp_timestamp(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>3</code></td><td><code>in_range(date,date,interval,bool,bool)</code></td><td><code>date</code></td><td><code>interval</code></td><td><code>bool</code></td></tr><tr><td><code>3</code></td><td><code>in_range(timestamp,timestamp,interval,bool,bool)</code></td><td><code>timestamp</code></td><td><code>interval</code></td><td><code>bool</code></td></tr><tr><td><code>3</code></td><td><code>in_range(timestamptz,timestamptz,interval,bool,bool)</code></td><td><code>timestamptz</code></td><td><code>interval</code></td><td><code>bool</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/17/indexes-opclass.html\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "18": {"class": {"name": "timestamptz_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamptz"}, "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": "timestamptz"}, {"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": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-date/?v=18", "text": "<(date,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-date/?v=18", "text": "<=(date,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-date/?v=18", "text": "=(date,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-date/?v=18", "text": ">=(date,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-date/?v=18", "text": ">(date,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-timestamp/?v=18", "text": "<(date,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamp/?v=18", "text": "<=(date,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-timestamp/?v=18", "text": "=(date,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamp/?v=18", "text": ">=(date,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-timestamp/?v=18", "text": ">(date,timestamp)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-timestamptz/?v=18", "text": "<(date,timestamptz)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamptz/?v=18", "text": "<=(date,timestamptz)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-timestamptz/?v=18", "text": "=(date,timestamptz)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamptz/?v=18", "text": ">=(date,timestamptz)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-timestamptz/?v=18", "text": ">(date,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamp/?v=18", "text": "<(timestamp,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamp/?v=18", "text": "<=(timestamp,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamp/?v=18", "text": "=(timestamp,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamp/?v=18", "text": ">=(timestamp,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamp/?v=18", "text": ">(timestamp,timestamp)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-date/?v=18", "text": "<(timestamp,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-date/?v=18", "text": "<=(timestamp,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-date/?v=18", "text": "=(timestamp,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-date/?v=18", "text": ">=(timestamp,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-date/?v=18", "text": ">(timestamp,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamptz/?v=18", "text": "<(timestamp,timestamptz)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamptz/?v=18", "text": "<=(timestamp,timestamptz)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamptz/?v=18", "text": "=(timestamp,timestamptz)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamptz/?v=18", "text": ">=(timestamp,timestamptz)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamptz/?v=18", "text": ">(timestamp,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamptz/?v=18", "text": "<(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=18", "text": "<=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=18", "text": "=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=18", "text": ">=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=18", "text": ">(timestamptz,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-date/?v=18", "text": "<(timestamptz,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-date/?v=18", "text": "<=(timestamptz,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamptz-date/?v=18", "text": "=(timestamptz,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-date/?v=18", "text": ">=(timestamptz,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamptz-date/?v=18", "text": ">(timestamptz,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamp/?v=18", "text": "<(timestamptz,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-timestamp/?v=18", "text": "<=(timestamptz,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamptz-timestamp/?v=18", "text": "=(timestamptz,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-timestamp/?v=18", "text": ">=(timestamptz,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamptz-timestamp/?v=18", "text": ">(timestamptz,timestamp)"}, "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": "date_cmp(date,date)", "left_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "result_type": "int4"}, {"number": "2", "function": "date_sortsupport(internal)", "left_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "result_type": "bool"}, {"number": "6", "function": "date_skipsupport(internal)", "left_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "result_type": "void"}, {"number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "right_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "result_type": "int4"}, {"number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "right_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "result_type": "bool"}, {"number": "6", "function": "timestamp_skipsupport(internal)", "left_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "result_type": "void"}, {"number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "right_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "result_type": "bool"}, {"number": "6", "function": "timestamp_skipsupport(internal)", "left_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "result_type": "void"}, {"number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "result_type": "int4"}, {"number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "right_type": {"url": "/wiki/type/interval/?v=18", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "right_type": {"url": "/wiki/type/interval/?v=18", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/interval/?v=18", "text": "interval"}, "result_type": "bool"}], "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-date_ops/?v=18", "text": "date_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/date/?v=18", "text": "date"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamptz_ops/?v=18", "text": "timestamptz_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamp_ops/?v=18", "text": "timestamp_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}}], "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": ["timestamptz_ops", "btree/timestamptz_ops"], "classes": [{"name": "date_ops", "slug": "class-btree-date_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "date", "source_oid": "3122", "family_slug": "family-btree-datetime_ops"}, {"name": "timestamptz_ops", "slug": "class-btree-timestamptz_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamptz", "source_oid": "3127", "family_slug": "family-btree-datetime_ops"}, {"name": "timestamp_ops", "slug": "class-btree-timestamp_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamp", "source_oid": "3128", "family_slug": "family-btree-datetime_ops"}], "related": [{"url": "/wiki/indexam/btree/?v=18", "label": "B-tree \u7d22\u5f15\u8bbf\u95ee\u65b9\u6cd5"}, {"url": "/wiki/opclass/family-btree-datetime_ops/?v=18", "label": "datetime_ops \u5bb6\u65cf"}, {"url": "/wiki/type/timestamptz/?v=18", "label": "timestamptz \u6570\u636e\u7c7b\u578b"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v18.6/postgresql-18.6.tar.bz2", "label": "18.6", "major": "18", "channel": "stable", "revision": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f", "source_sha256": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f", "manual_fingerprint": "fefce9e478eb2afe5e17e869492bbedc67dce23d317f0a5257240113d6496ebc", "catalog_fingerprint": "deec62e0f0c649d9d0d058ddd0b16bf41afffd569c3fd73949ff0971ce5cabd6"}, "sources": [{"url": "https://ftp.postgresql.org/pub/source/v18.6/postgresql-18.6.tar.bz2", "label": "Matching PostgreSQL source archive", "sha256": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"}, {"url": "/docs/18/indexes-opclass.html", "path": "indexes-opclass.html", "label": "PostgreSQL 18 English manual: indexes-opclass.html", "sha256": "07de06abf3a2aff2a891a2789def434d9b76705e54d45ca5338dc13451ae2962"}, {"url": "/docs/18/catalog-pg-opclass.html", "path": "catalog-pg-opclass.html", "label": "PostgreSQL 18 English manual: catalog-pg-opclass.html", "sha256": "6f131a502f81b813d447e746fc39ee28e5bdfb3ce8e8baea36a71ad0fde78c40"}, {"url": "/docs/18/catalog-pg-amop.html", "path": "catalog-pg-amop.html", "label": "PostgreSQL 18 English manual: catalog-pg-amop.html", "sha256": "e65b90ee78eaf4b4da97ce5b08b972cee2e2660b882ec107be22eca47201f7d1"}, {"url": "/docs/18/catalog-pg-amproc.html", "path": "catalog-pg-amproc.html", "label": "PostgreSQL 18 English manual: catalog-pg-amproc.html", "sha256": "0a09afbde0ba8da9899bf770b86d8301bee116057b16ebe7db0e4a7fca2e91c6"}], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-structured-summary", "manual": {"url": "/zh/docs/18/indexes-opclass.html", "anchor": "", "locale": "zh-Hans", "version": "18", "build_id": 107, "page_key": "indexes-opclass.html", "extraction": "concept-introduction", "source_hash": "cce6c9b1d4fbb418823aa7be2585facae45f45a5f75c43bd26170c1383c2a4b5", "fragment_sha256": "dad5545190ebde655fce48dfc13cd02d2863166fac7cf0c2b28b059c9e419ae4", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "git:b1b500221dbe5437cfca004d6b04d3f6e422765d;html-sha256:08e987a66af27b98444a8057c256314eafa13611a3fb9e888214fc436824244b", "translated_from_revision": null}, "body_sha256": "efe22853d38b61dcd18a242278ebcffd7489477572c5e289622000e6c3ffe4ba", "runtime_rerun": false, "authored_translation": "source-derived-structured-summary", "source_facts_revision": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"}, "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": "timestamptz"}, {"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/timestamptz_ops (class)", "locale": "zh-Hans", "source": {"key": "class-btree-timestamptz_ops", "locale": "zh-Hans", "version": "18", "text_hash": "87e3520546ba7f1977d3c279b234366d5a6b2c138bbef7b21cc63b4598c35bee", "collection": "opclass", "dataset_hash": "7c31b524dfe136022d39a6ae8dcfac6b3bbd5f8fdaf422536599981252aff0c9", "source_database": "center", "source_revision": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"}, "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": "timestamptz"}, {"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": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-date/?v=18", "text": "<(date,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-date/?v=18", "text": "<=(date,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-date/?v=18", "text": "=(date,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-date/?v=18", "text": ">=(date,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-date/?v=18", "text": ">(date,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-timestamp/?v=18", "text": "<(date,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamp/?v=18", "text": "<=(date,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-timestamp/?v=18", "text": "=(date,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamp/?v=18", "text": ">=(date,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-timestamp/?v=18", "text": ">(date,timestamp)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-timestamptz/?v=18", "text": "<(date,timestamptz)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamptz/?v=18", "text": "<=(date,timestamptz)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-timestamptz/?v=18", "text": "=(date,timestamptz)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamptz/?v=18", "text": ">=(date,timestamptz)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-timestamptz/?v=18", "text": ">(date,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamp/?v=18", "text": "<(timestamp,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamp/?v=18", "text": "<=(timestamp,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamp/?v=18", "text": "=(timestamp,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamp/?v=18", "text": ">=(timestamp,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamp/?v=18", "text": ">(timestamp,timestamp)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-date/?v=18", "text": "<(timestamp,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-date/?v=18", "text": "<=(timestamp,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-date/?v=18", "text": "=(timestamp,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-date/?v=18", "text": ">=(timestamp,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-date/?v=18", "text": ">(timestamp,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamptz/?v=18", "text": "<(timestamp,timestamptz)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamptz/?v=18", "text": "<=(timestamp,timestamptz)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamptz/?v=18", "text": "=(timestamp,timestamptz)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamptz/?v=18", "text": ">=(timestamp,timestamptz)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamptz/?v=18", "text": ">(timestamp,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamptz/?v=18", "text": "<(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=18", "text": "<=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=18", "text": "=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=18", "text": ">=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=18", "text": ">(timestamptz,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-date/?v=18", "text": "<(timestamptz,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-date/?v=18", "text": "<=(timestamptz,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamptz-date/?v=18", "text": "=(timestamptz,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-date/?v=18", "text": ">=(timestamptz,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamptz-date/?v=18", "text": ">(timestamptz,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamp/?v=18", "text": "<(timestamptz,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-timestamp/?v=18", "text": "<=(timestamptz,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamptz-timestamp/?v=18", "text": "=(timestamptz,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-timestamp/?v=18", "text": ">=(timestamptz,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamptz-timestamp/?v=18", "text": ">(timestamptz,timestamp)"}, "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": "date_cmp(date,date)", "left_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "result_type": "int4"}, {"number": "2", "function": "date_sortsupport(internal)", "left_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "result_type": "bool"}, {"number": "6", "function": "date_skipsupport(internal)", "left_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "result_type": "void"}, {"number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "right_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "result_type": "int4"}, {"number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "right_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "result_type": "bool"}, {"number": "6", "function": "timestamp_skipsupport(internal)", "left_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "result_type": "void"}, {"number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "right_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "result_type": "bool"}, {"number": "6", "function": "timestamp_skipsupport(internal)", "left_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "result_type": "void"}, {"number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "result_type": "int4"}, {"number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "right_type": {"url": "/wiki/type/interval/?v=18", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "right_type": {"url": "/wiki/type/interval/?v=18", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/interval/?v=18", "text": "interval"}, "result_type": "bool"}], "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-date_ops/?v=18", "text": "date_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/date/?v=18", "text": "date"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamptz_ops/?v=18", "text": "timestamptz_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamp_ops/?v=18", "text": "timestamp_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}}], "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/18/indexes-opclass.html", "anchor": "", "locale": "zh-Hans", "version": "18", "build_id": 107, "page_key": "indexes-opclass.html", "extraction": "concept-introduction", "source_hash": "cce6c9b1d4fbb418823aa7be2585facae45f45a5f75c43bd26170c1383c2a4b5", "fragment_sha256": "dad5545190ebde655fce48dfc13cd02d2863166fac7cf0c2b28b059c9e419ae4", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "git:b1b500221dbe5437cfca004d6b04d3f6e422765d;html-sha256:08e987a66af27b98444a8057c256314eafa13611a3fb9e888214fc436824244b", "translated_from_revision": null}, "body_sha256": "efe22853d38b61dcd18a242278ebcffd7489477572c5e289622000e6c3ffe4ba", "runtime_rerun": false, "authored_translation": "source-derived-structured-summary", "source_facts_revision": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"}, "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": "timestamptz_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002", "description_zh_html": "<p>timestamptz_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002</p><dl><dt>\u540d\u79f0</dt><dd><code>timestamptz_ops</code></dd><dt>\u8fd0\u7b97\u7b26\u65cf</dt><dd><code>datetime_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>timestamptz</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;(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</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>date_cmp(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>date_sortsupport(internal)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>bool</code></td></tr><tr><td><code>6</code></td><td><code>date_skipsupport(internal)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>void</code></td></tr><tr><td><code>1</code></td><td><code>date_cmp_timestamp(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>date_cmp_timestamptz(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>timestamp_sortsupport(internal)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>bool</code></td></tr><tr><td><code>6</code></td><td><code>timestamp_skipsupport(internal)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>void</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp_date(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp_timestamptz(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>timestamp_sortsupport(internal)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>bool</code></td></tr><tr><td><code>6</code></td><td><code>timestamp_skipsupport(internal)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>void</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp_date(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp_timestamp(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>3</code></td><td><code>in_range(date,date,interval,bool,bool)</code></td><td><code>date</code></td><td><code>interval</code></td><td><code>bool</code></td></tr><tr><td><code>3</code></td><td><code>in_range(timestamp,timestamp,interval,bool,bool)</code></td><td><code>timestamp</code></td><td><code>interval</code></td><td><code>bool</code></td></tr><tr><td><code>3</code></td><td><code>in_range(timestamptz,timestamptz,interval,bool,bool)</code></td><td><code>timestamptz</code></td><td><code>interval</code></td><td><code>bool</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/18/indexes-opclass.html\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "summary": "timestamptz_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002", "version": "18", "link_map": {"/zh/docs/18/indexes-opclass.html": "/docs/18/indexes-opclass.html"}, "body_html": "<p>timestamptz_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002</p><dl><dt>\u540d\u79f0</dt><dd><code>timestamptz_ops</code></dd><dt>\u8fd0\u7b97\u7b26\u65cf</dt><dd><code>datetime_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>timestamptz</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;(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</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>date_cmp(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>date_sortsupport(internal)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>bool</code></td></tr><tr><td><code>6</code></td><td><code>date_skipsupport(internal)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>void</code></td></tr><tr><td><code>1</code></td><td><code>date_cmp_timestamp(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>date_cmp_timestamptz(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>timestamp_sortsupport(internal)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>bool</code></td></tr><tr><td><code>6</code></td><td><code>timestamp_skipsupport(internal)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>void</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp_date(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp_timestamptz(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>timestamp_sortsupport(internal)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>bool</code></td></tr><tr><td><code>6</code></td><td><code>timestamp_skipsupport(internal)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>void</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp_date(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp_timestamp(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>3</code></td><td><code>in_range(date,date,interval,bool,bool)</code></td><td><code>date</code></td><td><code>interval</code></td><td><code>bool</code></td></tr><tr><td><code>3</code></td><td><code>in_range(timestamp,timestamp,interval,bool,bool)</code></td><td><code>timestamp</code></td><td><code>interval</code></td><td><code>bool</code></td></tr><tr><td><code>3</code></td><td><code>in_range(timestamptz,timestamptz,interval,bool,bool)</code></td><td><code>timestamptz</code></td><td><code>interval</code></td><td><code>bool</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/18/indexes-opclass.html\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>", "body_sha256": "5ddcf11dd6a6d2db57453f71bccfbc709000495987bd3262e21ba5e53357e32f", "content_hash": "87e3520546ba7f1977d3c279b234366d5a6b2c138bbef7b21cc63b4598c35bee", "source_database": "center", "source_revision": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"}, "operators": [{"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,date)", "strategy": "1", "left_type": "date", "right_type": "date", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,date)", "strategy": "2", "left_type": "date", "right_type": "date", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,date)", "strategy": "3", "left_type": "date", "right_type": "date", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,date)", "strategy": "4", "left_type": "date", "right_type": "date", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,date)", "strategy": "5", "left_type": "date", "right_type": "date", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamp)", "strategy": "1", "left_type": "date", "right_type": "timestamp", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamp)", "strategy": "2", "left_type": "date", "right_type": "timestamp", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamp)", "strategy": "3", "left_type": "date", "right_type": "timestamp", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamp)", "strategy": "4", "left_type": "date", "right_type": "timestamp", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamp)", "strategy": "5", "left_type": "date", "right_type": "timestamp", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamptz)", "strategy": "1", "left_type": "date", "right_type": "timestamptz", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamptz)", "strategy": "2", "left_type": "date", "right_type": "timestamptz", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamptz)", "strategy": "3", "left_type": "date", "right_type": "timestamptz", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamptz)", "strategy": "4", "left_type": "date", "right_type": "timestamptz", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamptz)", "strategy": "5", "left_type": "date", "right_type": "timestamptz", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamp)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamp", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamp)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamp", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamp)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamp", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamp)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamp", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamp)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamp", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,date)", "strategy": "1", "left_type": "timestamp", "right_type": "date", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,date)", "strategy": "2", "left_type": "timestamp", "right_type": "date", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,date)", "strategy": "3", "left_type": "timestamp", "right_type": "date", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,date)", "strategy": "4", "left_type": "timestamp", "right_type": "date", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,date)", "strategy": "5", "left_type": "timestamp", "right_type": "date", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamptz)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamptz", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamptz)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamptz", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamptz)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamptz", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamptz)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamptz", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamptz)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamptz", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamptz)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamptz", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamptz)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamptz", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamptz)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamptz", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamptz)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamptz", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamptz)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamptz", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,date)", "strategy": "1", "left_type": "timestamptz", "right_type": "date", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,date)", "strategy": "2", "left_type": "timestamptz", "right_type": "date", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,date)", "strategy": "3", "left_type": "timestamptz", "right_type": "date", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,date)", "strategy": "4", "left_type": "timestamptz", "right_type": "date", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,date)", "strategy": "5", "left_type": "timestamptz", "right_type": "date", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamp)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamp", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamp)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamp", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamp)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamp", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamp)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamp", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamp)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamp", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamptz-timestamp", "sort_family_slug": ""}], "signature": "btree/timestamptz_ops", "tables_zh": [{"key": "operators", "rows": [{"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-date/?v=18", "text": "<(date,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-date/?v=18", "text": "<=(date,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-date/?v=18", "text": "=(date,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-date/?v=18", "text": ">=(date,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-date/?v=18", "text": ">(date,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-timestamp/?v=18", "text": "<(date,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamp/?v=18", "text": "<=(date,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-timestamp/?v=18", "text": "=(date,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamp/?v=18", "text": ">=(date,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-timestamp/?v=18", "text": ">(date,timestamp)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-timestamptz/?v=18", "text": "<(date,timestamptz)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamptz/?v=18", "text": "<=(date,timestamptz)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-timestamptz/?v=18", "text": "=(date,timestamptz)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamptz/?v=18", "text": ">=(date,timestamptz)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-timestamptz/?v=18", "text": ">(date,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamp/?v=18", "text": "<(timestamp,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamp/?v=18", "text": "<=(timestamp,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamp/?v=18", "text": "=(timestamp,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamp/?v=18", "text": ">=(timestamp,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamp/?v=18", "text": ">(timestamp,timestamp)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-date/?v=18", "text": "<(timestamp,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-date/?v=18", "text": "<=(timestamp,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-date/?v=18", "text": "=(timestamp,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-date/?v=18", "text": ">=(timestamp,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-date/?v=18", "text": ">(timestamp,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamptz/?v=18", "text": "<(timestamp,timestamptz)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamptz/?v=18", "text": "<=(timestamp,timestamptz)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamptz/?v=18", "text": "=(timestamp,timestamptz)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamptz/?v=18", "text": ">=(timestamp,timestamptz)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamptz/?v=18", "text": ">(timestamp,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamptz/?v=18", "text": "<(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=18", "text": "<=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=18", "text": "=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=18", "text": ">=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=18", "text": ">(timestamptz,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-date/?v=18", "text": "<(timestamptz,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-date/?v=18", "text": "<=(timestamptz,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamptz-date/?v=18", "text": "=(timestamptz,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-date/?v=18", "text": ">=(timestamptz,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamptz-date/?v=18", "text": ">(timestamptz,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamp/?v=18", "text": "<(timestamptz,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-timestamp/?v=18", "text": "<=(timestamptz,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamptz-timestamp/?v=18", "text": "=(timestamptz,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-timestamp/?v=18", "text": ">=(timestamptz,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamptz-timestamp/?v=18", "text": ">(timestamptz,timestamp)"}, "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": "date_cmp(date,date)", "left_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "result_type": "int4"}, {"number": "2", "function": "date_sortsupport(internal)", "left_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "result_type": "bool"}, {"number": "6", "function": "date_skipsupport(internal)", "left_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "result_type": "void"}, {"number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "right_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "result_type": "int4"}, {"number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "right_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "result_type": "bool"}, {"number": "6", "function": "timestamp_skipsupport(internal)", "left_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "result_type": "void"}, {"number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "right_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "result_type": "bool"}, {"number": "6", "function": "timestamp_skipsupport(internal)", "left_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "result_type": "void"}, {"number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "result_type": "int4"}, {"number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "right_type": {"url": "/wiki/type/interval/?v=18", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "right_type": {"url": "/wiki/type/interval/?v=18", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/interval/?v=18", "text": "interval"}, "result_type": "bool"}], "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-date_ops/?v=18", "text": "date_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/date/?v=18", "text": "date"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamptz_ops/?v=18", "text": "timestamptz_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamp_ops/?v=18", "text": "timestamp_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}}], "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": "3127", "description": ["timestamptz_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/18/catalog-pg-amop.html", "method": "same-major semantic node", "sha256": "c46185aa5f574dacd289a0b3876023793406b4cf58dee7eeebb86436d0577bdc", "language": "zh", "matched_nodes": ["#CATALOG-PG-AMOP/p[2]/em[1]"]}, {"url": "/docs/18/indexes-opclass.html", "method": "same-major semantic node", "sha256": "d2d3789266054f227a79e8de0e96355c10b20598c2958745751fea464d457f8d", "language": "zh", "matched_nodes": ["#INDEXES-OPCLASS/p[3]", "#INDEXES-OPCLASS/p[5]", "#INDEXES-OPCLASS/p[6]"]}], "language": "zh", "original_text": {"/versions/18/description/0": "B-tree operator class for timestamptz; member of datetime_ops.", "/versions/18/facts/0/label": "Object kind", "/versions/18/facts/0/value": "Operator class", "/versions/18/facts/1/label": "Index AM", "/versions/18/facts/2/label": "Input type", "/versions/18/facts/3/label": "Stored key type", "/versions/18/facts/3/value": "Same as input type (catalog zero)", "/versions/18/facts/4/label": "Default class", "/versions/18/facts/4/value": "yes", "/versions/18/tables/0/title": "Family operator strategies", "/versions/18/tables/1/title": "Family support functions", "/versions/18/tables/2/title": "Classes in this family", "/versions/18/related/0/label": "B-tree Index AM", "/versions/18/related/1/label": "datetime_ops family", "/versions/18/related/2/label": "timestamptz data type", "/versions/18/sections/0/title": "Operator classes and families", "/versions/18/tables/0/rows/0/scope": "Family member", "/versions/18/tables/0/rows/1/scope": "Family member", "/versions/18/tables/0/rows/2/scope": "Family member", "/versions/18/tables/0/rows/3/scope": "Family member", "/versions/18/tables/0/rows/4/scope": "Family member", "/versions/18/tables/0/rows/5/scope": "Family member", "/versions/18/tables/0/rows/6/scope": "Family member", "/versions/18/tables/0/rows/7/scope": "Family member", "/versions/18/tables/0/rows/8/scope": "Family member", "/versions/18/tables/0/rows/9/scope": "Family member", "/versions/18/tables/0/rows/10/scope": "Family member", "/versions/18/tables/0/rows/11/scope": "Family member", "/versions/18/tables/0/rows/12/scope": "Family member", "/versions/18/tables/0/rows/13/scope": "Family member", "/versions/18/tables/0/rows/14/scope": "Family member", "/versions/18/tables/0/rows/15/scope": "Family member", "/versions/18/tables/0/rows/16/scope": "Family member", "/versions/18/tables/0/rows/17/scope": "Family member", "/versions/18/tables/0/rows/18/scope": "Family member", "/versions/18/tables/0/rows/19/scope": "Family member", "/versions/18/tables/0/rows/20/scope": "Family member", "/versions/18/tables/0/rows/21/scope": "Family member", "/versions/18/tables/0/rows/22/scope": "Family member", "/versions/18/tables/0/rows/23/scope": "Family member", "/versions/18/tables/0/rows/24/scope": "Family member", "/versions/18/tables/0/rows/25/scope": "Family member", "/versions/18/tables/0/rows/26/scope": "Family member", "/versions/18/tables/0/rows/27/scope": "Family member", "/versions/18/tables/0/rows/28/scope": "Family member", "/versions/18/tables/0/rows/29/scope": "Family member", "/versions/18/tables/0/rows/30/scope": "Class input pair", "/versions/18/tables/0/rows/31/scope": "Class input pair", "/versions/18/tables/0/rows/32/scope": "Class input pair", "/versions/18/tables/0/rows/33/scope": "Class input pair", "/versions/18/tables/0/rows/34/scope": "Class input pair", "/versions/18/tables/0/rows/35/scope": "Family member", "/versions/18/tables/0/rows/36/scope": "Family member", "/versions/18/tables/0/rows/37/scope": "Family member", "/versions/18/tables/0/rows/38/scope": "Family member", "/versions/18/tables/0/rows/39/scope": "Family member", "/versions/18/tables/0/rows/40/scope": "Family member", "/versions/18/tables/0/rows/41/scope": "Family member", "/versions/18/tables/0/rows/42/scope": "Family member", "/versions/18/tables/0/rows/43/scope": "Family member", "/versions/18/tables/0/rows/44/scope": "Family member", "/versions/18/sections/0/paragraphs/0": "An index definition can specify an operator class for each column of an index.", "/versions/18/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/18/sections/0/paragraphs/2": "There are also some built-in operator classes besides the default ones:", "/versions/18/tables/0/rows/0/purpose": "search", "/versions/18/tables/0/rows/1/purpose": "search", "/versions/18/tables/0/rows/2/purpose": "search", "/versions/18/tables/0/rows/3/purpose": "search", "/versions/18/tables/0/rows/4/purpose": "search", "/versions/18/tables/0/rows/5/purpose": "search", "/versions/18/tables/0/rows/6/purpose": "search", "/versions/18/tables/0/rows/7/purpose": "search", "/versions/18/tables/0/rows/8/purpose": "search", "/versions/18/tables/0/rows/9/purpose": "search", "/versions/18/tables/2/rows/0/default": "yes", "/versions/18/tables/2/rows/1/default": "yes", "/versions/18/tables/2/rows/2/default": "yes", "/versions/18/tables/0/columns/0/label": "Operator overload", "/versions/18/tables/0/columns/1/label": "Strategy", "/versions/18/tables/0/columns/2/label": "Purpose", "/versions/18/tables/0/columns/3/label": "Ordering family", "/versions/18/tables/0/columns/4/label": "Membership scope", "/versions/18/tables/0/columns/5/label": "Source description", "/versions/18/tables/0/rows/10/purpose": "search", "/versions/18/tables/0/rows/11/purpose": "search", "/versions/18/tables/0/rows/12/purpose": "search", "/versions/18/tables/0/rows/13/purpose": "search", "/versions/18/tables/0/rows/14/purpose": "search", "/versions/18/tables/0/rows/15/purpose": "search", "/versions/18/tables/0/rows/16/purpose": "search", "/versions/18/tables/0/rows/17/purpose": "search", "/versions/18/tables/0/rows/18/purpose": "search", "/versions/18/tables/0/rows/19/purpose": "search", "/versions/18/tables/0/rows/20/purpose": "search", "/versions/18/tables/0/rows/21/purpose": "search", "/versions/18/tables/0/rows/22/purpose": "search", "/versions/18/tables/0/rows/23/purpose": "search", "/versions/18/tables/0/rows/24/purpose": "search", "/versions/18/tables/0/rows/25/purpose": "search", "/versions/18/tables/0/rows/26/purpose": "search", "/versions/18/tables/0/rows/27/purpose": "search", "/versions/18/tables/0/rows/28/purpose": "search", "/versions/18/tables/0/rows/29/purpose": "search", "/versions/18/tables/0/rows/30/purpose": "search", "/versions/18/tables/0/rows/31/purpose": "search", "/versions/18/tables/0/rows/32/purpose": "search", "/versions/18/tables/0/rows/33/purpose": "search", "/versions/18/tables/0/rows/34/purpose": "search", "/versions/18/tables/0/rows/35/purpose": "search", "/versions/18/tables/0/rows/36/purpose": "search", "/versions/18/tables/0/rows/37/purpose": "search", "/versions/18/tables/0/rows/38/purpose": "search", "/versions/18/tables/0/rows/39/purpose": "search", "/versions/18/tables/0/rows/40/purpose": "search", "/versions/18/tables/0/rows/41/purpose": "search", "/versions/18/tables/0/rows/42/purpose": "search", "/versions/18/tables/0/rows/43/purpose": "search", "/versions/18/tables/0/rows/44/purpose": "search", "/versions/18/tables/1/columns/0/label": "Support number", "/versions/18/tables/1/columns/1/label": "Left type", "/versions/18/tables/1/columns/2/label": "Right type", "/versions/18/tables/1/columns/3/label": "Function signature", "/versions/18/tables/1/columns/4/label": "Result type", "/versions/18/tables/2/columns/0/label": "Class", "/versions/18/tables/2/columns/1/label": "Input type", "/versions/18/tables/2/columns/2/label": "Key type", "/versions/18/tables/2/columns/3/label": "Default", "/versions/18/tables/2/rows/0/key_type": "Same as input type", "/versions/18/tables/2/rows/1/key_type": "Same as input type", "/versions/18/tables/2/rows/2/key_type": "Same as input type", "/versions/18/tables/0/rows/0/description": "less than", "/versions/18/tables/0/rows/1/description": "less than or equal", "/versions/18/tables/0/rows/2/description": "equal", "/versions/18/tables/0/rows/3/description": "greater than or equal", "/versions/18/tables/0/rows/4/description": "greater than", "/versions/18/tables/0/rows/5/description": "less than", "/versions/18/tables/0/rows/6/description": "less than or equal", "/versions/18/tables/0/rows/7/description": "equal", "/versions/18/tables/0/rows/8/description": "greater than or equal", "/versions/18/tables/0/rows/9/description": "greater than", "/versions/18/tables/0/rows/10/description": "less than", "/versions/18/tables/0/rows/11/description": "less than or equal", "/versions/18/tables/0/rows/12/description": "equal", "/versions/18/tables/0/rows/13/description": "greater than or equal", "/versions/18/tables/0/rows/14/description": "greater than", "/versions/18/tables/0/rows/15/description": "less than", "/versions/18/tables/0/rows/16/description": "less than or equal", "/versions/18/tables/0/rows/17/description": "equal", "/versions/18/tables/0/rows/18/description": "greater than or equal", "/versions/18/tables/0/rows/19/description": "greater than", "/versions/18/tables/0/rows/20/description": "less than", "/versions/18/tables/0/rows/21/description": "less than or equal", "/versions/18/tables/0/rows/22/description": "equal", "/versions/18/tables/0/rows/23/description": "greater than or equal", "/versions/18/tables/0/rows/24/description": "greater than", "/versions/18/tables/0/rows/25/description": "less than", "/versions/18/tables/0/rows/26/description": "less than or equal", "/versions/18/tables/0/rows/27/description": "equal", "/versions/18/tables/0/rows/28/description": "greater than or equal", "/versions/18/tables/0/rows/29/description": "greater than", "/versions/18/tables/0/rows/30/description": "less than", "/versions/18/tables/0/rows/31/description": "less than or equal", "/versions/18/tables/0/rows/32/description": "equal", "/versions/18/tables/0/rows/33/description": "greater than or equal", "/versions/18/tables/0/rows/34/description": "greater than", "/versions/18/tables/0/rows/35/description": "less than", "/versions/18/tables/0/rows/36/description": "less than or equal", "/versions/18/tables/0/rows/37/description": "equal", "/versions/18/tables/0/rows/38/description": "greater than or equal", "/versions/18/tables/0/rows/39/description": "greater than", "/versions/18/tables/0/rows/40/description": "less than", "/versions/18/tables/0/rows/41/description": "less than or equal", "/versions/18/tables/0/rows/42/description": "equal", "/versions/18/tables/0/rows/43/description": "greater than or equal", "/versions/18/tables/0/rows/44/description": "greater than"}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "5d450d449a9e2bf386b302a5938d544dea225824050d80bd67f92f4b2cdc48cd", "canonical_center_text_hash": "87e3520546ba7f1977d3c279b234366d5a6b2c138bbef7b21cc63b4598c35bee"}, "description_zh": "timestamptz_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002", "comparison_data": {"kind": "class", "classes": [{"name": "date_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "date"}, {"name": "timestamp_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamp"}, {"name": "timestamptz_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamptz"}], "operators": [{"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,date)", "strategy": "1", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,date)", "strategy": "2", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,date)", "strategy": "3", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,date)", "strategy": "4", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,date)", "strategy": "5", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamp)", "strategy": "1", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamp)", "strategy": "2", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamp)", "strategy": "3", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamp)", "strategy": "4", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamp)", "strategy": "5", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamptz)", "strategy": "1", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamptz)", "strategy": "2", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamptz)", "strategy": "3", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamptz)", "strategy": "4", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamptz)", "strategy": "5", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,date)", "strategy": "1", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,date)", "strategy": "2", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,date)", "strategy": "3", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,date)", "strategy": "4", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,date)", "strategy": "5", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamp)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamp)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamp)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamp)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamp)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamptz)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamptz)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamptz)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamptz)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamptz)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,date)", "strategy": "1", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,date)", "strategy": "2", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,date)", "strategy": "3", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,date)", "strategy": "4", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,date)", "strategy": "5", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamp)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamp)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamp)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamp)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamp)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamptz)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamptz)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamptz)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamptz)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamptz)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}], "attributes": {"name": "timestamptz_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamptz"}, "support_functions": [{"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp(date,date)", "left_type": "date", "right_type": "date", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": "date", "right_type": "timestamp", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": "date", "right_type": "timestamptz", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": "timestamp", "right_type": "date", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": "timestamp", "right_type": "timestamp", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": "timestamp", "right_type": "timestamptz", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": "timestamptz", "right_type": "date", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": "timestamptz", "right_type": "timestamp", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": "timestamptz", "right_type": "timestamptz", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "date_sortsupport(internal)", "left_type": "date", "right_type": "date", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamp", "right_type": "timestamp", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamptz", "right_type": "timestamptz", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": "date", "right_type": "interval", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": "timestamp", "right_type": "interval", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": "timestamptz", "right_type": "interval", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "date", "right_type": "date", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "timestamp", "right_type": "timestamp", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "timestamptz", "right_type": "timestamptz", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "6", "function": "date_skipsupport(internal)", "left_type": "date", "right_type": "date", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "6", "function": "timestamp_skipsupport(internal)", "left_type": "timestamp", "right_type": "timestamp", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "6", "function": "timestamp_skipsupport(internal)", "left_type": "timestamptz", "right_type": "timestamptz", "result_type": "void"}]}, "comparison_hash": "bc50dd875677552f5a6f2d56264033b3806cac4ed792a40bd892c15fc2ca8dc2", "manual_language": "zh", "support_functions": [{"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp(date,date)", "left_type": "date", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "date_sortsupport(internal)", "left_type": "date", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "date", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "6", "function": "date_skipsupport(internal)", "left_type": "date", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": "date", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": "date", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": "timestamp", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamp", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "timestamp", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "6", "function": "timestamp_skipsupport(internal)", "left_type": "timestamp", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": "timestamp", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": "timestamp", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": "timestamptz", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamptz", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "timestamptz", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "6", "function": "timestamp_skipsupport(internal)", "left_type": "timestamptz", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": "timestamptz", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": "timestamptz", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": "date", "right_type": "interval", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": "timestamp", "right_type": "interval", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": "timestamptz", "right_type": "interval", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}], "description_zh_html": "<p>timestamptz_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002</p><dl><dt>\u540d\u79f0</dt><dd><code>timestamptz_ops</code></dd><dt>\u8fd0\u7b97\u7b26\u65cf</dt><dd><code>datetime_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>timestamptz</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;(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</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>date_cmp(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>date_sortsupport(internal)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>bool</code></td></tr><tr><td><code>6</code></td><td><code>date_skipsupport(internal)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>void</code></td></tr><tr><td><code>1</code></td><td><code>date_cmp_timestamp(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>date_cmp_timestamptz(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>timestamp_sortsupport(internal)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>bool</code></td></tr><tr><td><code>6</code></td><td><code>timestamp_skipsupport(internal)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>void</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp_date(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp_timestamptz(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>timestamp_sortsupport(internal)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>bool</code></td></tr><tr><td><code>6</code></td><td><code>timestamp_skipsupport(internal)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>void</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp_date(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp_timestamp(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>3</code></td><td><code>in_range(date,date,interval,bool,bool)</code></td><td><code>date</code></td><td><code>interval</code></td><td><code>bool</code></td></tr><tr><td><code>3</code></td><td><code>in_range(timestamp,timestamp,interval,bool,bool)</code></td><td><code>timestamp</code></td><td><code>interval</code></td><td><code>bool</code></td></tr><tr><td><code>3</code></td><td><code>in_range(timestamptz,timestamptz,interval,bool,bool)</code></td><td><code>timestamptz</code></td><td><code>interval</code></td><td><code>bool</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/18/indexes-opclass.html\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>", "center_zh_rendered": "<p>timestamptz_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002</p><dl><dt>\u540d\u79f0</dt><dd><code>timestamptz_ops</code></dd><dt>\u8fd0\u7b97\u7b26\u65cf</dt><dd><code>datetime_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>timestamptz</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;(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</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>date_cmp(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>date_sortsupport(internal)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>bool</code></td></tr><tr><td><code>6</code></td><td><code>date_skipsupport(internal)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>void</code></td></tr><tr><td><code>1</code></td><td><code>date_cmp_timestamp(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>date_cmp_timestamptz(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>timestamp_sortsupport(internal)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>bool</code></td></tr><tr><td><code>6</code></td><td><code>timestamp_skipsupport(internal)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>void</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp_date(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp_timestamptz(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>timestamp_sortsupport(internal)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>bool</code></td></tr><tr><td><code>6</code></td><td><code>timestamp_skipsupport(internal)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>void</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp_date(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp_timestamp(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>3</code></td><td><code>in_range(date,date,interval,bool,bool)</code></td><td><code>date</code></td><td><code>interval</code></td><td><code>bool</code></td></tr><tr><td><code>3</code></td><td><code>in_range(timestamp,timestamp,interval,bool,bool)</code></td><td><code>timestamp</code></td><td><code>interval</code></td><td><code>bool</code></td></tr><tr><td><code>3</code></td><td><code>in_range(timestamptz,timestamptz,interval,bool,bool)</code></td><td><code>timestamptz</code></td><td><code>interval</code></td><td><code>bool</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=\"/docs/18/indexes-opclass.html\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "19": {"class": {"name": "timestamptz_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamptz"}, "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": "timestamptz"}, {"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": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-date/?v=19", "text": "<(date,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-date/?v=19", "text": "<=(date,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-date/?v=19", "text": "=(date,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-date/?v=19", "text": ">=(date,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-date/?v=19", "text": ">(date,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-timestamp/?v=19", "text": "<(date,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamp/?v=19", "text": "<=(date,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-timestamp/?v=19", "text": "=(date,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamp/?v=19", "text": ">=(date,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-timestamp/?v=19", "text": ">(date,timestamp)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-timestamptz/?v=19", "text": "<(date,timestamptz)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamptz/?v=19", "text": "<=(date,timestamptz)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-timestamptz/?v=19", "text": "=(date,timestamptz)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamptz/?v=19", "text": ">=(date,timestamptz)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-timestamptz/?v=19", "text": ">(date,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamp/?v=19", "text": "<(timestamp,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamp/?v=19", "text": "<=(timestamp,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamp/?v=19", "text": "=(timestamp,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamp/?v=19", "text": ">=(timestamp,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamp/?v=19", "text": ">(timestamp,timestamp)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-date/?v=19", "text": "<(timestamp,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-date/?v=19", "text": "<=(timestamp,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-date/?v=19", "text": "=(timestamp,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-date/?v=19", "text": ">=(timestamp,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-date/?v=19", "text": ">(timestamp,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamptz/?v=19", "text": "<(timestamp,timestamptz)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamptz/?v=19", "text": "<=(timestamp,timestamptz)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamptz/?v=19", "text": "=(timestamp,timestamptz)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamptz/?v=19", "text": ">=(timestamp,timestamptz)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamptz/?v=19", "text": ">(timestamp,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamptz/?v=19", "text": "<(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=19", "text": "<=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=19", "text": "=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=19", "text": ">=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=19", "text": ">(timestamptz,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-date/?v=19", "text": "<(timestamptz,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-date/?v=19", "text": "<=(timestamptz,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamptz-date/?v=19", "text": "=(timestamptz,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-date/?v=19", "text": ">=(timestamptz,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamptz-date/?v=19", "text": ">(timestamptz,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamp/?v=19", "text": "<(timestamptz,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-timestamp/?v=19", "text": "<=(timestamptz,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamptz-timestamp/?v=19", "text": "=(timestamptz,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-timestamp/?v=19", "text": ">=(timestamptz,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamptz-timestamp/?v=19", "text": ">(timestamptz,timestamp)"}, "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": "date_cmp(date,date)", "left_type": {"url": "/wiki/type/date/?v=19", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=19", "text": "date"}, "result_type": "int4"}, {"number": "2", "function": "date_sortsupport(internal)", "left_type": {"url": "/wiki/type/date/?v=19", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=19", "text": "date"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/date/?v=19", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=19", "text": "date"}, "result_type": "bool"}, {"number": "6", "function": "date_skipsupport(internal)", "left_type": {"url": "/wiki/type/date/?v=19", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=19", "text": "date"}, "result_type": "void"}, {"number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": {"url": "/wiki/type/date/?v=19", "text": "date"}, "right_type": {"url": "/wiki/type/timestamp/?v=19", "text": "timestamp"}, "result_type": "int4"}, {"number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": {"url": "/wiki/type/date/?v=19", "text": "date"}, "right_type": {"url": "/wiki/type/timestamptz/?v=19", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": {"url": "/wiki/type/timestamp/?v=19", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=19", "text": "timestamp"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamp/?v=19", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=19", "text": "timestamp"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/timestamp/?v=19", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=19", "text": "timestamp"}, "result_type": "bool"}, {"number": "6", "function": "timestamp_skipsupport(internal)", "left_type": {"url": "/wiki/type/timestamp/?v=19", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=19", "text": "timestamp"}, "result_type": "void"}, {"number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": {"url": "/wiki/type/timestamp/?v=19", "text": "timestamp"}, "right_type": {"url": "/wiki/type/date/?v=19", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": {"url": "/wiki/type/timestamp/?v=19", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamptz/?v=19", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": {"url": "/wiki/type/timestamptz/?v=19", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=19", "text": "timestamptz"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamptz/?v=19", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=19", "text": "timestamptz"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/timestamptz/?v=19", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=19", "text": "timestamptz"}, "result_type": "bool"}, {"number": "6", "function": "timestamp_skipsupport(internal)", "left_type": {"url": "/wiki/type/timestamptz/?v=19", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=19", "text": "timestamptz"}, "result_type": "void"}, {"number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": {"url": "/wiki/type/timestamptz/?v=19", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/date/?v=19", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": {"url": "/wiki/type/timestamptz/?v=19", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamp/?v=19", "text": "timestamp"}, "result_type": "int4"}, {"number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": {"url": "/wiki/type/date/?v=19", "text": "date"}, "right_type": {"url": "/wiki/type/interval/?v=19", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamp/?v=19", "text": "timestamp"}, "right_type": {"url": "/wiki/type/interval/?v=19", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamptz/?v=19", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/interval/?v=19", "text": "interval"}, "result_type": "bool"}], "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-date_ops/?v=19", "text": "date_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/date/?v=19", "text": "date"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamptz_ops/?v=19", "text": "timestamptz_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamptz/?v=19", "text": "timestamptz"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamp_ops/?v=19", "text": "timestamp_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamp/?v=19", "text": "timestamp"}}], "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": ["timestamptz_ops", "btree/timestamptz_ops"], "classes": [{"name": "date_ops", "slug": "class-btree-date_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "date", "source_oid": "3122", "family_slug": "family-btree-datetime_ops"}, {"name": "timestamptz_ops", "slug": "class-btree-timestamptz_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamptz", "source_oid": "3127", "family_slug": "family-btree-datetime_ops"}, {"name": "timestamp_ops", "slug": "class-btree-timestamp_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamp", "source_oid": "3128", "family_slug": "family-btree-datetime_ops"}], "related": [{"url": "/wiki/indexam/btree/?v=19", "label": "B-tree \u7d22\u5f15\u8bbf\u95ee\u65b9\u6cd5"}, {"url": "/wiki/opclass/family-btree-datetime_ops/?v=19", "label": "datetime_ops \u5bb6\u65cf"}, {"url": "/wiki/type/timestamptz/?v=19", "label": "timestamptz \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": "05ab8eee8ba45d6f357056b1eff0d0c7ba41e3327cc610b2f86f257056e52af8", "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": "timestamptz"}, {"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/timestamptz_ops (class)", "locale": "zh-Hans", "source": {"key": "class-btree-timestamptz_ops", "locale": "zh-Hans", "version": "19", "text_hash": "85f4d89d3e6f3e75c4fe078540214e25265435097d368afb633370021e20d816", "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": "timestamptz"}, {"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": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-date/?v=19", "text": "<(date,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-date/?v=19", "text": "<=(date,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-date/?v=19", "text": "=(date,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-date/?v=19", "text": ">=(date,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-date/?v=19", "text": ">(date,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-timestamp/?v=19", "text": "<(date,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamp/?v=19", "text": "<=(date,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-timestamp/?v=19", "text": "=(date,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamp/?v=19", "text": ">=(date,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-timestamp/?v=19", "text": ">(date,timestamp)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-timestamptz/?v=19", "text": "<(date,timestamptz)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamptz/?v=19", "text": "<=(date,timestamptz)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-timestamptz/?v=19", "text": "=(date,timestamptz)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamptz/?v=19", "text": ">=(date,timestamptz)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-timestamptz/?v=19", "text": ">(date,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamp/?v=19", "text": "<(timestamp,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamp/?v=19", "text": "<=(timestamp,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamp/?v=19", "text": "=(timestamp,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamp/?v=19", "text": ">=(timestamp,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamp/?v=19", "text": ">(timestamp,timestamp)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-date/?v=19", "text": "<(timestamp,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-date/?v=19", "text": "<=(timestamp,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-date/?v=19", "text": "=(timestamp,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-date/?v=19", "text": ">=(timestamp,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-date/?v=19", "text": ">(timestamp,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamptz/?v=19", "text": "<(timestamp,timestamptz)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamptz/?v=19", "text": "<=(timestamp,timestamptz)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamptz/?v=19", "text": "=(timestamp,timestamptz)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamptz/?v=19", "text": ">=(timestamp,timestamptz)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamptz/?v=19", "text": ">(timestamp,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamptz/?v=19", "text": "<(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=19", "text": "<=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=19", "text": "=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=19", "text": ">=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=19", "text": ">(timestamptz,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-date/?v=19", "text": "<(timestamptz,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-date/?v=19", "text": "<=(timestamptz,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamptz-date/?v=19", "text": "=(timestamptz,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-date/?v=19", "text": ">=(timestamptz,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamptz-date/?v=19", "text": ">(timestamptz,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamp/?v=19", "text": "<(timestamptz,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-timestamp/?v=19", "text": "<=(timestamptz,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamptz-timestamp/?v=19", "text": "=(timestamptz,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-timestamp/?v=19", "text": ">=(timestamptz,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamptz-timestamp/?v=19", "text": ">(timestamptz,timestamp)"}, "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": "date_cmp(date,date)", "left_type": {"url": "/wiki/type/date/?v=19", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=19", "text": "date"}, "result_type": "int4"}, {"number": "2", "function": "date_sortsupport(internal)", "left_type": {"url": "/wiki/type/date/?v=19", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=19", "text": "date"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/date/?v=19", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=19", "text": "date"}, "result_type": "bool"}, {"number": "6", "function": "date_skipsupport(internal)", "left_type": {"url": "/wiki/type/date/?v=19", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=19", "text": "date"}, "result_type": "void"}, {"number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": {"url": "/wiki/type/date/?v=19", "text": "date"}, "right_type": {"url": "/wiki/type/timestamp/?v=19", "text": "timestamp"}, "result_type": "int4"}, {"number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": {"url": "/wiki/type/date/?v=19", "text": "date"}, "right_type": {"url": "/wiki/type/timestamptz/?v=19", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": {"url": "/wiki/type/timestamp/?v=19", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=19", "text": "timestamp"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamp/?v=19", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=19", "text": "timestamp"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/timestamp/?v=19", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=19", "text": "timestamp"}, "result_type": "bool"}, {"number": "6", "function": "timestamp_skipsupport(internal)", "left_type": {"url": "/wiki/type/timestamp/?v=19", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=19", "text": "timestamp"}, "result_type": "void"}, {"number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": {"url": "/wiki/type/timestamp/?v=19", "text": "timestamp"}, "right_type": {"url": "/wiki/type/date/?v=19", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": {"url": "/wiki/type/timestamp/?v=19", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamptz/?v=19", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": {"url": "/wiki/type/timestamptz/?v=19", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=19", "text": "timestamptz"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamptz/?v=19", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=19", "text": "timestamptz"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/timestamptz/?v=19", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=19", "text": "timestamptz"}, "result_type": "bool"}, {"number": "6", "function": "timestamp_skipsupport(internal)", "left_type": {"url": "/wiki/type/timestamptz/?v=19", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=19", "text": "timestamptz"}, "result_type": "void"}, {"number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": {"url": "/wiki/type/timestamptz/?v=19", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/date/?v=19", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": {"url": "/wiki/type/timestamptz/?v=19", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamp/?v=19", "text": "timestamp"}, "result_type": "int4"}, {"number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": {"url": "/wiki/type/date/?v=19", "text": "date"}, "right_type": {"url": "/wiki/type/interval/?v=19", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamp/?v=19", "text": "timestamp"}, "right_type": {"url": "/wiki/type/interval/?v=19", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamptz/?v=19", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/interval/?v=19", "text": "interval"}, "result_type": "bool"}], "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-date_ops/?v=19", "text": "date_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/date/?v=19", "text": "date"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamptz_ops/?v=19", "text": "timestamptz_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamptz/?v=19", "text": "timestamptz"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamp_ops/?v=19", "text": "timestamp_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamp/?v=19", "text": "timestamp"}}], "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": "05ab8eee8ba45d6f357056b1eff0d0c7ba41e3327cc610b2f86f257056e52af8", "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": "timestamptz_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002", "description_zh_html": "<p>timestamptz_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002</p><dl><dt>\u540d\u79f0</dt><dd><code>timestamptz_ops</code></dd><dt>\u8fd0\u7b97\u7b26\u65cf</dt><dd><code>datetime_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>timestamptz</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;(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</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>date_cmp(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>date_sortsupport(internal)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>bool</code></td></tr><tr><td><code>6</code></td><td><code>date_skipsupport(internal)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>void</code></td></tr><tr><td><code>1</code></td><td><code>date_cmp_timestamp(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>date_cmp_timestamptz(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>timestamp_sortsupport(internal)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>bool</code></td></tr><tr><td><code>6</code></td><td><code>timestamp_skipsupport(internal)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>void</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp_date(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp_timestamptz(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>timestamp_sortsupport(internal)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>bool</code></td></tr><tr><td><code>6</code></td><td><code>timestamp_skipsupport(internal)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>void</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp_date(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp_timestamp(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>3</code></td><td><code>in_range(date,date,interval,bool,bool)</code></td><td><code>date</code></td><td><code>interval</code></td><td><code>bool</code></td></tr><tr><td><code>3</code></td><td><code>in_range(timestamp,timestamp,interval,bool,bool)</code></td><td><code>timestamp</code></td><td><code>interval</code></td><td><code>bool</code></td></tr><tr><td><code>3</code></td><td><code>in_range(timestamptz,timestamptz,interval,bool,bool)</code></td><td><code>timestamptz</code></td><td><code>interval</code></td><td><code>bool</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": "timestamptz_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>timestamptz_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002</p><dl><dt>\u540d\u79f0</dt><dd><code>timestamptz_ops</code></dd><dt>\u8fd0\u7b97\u7b26\u65cf</dt><dd><code>datetime_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>timestamptz</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;(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</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>date_cmp(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>date_sortsupport(internal)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>bool</code></td></tr><tr><td><code>6</code></td><td><code>date_skipsupport(internal)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>void</code></td></tr><tr><td><code>1</code></td><td><code>date_cmp_timestamp(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>date_cmp_timestamptz(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>timestamp_sortsupport(internal)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>bool</code></td></tr><tr><td><code>6</code></td><td><code>timestamp_skipsupport(internal)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>void</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp_date(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp_timestamptz(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>timestamp_sortsupport(internal)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>bool</code></td></tr><tr><td><code>6</code></td><td><code>timestamp_skipsupport(internal)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>void</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp_date(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp_timestamp(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>3</code></td><td><code>in_range(date,date,interval,bool,bool)</code></td><td><code>date</code></td><td><code>interval</code></td><td><code>bool</code></td></tr><tr><td><code>3</code></td><td><code>in_range(timestamp,timestamp,interval,bool,bool)</code></td><td><code>timestamp</code></td><td><code>interval</code></td><td><code>bool</code></td></tr><tr><td><code>3</code></td><td><code>in_range(timestamptz,timestamptz,interval,bool,bool)</code></td><td><code>timestamptz</code></td><td><code>interval</code></td><td><code>bool</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": "4ff15fbbc1b138fd056ec6be70276ce885ee28d36077f9436edaac97031ec991", "content_hash": "85f4d89d3e6f3e75c4fe078540214e25265435097d368afb633370021e20d816", "source_database": "center", "source_revision": "af105fc8e960fc836a09fc2cd7f582b49fd17675d9d36631abe3a565bfd7d701"}, "operators": [{"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,date)", "strategy": "1", "left_type": "date", "right_type": "date", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,date)", "strategy": "2", "left_type": "date", "right_type": "date", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,date)", "strategy": "3", "left_type": "date", "right_type": "date", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,date)", "strategy": "4", "left_type": "date", "right_type": "date", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,date)", "strategy": "5", "left_type": "date", "right_type": "date", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamp)", "strategy": "1", "left_type": "date", "right_type": "timestamp", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamp)", "strategy": "2", "left_type": "date", "right_type": "timestamp", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamp)", "strategy": "3", "left_type": "date", "right_type": "timestamp", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamp)", "strategy": "4", "left_type": "date", "right_type": "timestamp", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamp)", "strategy": "5", "left_type": "date", "right_type": "timestamp", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamptz)", "strategy": "1", "left_type": "date", "right_type": "timestamptz", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamptz)", "strategy": "2", "left_type": "date", "right_type": "timestamptz", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamptz)", "strategy": "3", "left_type": "date", "right_type": "timestamptz", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamptz)", "strategy": "4", "left_type": "date", "right_type": "timestamptz", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamptz)", "strategy": "5", "left_type": "date", "right_type": "timestamptz", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamp)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamp", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamp)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamp", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamp)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamp", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamp)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamp", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamp)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamp", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,date)", "strategy": "1", "left_type": "timestamp", "right_type": "date", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,date)", "strategy": "2", "left_type": "timestamp", "right_type": "date", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,date)", "strategy": "3", "left_type": "timestamp", "right_type": "date", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,date)", "strategy": "4", "left_type": "timestamp", "right_type": "date", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,date)", "strategy": "5", "left_type": "timestamp", "right_type": "date", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamptz)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamptz", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamptz)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamptz", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamptz)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamptz", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamptz)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamptz", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamptz)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamptz", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamptz)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamptz", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamptz)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamptz", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamptz)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamptz", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamptz)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamptz", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamptz)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamptz", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,date)", "strategy": "1", "left_type": "timestamptz", "right_type": "date", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,date)", "strategy": "2", "left_type": "timestamptz", "right_type": "date", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,date)", "strategy": "3", "left_type": "timestamptz", "right_type": "date", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,date)", "strategy": "4", "left_type": "timestamptz", "right_type": "date", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,date)", "strategy": "5", "left_type": "timestamptz", "right_type": "date", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamp)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamp", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamp)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamp", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamp)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamp", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamp)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamp", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamp)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamp", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamptz-timestamp", "sort_family_slug": ""}], "signature": "btree/timestamptz_ops", "tables_zh": [{"key": "operators", "rows": [{"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-date/?v=19", "text": "<(date,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-date/?v=19", "text": "<=(date,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-date/?v=19", "text": "=(date,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-date/?v=19", "text": ">=(date,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-date/?v=19", "text": ">(date,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-timestamp/?v=19", "text": "<(date,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamp/?v=19", "text": "<=(date,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-timestamp/?v=19", "text": "=(date,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamp/?v=19", "text": ">=(date,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-timestamp/?v=19", "text": ">(date,timestamp)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-timestamptz/?v=19", "text": "<(date,timestamptz)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamptz/?v=19", "text": "<=(date,timestamptz)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-timestamptz/?v=19", "text": "=(date,timestamptz)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamptz/?v=19", "text": ">=(date,timestamptz)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-timestamptz/?v=19", "text": ">(date,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamp/?v=19", "text": "<(timestamp,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamp/?v=19", "text": "<=(timestamp,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamp/?v=19", "text": "=(timestamp,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamp/?v=19", "text": ">=(timestamp,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamp/?v=19", "text": ">(timestamp,timestamp)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-date/?v=19", "text": "<(timestamp,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-date/?v=19", "text": "<=(timestamp,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-date/?v=19", "text": "=(timestamp,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-date/?v=19", "text": ">=(timestamp,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-date/?v=19", "text": ">(timestamp,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamptz/?v=19", "text": "<(timestamp,timestamptz)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamptz/?v=19", "text": "<=(timestamp,timestamptz)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamptz/?v=19", "text": "=(timestamp,timestamptz)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamptz/?v=19", "text": ">=(timestamp,timestamptz)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamptz/?v=19", "text": ">(timestamp,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamptz/?v=19", "text": "<(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=19", "text": "<=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=19", "text": "=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=19", "text": ">=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=19", "text": ">(timestamptz,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-date/?v=19", "text": "<(timestamptz,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-date/?v=19", "text": "<=(timestamptz,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamptz-date/?v=19", "text": "=(timestamptz,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-date/?v=19", "text": ">=(timestamptz,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamptz-date/?v=19", "text": ">(timestamptz,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamp/?v=19", "text": "<(timestamptz,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-timestamp/?v=19", "text": "<=(timestamptz,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamptz-timestamp/?v=19", "text": "=(timestamptz,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-timestamp/?v=19", "text": ">=(timestamptz,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamptz-timestamp/?v=19", "text": ">(timestamptz,timestamp)"}, "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": "date_cmp(date,date)", "left_type": {"url": "/wiki/type/date/?v=19", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=19", "text": "date"}, "result_type": "int4"}, {"number": "2", "function": "date_sortsupport(internal)", "left_type": {"url": "/wiki/type/date/?v=19", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=19", "text": "date"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/date/?v=19", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=19", "text": "date"}, "result_type": "bool"}, {"number": "6", "function": "date_skipsupport(internal)", "left_type": {"url": "/wiki/type/date/?v=19", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=19", "text": "date"}, "result_type": "void"}, {"number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": {"url": "/wiki/type/date/?v=19", "text": "date"}, "right_type": {"url": "/wiki/type/timestamp/?v=19", "text": "timestamp"}, "result_type": "int4"}, {"number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": {"url": "/wiki/type/date/?v=19", "text": "date"}, "right_type": {"url": "/wiki/type/timestamptz/?v=19", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": {"url": "/wiki/type/timestamp/?v=19", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=19", "text": "timestamp"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamp/?v=19", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=19", "text": "timestamp"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/timestamp/?v=19", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=19", "text": "timestamp"}, "result_type": "bool"}, {"number": "6", "function": "timestamp_skipsupport(internal)", "left_type": {"url": "/wiki/type/timestamp/?v=19", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=19", "text": "timestamp"}, "result_type": "void"}, {"number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": {"url": "/wiki/type/timestamp/?v=19", "text": "timestamp"}, "right_type": {"url": "/wiki/type/date/?v=19", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": {"url": "/wiki/type/timestamp/?v=19", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamptz/?v=19", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": {"url": "/wiki/type/timestamptz/?v=19", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=19", "text": "timestamptz"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamptz/?v=19", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=19", "text": "timestamptz"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/timestamptz/?v=19", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=19", "text": "timestamptz"}, "result_type": "bool"}, {"number": "6", "function": "timestamp_skipsupport(internal)", "left_type": {"url": "/wiki/type/timestamptz/?v=19", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=19", "text": "timestamptz"}, "result_type": "void"}, {"number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": {"url": "/wiki/type/timestamptz/?v=19", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/date/?v=19", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": {"url": "/wiki/type/timestamptz/?v=19", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamp/?v=19", "text": "timestamp"}, "result_type": "int4"}, {"number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": {"url": "/wiki/type/date/?v=19", "text": "date"}, "right_type": {"url": "/wiki/type/interval/?v=19", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamp/?v=19", "text": "timestamp"}, "right_type": {"url": "/wiki/type/interval/?v=19", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamptz/?v=19", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/interval/?v=19", "text": "interval"}, "result_type": "bool"}], "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-date_ops/?v=19", "text": "date_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/date/?v=19", "text": "date"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamptz_ops/?v=19", "text": "timestamptz_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamptz/?v=19", "text": "timestamptz"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamp_ops/?v=19", "text": "timestamp_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamp/?v=19", "text": "timestamp"}}], "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": "3127", "description": ["timestamptz_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 timestamptz; member of datetime_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": "datetime_ops family", "/versions/19/related/2/label": "timestamptz data type", "/versions/19/sections/0/title": "Operator classes and families", "/versions/19/tables/0/rows/0/scope": "Family member", "/versions/19/tables/0/rows/1/scope": "Family member", "/versions/19/tables/0/rows/2/scope": "Family member", "/versions/19/tables/0/rows/3/scope": "Family member", "/versions/19/tables/0/rows/4/scope": "Family member", "/versions/19/tables/0/rows/5/scope": "Family member", "/versions/19/tables/0/rows/6/scope": "Family member", "/versions/19/tables/0/rows/7/scope": "Family member", "/versions/19/tables/0/rows/8/scope": "Family member", "/versions/19/tables/0/rows/9/scope": "Family member", "/versions/19/tables/0/rows/10/scope": "Family member", "/versions/19/tables/0/rows/11/scope": "Family member", "/versions/19/tables/0/rows/12/scope": "Family member", "/versions/19/tables/0/rows/13/scope": "Family member", "/versions/19/tables/0/rows/14/scope": "Family member", "/versions/19/tables/0/rows/15/scope": "Family member", "/versions/19/tables/0/rows/16/scope": "Family member", "/versions/19/tables/0/rows/17/scope": "Family member", "/versions/19/tables/0/rows/18/scope": "Family member", "/versions/19/tables/0/rows/19/scope": "Family member", "/versions/19/tables/0/rows/20/scope": "Family member", "/versions/19/tables/0/rows/21/scope": "Family member", "/versions/19/tables/0/rows/22/scope": "Family member", "/versions/19/tables/0/rows/23/scope": "Family member", "/versions/19/tables/0/rows/24/scope": "Family member", "/versions/19/tables/0/rows/25/scope": "Family member", "/versions/19/tables/0/rows/26/scope": "Family member", "/versions/19/tables/0/rows/27/scope": "Family member", "/versions/19/tables/0/rows/28/scope": "Family member", "/versions/19/tables/0/rows/29/scope": "Family member", "/versions/19/tables/0/rows/30/scope": "Class input pair", "/versions/19/tables/0/rows/31/scope": "Class input pair", "/versions/19/tables/0/rows/32/scope": "Class input pair", "/versions/19/tables/0/rows/33/scope": "Class input pair", "/versions/19/tables/0/rows/34/scope": "Class input pair", "/versions/19/tables/0/rows/35/scope": "Family member", "/versions/19/tables/0/rows/36/scope": "Family member", "/versions/19/tables/0/rows/37/scope": "Family member", "/versions/19/tables/0/rows/38/scope": "Family member", "/versions/19/tables/0/rows/39/scope": "Family member", "/versions/19/tables/0/rows/40/scope": "Family member", "/versions/19/tables/0/rows/41/scope": "Family member", "/versions/19/tables/0/rows/42/scope": "Family member", "/versions/19/tables/0/rows/43/scope": "Family member", "/versions/19/tables/0/rows/44/scope": "Family member", "/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/0/rows/5/purpose": "search", "/versions/19/tables/0/rows/6/purpose": "search", "/versions/19/tables/0/rows/7/purpose": "search", "/versions/19/tables/0/rows/8/purpose": "search", "/versions/19/tables/0/rows/9/purpose": "search", "/versions/19/tables/2/rows/0/default": "yes", "/versions/19/tables/2/rows/1/default": "yes", "/versions/19/tables/2/rows/2/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/0/rows/10/purpose": "search", "/versions/19/tables/0/rows/11/purpose": "search", "/versions/19/tables/0/rows/12/purpose": "search", "/versions/19/tables/0/rows/13/purpose": "search", "/versions/19/tables/0/rows/14/purpose": "search", "/versions/19/tables/0/rows/15/purpose": "search", "/versions/19/tables/0/rows/16/purpose": "search", "/versions/19/tables/0/rows/17/purpose": "search", "/versions/19/tables/0/rows/18/purpose": "search", "/versions/19/tables/0/rows/19/purpose": "search", "/versions/19/tables/0/rows/20/purpose": "search", "/versions/19/tables/0/rows/21/purpose": "search", "/versions/19/tables/0/rows/22/purpose": "search", "/versions/19/tables/0/rows/23/purpose": "search", "/versions/19/tables/0/rows/24/purpose": "search", "/versions/19/tables/0/rows/25/purpose": "search", "/versions/19/tables/0/rows/26/purpose": "search", "/versions/19/tables/0/rows/27/purpose": "search", "/versions/19/tables/0/rows/28/purpose": "search", "/versions/19/tables/0/rows/29/purpose": "search", "/versions/19/tables/0/rows/30/purpose": "search", "/versions/19/tables/0/rows/31/purpose": "search", "/versions/19/tables/0/rows/32/purpose": "search", "/versions/19/tables/0/rows/33/purpose": "search", "/versions/19/tables/0/rows/34/purpose": "search", "/versions/19/tables/0/rows/35/purpose": "search", "/versions/19/tables/0/rows/36/purpose": "search", "/versions/19/tables/0/rows/37/purpose": "search", "/versions/19/tables/0/rows/38/purpose": "search", "/versions/19/tables/0/rows/39/purpose": "search", "/versions/19/tables/0/rows/40/purpose": "search", "/versions/19/tables/0/rows/41/purpose": "search", "/versions/19/tables/0/rows/42/purpose": "search", "/versions/19/tables/0/rows/43/purpose": "search", "/versions/19/tables/0/rows/44/purpose": "search", "/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/2/rows/1/key_type": "Same as input type", "/versions/19/tables/2/rows/2/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", "/versions/19/tables/0/rows/5/description": "less than", "/versions/19/tables/0/rows/6/description": "less than or equal", "/versions/19/tables/0/rows/7/description": "equal", "/versions/19/tables/0/rows/8/description": "greater than or equal", "/versions/19/tables/0/rows/9/description": "greater than", "/versions/19/tables/0/rows/10/description": "less than", "/versions/19/tables/0/rows/11/description": "less than or equal", "/versions/19/tables/0/rows/12/description": "equal", "/versions/19/tables/0/rows/13/description": "greater than or equal", "/versions/19/tables/0/rows/14/description": "greater than", "/versions/19/tables/0/rows/15/description": "less than", "/versions/19/tables/0/rows/16/description": "less than or equal", "/versions/19/tables/0/rows/17/description": "equal", "/versions/19/tables/0/rows/18/description": "greater than or equal", "/versions/19/tables/0/rows/19/description": "greater than", "/versions/19/tables/0/rows/20/description": "less than", "/versions/19/tables/0/rows/21/description": "less than or equal", "/versions/19/tables/0/rows/22/description": "equal", "/versions/19/tables/0/rows/23/description": "greater than or equal", "/versions/19/tables/0/rows/24/description": "greater than", "/versions/19/tables/0/rows/25/description": "less than", "/versions/19/tables/0/rows/26/description": "less than or equal", "/versions/19/tables/0/rows/27/description": "equal", "/versions/19/tables/0/rows/28/description": "greater than or equal", "/versions/19/tables/0/rows/29/description": "greater than", "/versions/19/tables/0/rows/30/description": "less than", "/versions/19/tables/0/rows/31/description": "less than or equal", "/versions/19/tables/0/rows/32/description": "equal", "/versions/19/tables/0/rows/33/description": "greater than or equal", "/versions/19/tables/0/rows/34/description": "greater than", "/versions/19/tables/0/rows/35/description": "less than", "/versions/19/tables/0/rows/36/description": "less than or equal", "/versions/19/tables/0/rows/37/description": "equal", "/versions/19/tables/0/rows/38/description": "greater than or equal", "/versions/19/tables/0/rows/39/description": "greater than", "/versions/19/tables/0/rows/40/description": "less than", "/versions/19/tables/0/rows/41/description": "less than or equal", "/versions/19/tables/0/rows/42/description": "equal", "/versions/19/tables/0/rows/43/description": "greater than or equal", "/versions/19/tables/0/rows/44/description": "greater than"}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "df22328764bf5ab3cc1d82f95258bcec2fe3802f6992cb8a268ee2891a7d1f9b", "canonical_center_text_hash": "85f4d89d3e6f3e75c4fe078540214e25265435097d368afb633370021e20d816"}, "description_zh": "timestamptz_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002", "comparison_data": {"kind": "class", "classes": [{"name": "date_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "date"}, {"name": "timestamp_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamp"}, {"name": "timestamptz_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamptz"}], "operators": [{"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,date)", "strategy": "1", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,date)", "strategy": "2", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,date)", "strategy": "3", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,date)", "strategy": "4", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,date)", "strategy": "5", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamp)", "strategy": "1", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamp)", "strategy": "2", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamp)", "strategy": "3", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamp)", "strategy": "4", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamp)", "strategy": "5", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamptz)", "strategy": "1", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamptz)", "strategy": "2", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamptz)", "strategy": "3", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamptz)", "strategy": "4", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamptz)", "strategy": "5", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,date)", "strategy": "1", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,date)", "strategy": "2", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,date)", "strategy": "3", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,date)", "strategy": "4", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,date)", "strategy": "5", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamp)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamp)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamp)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamp)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamp)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamptz)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamptz)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamptz)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamptz)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamptz)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,date)", "strategy": "1", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,date)", "strategy": "2", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,date)", "strategy": "3", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,date)", "strategy": "4", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,date)", "strategy": "5", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamp)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamp)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamp)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamp)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamp)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamptz)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamptz)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamptz)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamptz)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamptz)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}], "attributes": {"name": "timestamptz_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamptz"}, "support_functions": [{"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp(date,date)", "left_type": "date", "right_type": "date", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": "date", "right_type": "timestamp", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": "date", "right_type": "timestamptz", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": "timestamp", "right_type": "date", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": "timestamp", "right_type": "timestamp", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": "timestamp", "right_type": "timestamptz", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": "timestamptz", "right_type": "date", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": "timestamptz", "right_type": "timestamp", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": "timestamptz", "right_type": "timestamptz", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "date_sortsupport(internal)", "left_type": "date", "right_type": "date", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamp", "right_type": "timestamp", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamptz", "right_type": "timestamptz", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": "date", "right_type": "interval", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": "timestamp", "right_type": "interval", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": "timestamptz", "right_type": "interval", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "date", "right_type": "date", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "timestamp", "right_type": "timestamp", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "timestamptz", "right_type": "timestamptz", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "6", "function": "date_skipsupport(internal)", "left_type": "date", "right_type": "date", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "6", "function": "timestamp_skipsupport(internal)", "left_type": "timestamp", "right_type": "timestamp", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "6", "function": "timestamp_skipsupport(internal)", "left_type": "timestamptz", "right_type": "timestamptz", "result_type": "void"}]}, "comparison_hash": "bc50dd875677552f5a6f2d56264033b3806cac4ed792a40bd892c15fc2ca8dc2", "manual_language": "zh", "support_functions": [{"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp(date,date)", "left_type": "date", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "date_sortsupport(internal)", "left_type": "date", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "date", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "6", "function": "date_skipsupport(internal)", "left_type": "date", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": "date", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": "date", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": "timestamp", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamp", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "timestamp", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "6", "function": "timestamp_skipsupport(internal)", "left_type": "timestamp", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": "timestamp", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": "timestamp", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": "timestamptz", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamptz", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "timestamptz", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "6", "function": "timestamp_skipsupport(internal)", "left_type": "timestamptz", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": "timestamptz", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": "timestamptz", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": "date", "right_type": "interval", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": "timestamp", "right_type": "interval", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": "timestamptz", "right_type": "interval", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}], "description_zh_html": "<p>timestamptz_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002</p><dl><dt>\u540d\u79f0</dt><dd><code>timestamptz_ops</code></dd><dt>\u8fd0\u7b97\u7b26\u65cf</dt><dd><code>datetime_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>timestamptz</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;(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</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>date_cmp(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>date_sortsupport(internal)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>bool</code></td></tr><tr><td><code>6</code></td><td><code>date_skipsupport(internal)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>void</code></td></tr><tr><td><code>1</code></td><td><code>date_cmp_timestamp(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>date_cmp_timestamptz(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>timestamp_sortsupport(internal)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>bool</code></td></tr><tr><td><code>6</code></td><td><code>timestamp_skipsupport(internal)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>void</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp_date(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp_timestamptz(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>timestamp_sortsupport(internal)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>bool</code></td></tr><tr><td><code>6</code></td><td><code>timestamp_skipsupport(internal)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>void</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp_date(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp_timestamp(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>3</code></td><td><code>in_range(date,date,interval,bool,bool)</code></td><td><code>date</code></td><td><code>interval</code></td><td><code>bool</code></td></tr><tr><td><code>3</code></td><td><code>in_range(timestamp,timestamp,interval,bool,bool)</code></td><td><code>timestamp</code></td><td><code>interval</code></td><td><code>bool</code></td></tr><tr><td><code>3</code></td><td><code>in_range(timestamptz,timestamptz,interval,bool,bool)</code></td><td><code>timestamptz</code></td><td><code>interval</code></td><td><code>bool</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": "timestamptz_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamptz"}, "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": "timestamptz"}, {"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": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-date/?v=20", "text": "<(date,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-date/?v=20", "text": "<=(date,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-date/?v=20", "text": "=(date,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-date/?v=20", "text": ">=(date,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-date/?v=20", "text": ">(date,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-timestamp/?v=20", "text": "<(date,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamp/?v=20", "text": "<=(date,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-timestamp/?v=20", "text": "=(date,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamp/?v=20", "text": ">=(date,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-timestamp/?v=20", "text": ">(date,timestamp)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-timestamptz/?v=20", "text": "<(date,timestamptz)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamptz/?v=20", "text": "<=(date,timestamptz)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-timestamptz/?v=20", "text": "=(date,timestamptz)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamptz/?v=20", "text": ">=(date,timestamptz)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-timestamptz/?v=20", "text": ">(date,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamp/?v=20", "text": "<(timestamp,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamp/?v=20", "text": "<=(timestamp,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamp/?v=20", "text": "=(timestamp,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamp/?v=20", "text": ">=(timestamp,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamp/?v=20", "text": ">(timestamp,timestamp)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-date/?v=20", "text": "<(timestamp,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-date/?v=20", "text": "<=(timestamp,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-date/?v=20", "text": "=(timestamp,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-date/?v=20", "text": ">=(timestamp,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-date/?v=20", "text": ">(timestamp,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamptz/?v=20", "text": "<(timestamp,timestamptz)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamptz/?v=20", "text": "<=(timestamp,timestamptz)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamptz/?v=20", "text": "=(timestamp,timestamptz)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamptz/?v=20", "text": ">=(timestamp,timestamptz)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamptz/?v=20", "text": ">(timestamp,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamptz/?v=20", "text": "<(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=20", "text": "<=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=20", "text": "=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=20", "text": ">=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=20", "text": ">(timestamptz,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-date/?v=20", "text": "<(timestamptz,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-date/?v=20", "text": "<=(timestamptz,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamptz-date/?v=20", "text": "=(timestamptz,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-date/?v=20", "text": ">=(timestamptz,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamptz-date/?v=20", "text": ">(timestamptz,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamp/?v=20", "text": "<(timestamptz,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-timestamp/?v=20", "text": "<=(timestamptz,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamptz-timestamp/?v=20", "text": "=(timestamptz,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-timestamp/?v=20", "text": ">=(timestamptz,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamptz-timestamp/?v=20", "text": ">(timestamptz,timestamp)"}, "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": "date_cmp(date,date)", "left_type": {"url": "/wiki/type/date/?v=20", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=20", "text": "date"}, "result_type": "int4"}, {"number": "2", "function": "date_sortsupport(internal)", "left_type": {"url": "/wiki/type/date/?v=20", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=20", "text": "date"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/date/?v=20", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=20", "text": "date"}, "result_type": "bool"}, {"number": "6", "function": "date_skipsupport(internal)", "left_type": {"url": "/wiki/type/date/?v=20", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=20", "text": "date"}, "result_type": "void"}, {"number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": {"url": "/wiki/type/date/?v=20", "text": "date"}, "right_type": {"url": "/wiki/type/timestamp/?v=20", "text": "timestamp"}, "result_type": "int4"}, {"number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": {"url": "/wiki/type/date/?v=20", "text": "date"}, "right_type": {"url": "/wiki/type/timestamptz/?v=20", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": {"url": "/wiki/type/timestamp/?v=20", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=20", "text": "timestamp"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamp/?v=20", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=20", "text": "timestamp"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/timestamp/?v=20", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=20", "text": "timestamp"}, "result_type": "bool"}, {"number": "6", "function": "timestamp_skipsupport(internal)", "left_type": {"url": "/wiki/type/timestamp/?v=20", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=20", "text": "timestamp"}, "result_type": "void"}, {"number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": {"url": "/wiki/type/timestamp/?v=20", "text": "timestamp"}, "right_type": {"url": "/wiki/type/date/?v=20", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": {"url": "/wiki/type/timestamp/?v=20", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamptz/?v=20", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": {"url": "/wiki/type/timestamptz/?v=20", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=20", "text": "timestamptz"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamptz/?v=20", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=20", "text": "timestamptz"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/timestamptz/?v=20", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=20", "text": "timestamptz"}, "result_type": "bool"}, {"number": "6", "function": "timestamp_skipsupport(internal)", "left_type": {"url": "/wiki/type/timestamptz/?v=20", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=20", "text": "timestamptz"}, "result_type": "void"}, {"number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": {"url": "/wiki/type/timestamptz/?v=20", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/date/?v=20", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": {"url": "/wiki/type/timestamptz/?v=20", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamp/?v=20", "text": "timestamp"}, "result_type": "int4"}, {"number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": {"url": "/wiki/type/date/?v=20", "text": "date"}, "right_type": {"url": "/wiki/type/interval/?v=20", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamp/?v=20", "text": "timestamp"}, "right_type": {"url": "/wiki/type/interval/?v=20", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamptz/?v=20", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/interval/?v=20", "text": "interval"}, "result_type": "bool"}], "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-date_ops/?v=20", "text": "date_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/date/?v=20", "text": "date"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamptz_ops/?v=20", "text": "timestamptz_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamptz/?v=20", "text": "timestamptz"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamp_ops/?v=20", "text": "timestamp_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamp/?v=20", "text": "timestamp"}}], "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": ["timestamptz_ops", "btree/timestamptz_ops"], "classes": [{"name": "date_ops", "slug": "class-btree-date_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "date", "source_oid": "3122", "family_slug": "family-btree-datetime_ops"}, {"name": "timestamptz_ops", "slug": "class-btree-timestamptz_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamptz", "source_oid": "3127", "family_slug": "family-btree-datetime_ops"}, {"name": "timestamp_ops", "slug": "class-btree-timestamp_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamp", "source_oid": "3128", "family_slug": "family-btree-datetime_ops"}], "related": [{"url": "/wiki/indexam/btree/?v=20", "label": "B-tree \u7d22\u5f15\u8bbf\u95ee\u65b9\u6cd5"}, {"url": "/wiki/opclass/family-btree-datetime_ops/?v=20", "label": "datetime_ops \u5bb6\u65cf"}, {"url": "/wiki/type/timestamptz/?v=20", "label": "timestamptz \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": "6e06ddb38793008a82e9e256290423f381afb1f7427900e662207f18dc33f103", "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": "timestamptz"}, {"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/timestamptz_ops (class)", "locale": "zh-Hans", "source": {"key": "class-btree-timestamptz_ops", "locale": "zh-Hans", "version": "20", "text_hash": "a66c504988b2c21de52ccad036cbcd2aea535ec3d7662c40e2349f5a89c72505", "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": "timestamptz"}, {"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": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-date/?v=20", "text": "<(date,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-date/?v=20", "text": "<=(date,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-date/?v=20", "text": "=(date,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-date/?v=20", "text": ">=(date,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-date/?v=20", "text": ">(date,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-timestamp/?v=20", "text": "<(date,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamp/?v=20", "text": "<=(date,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-timestamp/?v=20", "text": "=(date,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamp/?v=20", "text": ">=(date,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-timestamp/?v=20", "text": ">(date,timestamp)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-timestamptz/?v=20", "text": "<(date,timestamptz)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamptz/?v=20", "text": "<=(date,timestamptz)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-timestamptz/?v=20", "text": "=(date,timestamptz)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamptz/?v=20", "text": ">=(date,timestamptz)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-timestamptz/?v=20", "text": ">(date,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamp/?v=20", "text": "<(timestamp,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamp/?v=20", "text": "<=(timestamp,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamp/?v=20", "text": "=(timestamp,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamp/?v=20", "text": ">=(timestamp,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamp/?v=20", "text": ">(timestamp,timestamp)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-date/?v=20", "text": "<(timestamp,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-date/?v=20", "text": "<=(timestamp,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-date/?v=20", "text": "=(timestamp,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-date/?v=20", "text": ">=(timestamp,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-date/?v=20", "text": ">(timestamp,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamptz/?v=20", "text": "<(timestamp,timestamptz)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamptz/?v=20", "text": "<=(timestamp,timestamptz)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamptz/?v=20", "text": "=(timestamp,timestamptz)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamptz/?v=20", "text": ">=(timestamp,timestamptz)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamptz/?v=20", "text": ">(timestamp,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamptz/?v=20", "text": "<(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=20", "text": "<=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=20", "text": "=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=20", "text": ">=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=20", "text": ">(timestamptz,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-date/?v=20", "text": "<(timestamptz,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-date/?v=20", "text": "<=(timestamptz,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamptz-date/?v=20", "text": "=(timestamptz,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-date/?v=20", "text": ">=(timestamptz,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamptz-date/?v=20", "text": ">(timestamptz,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamp/?v=20", "text": "<(timestamptz,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-timestamp/?v=20", "text": "<=(timestamptz,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamptz-timestamp/?v=20", "text": "=(timestamptz,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-timestamp/?v=20", "text": ">=(timestamptz,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamptz-timestamp/?v=20", "text": ">(timestamptz,timestamp)"}, "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": "date_cmp(date,date)", "left_type": {"url": "/wiki/type/date/?v=20", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=20", "text": "date"}, "result_type": "int4"}, {"number": "2", "function": "date_sortsupport(internal)", "left_type": {"url": "/wiki/type/date/?v=20", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=20", "text": "date"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/date/?v=20", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=20", "text": "date"}, "result_type": "bool"}, {"number": "6", "function": "date_skipsupport(internal)", "left_type": {"url": "/wiki/type/date/?v=20", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=20", "text": "date"}, "result_type": "void"}, {"number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": {"url": "/wiki/type/date/?v=20", "text": "date"}, "right_type": {"url": "/wiki/type/timestamp/?v=20", "text": "timestamp"}, "result_type": "int4"}, {"number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": {"url": "/wiki/type/date/?v=20", "text": "date"}, "right_type": {"url": "/wiki/type/timestamptz/?v=20", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": {"url": "/wiki/type/timestamp/?v=20", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=20", "text": "timestamp"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamp/?v=20", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=20", "text": "timestamp"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/timestamp/?v=20", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=20", "text": "timestamp"}, "result_type": "bool"}, {"number": "6", "function": "timestamp_skipsupport(internal)", "left_type": {"url": "/wiki/type/timestamp/?v=20", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=20", "text": "timestamp"}, "result_type": "void"}, {"number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": {"url": "/wiki/type/timestamp/?v=20", "text": "timestamp"}, "right_type": {"url": "/wiki/type/date/?v=20", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": {"url": "/wiki/type/timestamp/?v=20", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamptz/?v=20", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": {"url": "/wiki/type/timestamptz/?v=20", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=20", "text": "timestamptz"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamptz/?v=20", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=20", "text": "timestamptz"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/timestamptz/?v=20", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=20", "text": "timestamptz"}, "result_type": "bool"}, {"number": "6", "function": "timestamp_skipsupport(internal)", "left_type": {"url": "/wiki/type/timestamptz/?v=20", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=20", "text": "timestamptz"}, "result_type": "void"}, {"number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": {"url": "/wiki/type/timestamptz/?v=20", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/date/?v=20", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": {"url": "/wiki/type/timestamptz/?v=20", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamp/?v=20", "text": "timestamp"}, "result_type": "int4"}, {"number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": {"url": "/wiki/type/date/?v=20", "text": "date"}, "right_type": {"url": "/wiki/type/interval/?v=20", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamp/?v=20", "text": "timestamp"}, "right_type": {"url": "/wiki/type/interval/?v=20", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamptz/?v=20", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/interval/?v=20", "text": "interval"}, "result_type": "bool"}], "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-date_ops/?v=20", "text": "date_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/date/?v=20", "text": "date"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamptz_ops/?v=20", "text": "timestamptz_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamptz/?v=20", "text": "timestamptz"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamp_ops/?v=20", "text": "timestamp_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamp/?v=20", "text": "timestamp"}}], "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": "6e06ddb38793008a82e9e256290423f381afb1f7427900e662207f18dc33f103", "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": "timestamptz_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002", "description_zh_html": "<p>timestamptz_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002</p><dl><dt>\u540d\u79f0</dt><dd><code>timestamptz_ops</code></dd><dt>\u8fd0\u7b97\u7b26\u65cf</dt><dd><code>datetime_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>timestamptz</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;(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</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>date_cmp(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>date_sortsupport(internal)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>bool</code></td></tr><tr><td><code>6</code></td><td><code>date_skipsupport(internal)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>void</code></td></tr><tr><td><code>1</code></td><td><code>date_cmp_timestamp(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>date_cmp_timestamptz(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>timestamp_sortsupport(internal)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>bool</code></td></tr><tr><td><code>6</code></td><td><code>timestamp_skipsupport(internal)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>void</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp_date(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp_timestamptz(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>timestamp_sortsupport(internal)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>bool</code></td></tr><tr><td><code>6</code></td><td><code>timestamp_skipsupport(internal)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>void</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp_date(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp_timestamp(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>3</code></td><td><code>in_range(date,date,interval,bool,bool)</code></td><td><code>date</code></td><td><code>interval</code></td><td><code>bool</code></td></tr><tr><td><code>3</code></td><td><code>in_range(timestamp,timestamp,interval,bool,bool)</code></td><td><code>timestamp</code></td><td><code>interval</code></td><td><code>bool</code></td></tr><tr><td><code>3</code></td><td><code>in_range(timestamptz,timestamptz,interval,bool,bool)</code></td><td><code>timestamptz</code></td><td><code>interval</code></td><td><code>bool</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": "timestamptz_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>timestamptz_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002</p><dl><dt>\u540d\u79f0</dt><dd><code>timestamptz_ops</code></dd><dt>\u8fd0\u7b97\u7b26\u65cf</dt><dd><code>datetime_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>timestamptz</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;(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</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>date_cmp(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>date_sortsupport(internal)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>bool</code></td></tr><tr><td><code>6</code></td><td><code>date_skipsupport(internal)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>void</code></td></tr><tr><td><code>1</code></td><td><code>date_cmp_timestamp(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>date_cmp_timestamptz(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>timestamp_sortsupport(internal)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>bool</code></td></tr><tr><td><code>6</code></td><td><code>timestamp_skipsupport(internal)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>void</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp_date(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp_timestamptz(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>timestamp_sortsupport(internal)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>bool</code></td></tr><tr><td><code>6</code></td><td><code>timestamp_skipsupport(internal)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>void</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp_date(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp_timestamp(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>3</code></td><td><code>in_range(date,date,interval,bool,bool)</code></td><td><code>date</code></td><td><code>interval</code></td><td><code>bool</code></td></tr><tr><td><code>3</code></td><td><code>in_range(timestamp,timestamp,interval,bool,bool)</code></td><td><code>timestamp</code></td><td><code>interval</code></td><td><code>bool</code></td></tr><tr><td><code>3</code></td><td><code>in_range(timestamptz,timestamptz,interval,bool,bool)</code></td><td><code>timestamptz</code></td><td><code>interval</code></td><td><code>bool</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": "71d2fc0dde471107edaa66a0067a7ba8a50bd05f950275848fc9c03281e07b5c", "content_hash": "a66c504988b2c21de52ccad036cbcd2aea535ec3d7662c40e2349f5a89c72505", "source_database": "center", "source_revision": "49c73aa4c9cacef8ca979276a28ac416c08e9e54c9baee4ae5fd116a35fa13ac"}, "operators": [{"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,date)", "strategy": "1", "left_type": "date", "right_type": "date", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,date)", "strategy": "2", "left_type": "date", "right_type": "date", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,date)", "strategy": "3", "left_type": "date", "right_type": "date", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,date)", "strategy": "4", "left_type": "date", "right_type": "date", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,date)", "strategy": "5", "left_type": "date", "right_type": "date", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamp)", "strategy": "1", "left_type": "date", "right_type": "timestamp", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamp)", "strategy": "2", "left_type": "date", "right_type": "timestamp", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamp)", "strategy": "3", "left_type": "date", "right_type": "timestamp", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamp)", "strategy": "4", "left_type": "date", "right_type": "timestamp", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamp)", "strategy": "5", "left_type": "date", "right_type": "timestamp", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamptz)", "strategy": "1", "left_type": "date", "right_type": "timestamptz", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamptz)", "strategy": "2", "left_type": "date", "right_type": "timestamptz", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamptz)", "strategy": "3", "left_type": "date", "right_type": "timestamptz", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamptz)", "strategy": "4", "left_type": "date", "right_type": "timestamptz", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamptz)", "strategy": "5", "left_type": "date", "right_type": "timestamptz", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamp)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamp", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamp)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamp", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamp)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamp", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamp)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamp", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamp)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamp", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,date)", "strategy": "1", "left_type": "timestamp", "right_type": "date", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,date)", "strategy": "2", "left_type": "timestamp", "right_type": "date", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,date)", "strategy": "3", "left_type": "timestamp", "right_type": "date", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,date)", "strategy": "4", "left_type": "timestamp", "right_type": "date", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,date)", "strategy": "5", "left_type": "timestamp", "right_type": "date", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamptz)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamptz", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamptz)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamptz", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamptz)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamptz", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamptz)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamptz", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamptz)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamptz", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamptz)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamptz", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamptz)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamptz", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamptz)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamptz", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamptz)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamptz", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamptz)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamptz", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,date)", "strategy": "1", "left_type": "timestamptz", "right_type": "date", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,date)", "strategy": "2", "left_type": "timestamptz", "right_type": "date", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,date)", "strategy": "3", "left_type": "timestamptz", "right_type": "date", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,date)", "strategy": "4", "left_type": "timestamptz", "right_type": "date", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,date)", "strategy": "5", "left_type": "timestamptz", "right_type": "date", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamp)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamp", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamp)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamp", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamp)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamp", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamp)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamp", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamp)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamp", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamptz-timestamp", "sort_family_slug": ""}], "signature": "btree/timestamptz_ops", "tables_zh": [{"key": "operators", "rows": [{"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-date/?v=20", "text": "<(date,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-date/?v=20", "text": "<=(date,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-date/?v=20", "text": "=(date,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-date/?v=20", "text": ">=(date,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-date/?v=20", "text": ">(date,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-timestamp/?v=20", "text": "<(date,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamp/?v=20", "text": "<=(date,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-timestamp/?v=20", "text": "=(date,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamp/?v=20", "text": ">=(date,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-timestamp/?v=20", "text": ">(date,timestamp)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-timestamptz/?v=20", "text": "<(date,timestamptz)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamptz/?v=20", "text": "<=(date,timestamptz)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-timestamptz/?v=20", "text": "=(date,timestamptz)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamptz/?v=20", "text": ">=(date,timestamptz)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-timestamptz/?v=20", "text": ">(date,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamp/?v=20", "text": "<(timestamp,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamp/?v=20", "text": "<=(timestamp,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamp/?v=20", "text": "=(timestamp,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamp/?v=20", "text": ">=(timestamp,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamp/?v=20", "text": ">(timestamp,timestamp)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-date/?v=20", "text": "<(timestamp,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-date/?v=20", "text": "<=(timestamp,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-date/?v=20", "text": "=(timestamp,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-date/?v=20", "text": ">=(timestamp,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-date/?v=20", "text": ">(timestamp,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamptz/?v=20", "text": "<(timestamp,timestamptz)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamptz/?v=20", "text": "<=(timestamp,timestamptz)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamptz/?v=20", "text": "=(timestamp,timestamptz)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamptz/?v=20", "text": ">=(timestamp,timestamptz)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamptz/?v=20", "text": ">(timestamp,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamptz/?v=20", "text": "<(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=20", "text": "<=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=20", "text": "=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=20", "text": ">=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=20", "text": ">(timestamptz,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-date/?v=20", "text": "<(timestamptz,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-date/?v=20", "text": "<=(timestamptz,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamptz-date/?v=20", "text": "=(timestamptz,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-date/?v=20", "text": ">=(timestamptz,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamptz-date/?v=20", "text": ">(timestamptz,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamp/?v=20", "text": "<(timestamptz,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-timestamp/?v=20", "text": "<=(timestamptz,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamptz-timestamp/?v=20", "text": "=(timestamptz,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-timestamp/?v=20", "text": ">=(timestamptz,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamptz-timestamp/?v=20", "text": ">(timestamptz,timestamp)"}, "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": "date_cmp(date,date)", "left_type": {"url": "/wiki/type/date/?v=20", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=20", "text": "date"}, "result_type": "int4"}, {"number": "2", "function": "date_sortsupport(internal)", "left_type": {"url": "/wiki/type/date/?v=20", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=20", "text": "date"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/date/?v=20", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=20", "text": "date"}, "result_type": "bool"}, {"number": "6", "function": "date_skipsupport(internal)", "left_type": {"url": "/wiki/type/date/?v=20", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=20", "text": "date"}, "result_type": "void"}, {"number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": {"url": "/wiki/type/date/?v=20", "text": "date"}, "right_type": {"url": "/wiki/type/timestamp/?v=20", "text": "timestamp"}, "result_type": "int4"}, {"number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": {"url": "/wiki/type/date/?v=20", "text": "date"}, "right_type": {"url": "/wiki/type/timestamptz/?v=20", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": {"url": "/wiki/type/timestamp/?v=20", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=20", "text": "timestamp"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamp/?v=20", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=20", "text": "timestamp"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/timestamp/?v=20", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=20", "text": "timestamp"}, "result_type": "bool"}, {"number": "6", "function": "timestamp_skipsupport(internal)", "left_type": {"url": "/wiki/type/timestamp/?v=20", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=20", "text": "timestamp"}, "result_type": "void"}, {"number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": {"url": "/wiki/type/timestamp/?v=20", "text": "timestamp"}, "right_type": {"url": "/wiki/type/date/?v=20", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": {"url": "/wiki/type/timestamp/?v=20", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamptz/?v=20", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": {"url": "/wiki/type/timestamptz/?v=20", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=20", "text": "timestamptz"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamptz/?v=20", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=20", "text": "timestamptz"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/timestamptz/?v=20", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=20", "text": "timestamptz"}, "result_type": "bool"}, {"number": "6", "function": "timestamp_skipsupport(internal)", "left_type": {"url": "/wiki/type/timestamptz/?v=20", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=20", "text": "timestamptz"}, "result_type": "void"}, {"number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": {"url": "/wiki/type/timestamptz/?v=20", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/date/?v=20", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": {"url": "/wiki/type/timestamptz/?v=20", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamp/?v=20", "text": "timestamp"}, "result_type": "int4"}, {"number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": {"url": "/wiki/type/date/?v=20", "text": "date"}, "right_type": {"url": "/wiki/type/interval/?v=20", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamp/?v=20", "text": "timestamp"}, "right_type": {"url": "/wiki/type/interval/?v=20", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamptz/?v=20", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/interval/?v=20", "text": "interval"}, "result_type": "bool"}], "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-date_ops/?v=20", "text": "date_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/date/?v=20", "text": "date"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamptz_ops/?v=20", "text": "timestamptz_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamptz/?v=20", "text": "timestamptz"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamp_ops/?v=20", "text": "timestamp_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamp/?v=20", "text": "timestamp"}}], "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": "3127", "description": ["timestamptz_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 timestamptz; member of datetime_ops.", "/category": "B-tree classes", "/versions/20/description/0": "B-tree operator class for timestamptz; member of datetime_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": "datetime_ops family", "/versions/20/related/2/label": "timestamptz data type", "/versions/20/sections/0/title": "Operator classes and families", "/versions/20/tables/0/rows/0/scope": "Family member", "/versions/20/tables/0/rows/1/scope": "Family member", "/versions/20/tables/0/rows/2/scope": "Family member", "/versions/20/tables/0/rows/3/scope": "Family member", "/versions/20/tables/0/rows/4/scope": "Family member", "/versions/20/tables/0/rows/5/scope": "Family member", "/versions/20/tables/0/rows/6/scope": "Family member", "/versions/20/tables/0/rows/7/scope": "Family member", "/versions/20/tables/0/rows/8/scope": "Family member", "/versions/20/tables/0/rows/9/scope": "Family member", "/versions/20/tables/0/rows/10/scope": "Family member", "/versions/20/tables/0/rows/11/scope": "Family member", "/versions/20/tables/0/rows/12/scope": "Family member", "/versions/20/tables/0/rows/13/scope": "Family member", "/versions/20/tables/0/rows/14/scope": "Family member", "/versions/20/tables/0/rows/15/scope": "Family member", "/versions/20/tables/0/rows/16/scope": "Family member", "/versions/20/tables/0/rows/17/scope": "Family member", "/versions/20/tables/0/rows/18/scope": "Family member", "/versions/20/tables/0/rows/19/scope": "Family member", "/versions/20/tables/0/rows/20/scope": "Family member", "/versions/20/tables/0/rows/21/scope": "Family member", "/versions/20/tables/0/rows/22/scope": "Family member", "/versions/20/tables/0/rows/23/scope": "Family member", "/versions/20/tables/0/rows/24/scope": "Family member", "/versions/20/tables/0/rows/25/scope": "Family member", "/versions/20/tables/0/rows/26/scope": "Family member", "/versions/20/tables/0/rows/27/scope": "Family member", "/versions/20/tables/0/rows/28/scope": "Family member", "/versions/20/tables/0/rows/29/scope": "Family member", "/versions/20/tables/0/rows/30/scope": "Class input pair", "/versions/20/tables/0/rows/31/scope": "Class input pair", "/versions/20/tables/0/rows/32/scope": "Class input pair", "/versions/20/tables/0/rows/33/scope": "Class input pair", "/versions/20/tables/0/rows/34/scope": "Class input pair", "/versions/20/tables/0/rows/35/scope": "Family member", "/versions/20/tables/0/rows/36/scope": "Family member", "/versions/20/tables/0/rows/37/scope": "Family member", "/versions/20/tables/0/rows/38/scope": "Family member", "/versions/20/tables/0/rows/39/scope": "Family member", "/versions/20/tables/0/rows/40/scope": "Family member", "/versions/20/tables/0/rows/41/scope": "Family member", "/versions/20/tables/0/rows/42/scope": "Family member", "/versions/20/tables/0/rows/43/scope": "Family member", "/versions/20/tables/0/rows/44/scope": "Family member", "/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/0/rows/5/purpose": "search", "/versions/20/tables/0/rows/6/purpose": "search", "/versions/20/tables/0/rows/7/purpose": "search", "/versions/20/tables/0/rows/8/purpose": "search", "/versions/20/tables/0/rows/9/purpose": "search", "/versions/20/tables/2/rows/0/default": "yes", "/versions/20/tables/2/rows/1/default": "yes", "/versions/20/tables/2/rows/2/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/0/rows/10/purpose": "search", "/versions/20/tables/0/rows/11/purpose": "search", "/versions/20/tables/0/rows/12/purpose": "search", "/versions/20/tables/0/rows/13/purpose": "search", "/versions/20/tables/0/rows/14/purpose": "search", "/versions/20/tables/0/rows/15/purpose": "search", "/versions/20/tables/0/rows/16/purpose": "search", "/versions/20/tables/0/rows/17/purpose": "search", "/versions/20/tables/0/rows/18/purpose": "search", "/versions/20/tables/0/rows/19/purpose": "search", "/versions/20/tables/0/rows/20/purpose": "search", "/versions/20/tables/0/rows/21/purpose": "search", "/versions/20/tables/0/rows/22/purpose": "search", "/versions/20/tables/0/rows/23/purpose": "search", "/versions/20/tables/0/rows/24/purpose": "search", "/versions/20/tables/0/rows/25/purpose": "search", "/versions/20/tables/0/rows/26/purpose": "search", "/versions/20/tables/0/rows/27/purpose": "search", "/versions/20/tables/0/rows/28/purpose": "search", "/versions/20/tables/0/rows/29/purpose": "search", "/versions/20/tables/0/rows/30/purpose": "search", "/versions/20/tables/0/rows/31/purpose": "search", "/versions/20/tables/0/rows/32/purpose": "search", "/versions/20/tables/0/rows/33/purpose": "search", "/versions/20/tables/0/rows/34/purpose": "search", "/versions/20/tables/0/rows/35/purpose": "search", "/versions/20/tables/0/rows/36/purpose": "search", "/versions/20/tables/0/rows/37/purpose": "search", "/versions/20/tables/0/rows/38/purpose": "search", "/versions/20/tables/0/rows/39/purpose": "search", "/versions/20/tables/0/rows/40/purpose": "search", "/versions/20/tables/0/rows/41/purpose": "search", "/versions/20/tables/0/rows/42/purpose": "search", "/versions/20/tables/0/rows/43/purpose": "search", "/versions/20/tables/0/rows/44/purpose": "search", "/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/2/rows/1/key_type": "Same as input type", "/versions/20/tables/2/rows/2/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", "/versions/20/tables/0/rows/5/description": "less than", "/versions/20/tables/0/rows/6/description": "less than or equal", "/versions/20/tables/0/rows/7/description": "equal", "/versions/20/tables/0/rows/8/description": "greater than or equal", "/versions/20/tables/0/rows/9/description": "greater than", "/versions/20/tables/0/rows/10/description": "less than", "/versions/20/tables/0/rows/11/description": "less than or equal", "/versions/20/tables/0/rows/12/description": "equal", "/versions/20/tables/0/rows/13/description": "greater than or equal", "/versions/20/tables/0/rows/14/description": "greater than", "/versions/20/tables/0/rows/15/description": "less than", "/versions/20/tables/0/rows/16/description": "less than or equal", "/versions/20/tables/0/rows/17/description": "equal", "/versions/20/tables/0/rows/18/description": "greater than or equal", "/versions/20/tables/0/rows/19/description": "greater than", "/versions/20/tables/0/rows/20/description": "less than", "/versions/20/tables/0/rows/21/description": "less than or equal", "/versions/20/tables/0/rows/22/description": "equal", "/versions/20/tables/0/rows/23/description": "greater than or equal", "/versions/20/tables/0/rows/24/description": "greater than", "/versions/20/tables/0/rows/25/description": "less than", "/versions/20/tables/0/rows/26/description": "less than or equal", "/versions/20/tables/0/rows/27/description": "equal", "/versions/20/tables/0/rows/28/description": "greater than or equal", "/versions/20/tables/0/rows/29/description": "greater than", "/versions/20/tables/0/rows/30/description": "less than", "/versions/20/tables/0/rows/31/description": "less than or equal", "/versions/20/tables/0/rows/32/description": "equal", "/versions/20/tables/0/rows/33/description": "greater than or equal", "/versions/20/tables/0/rows/34/description": "greater than", "/versions/20/tables/0/rows/35/description": "less than", "/versions/20/tables/0/rows/36/description": "less than or equal", "/versions/20/tables/0/rows/37/description": "equal", "/versions/20/tables/0/rows/38/description": "greater than or equal", "/versions/20/tables/0/rows/39/description": "greater than", "/versions/20/tables/0/rows/40/description": "less than", "/versions/20/tables/0/rows/41/description": "less than or equal", "/versions/20/tables/0/rows/42/description": "equal", "/versions/20/tables/0/rows/43/description": "greater than or equal", "/versions/20/tables/0/rows/44/description": "greater than"}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "431457a292e3cc7eb87add3309a386cc1f335ee9d07098902bb96c9be13f64f3", "canonical_center_text_hash": "a66c504988b2c21de52ccad036cbcd2aea535ec3d7662c40e2349f5a89c72505"}, "description_zh": "timestamptz_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002", "comparison_data": {"kind": "class", "classes": [{"name": "date_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "date"}, {"name": "timestamp_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamp"}, {"name": "timestamptz_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamptz"}], "operators": [{"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,date)", "strategy": "1", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,date)", "strategy": "2", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,date)", "strategy": "3", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,date)", "strategy": "4", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,date)", "strategy": "5", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamp)", "strategy": "1", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamp)", "strategy": "2", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamp)", "strategy": "3", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamp)", "strategy": "4", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamp)", "strategy": "5", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamptz)", "strategy": "1", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamptz)", "strategy": "2", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamptz)", "strategy": "3", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamptz)", "strategy": "4", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamptz)", "strategy": "5", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,date)", "strategy": "1", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,date)", "strategy": "2", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,date)", "strategy": "3", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,date)", "strategy": "4", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,date)", "strategy": "5", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamp)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamp)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamp)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamp)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamp)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamptz)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamptz)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamptz)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamptz)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamptz)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,date)", "strategy": "1", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,date)", "strategy": "2", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,date)", "strategy": "3", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,date)", "strategy": "4", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,date)", "strategy": "5", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamp)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamp)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamp)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamp)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamp)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamptz)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamptz)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamptz)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamptz)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamptz)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}], "attributes": {"name": "timestamptz_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamptz"}, "support_functions": [{"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp(date,date)", "left_type": "date", "right_type": "date", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": "date", "right_type": "timestamp", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": "date", "right_type": "timestamptz", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": "timestamp", "right_type": "date", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": "timestamp", "right_type": "timestamp", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": "timestamp", "right_type": "timestamptz", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": "timestamptz", "right_type": "date", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": "timestamptz", "right_type": "timestamp", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": "timestamptz", "right_type": "timestamptz", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "date_sortsupport(internal)", "left_type": "date", "right_type": "date", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamp", "right_type": "timestamp", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamptz", "right_type": "timestamptz", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": "date", "right_type": "interval", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": "timestamp", "right_type": "interval", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": "timestamptz", "right_type": "interval", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "date", "right_type": "date", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "timestamp", "right_type": "timestamp", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "timestamptz", "right_type": "timestamptz", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "6", "function": "date_skipsupport(internal)", "left_type": "date", "right_type": "date", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "6", "function": "timestamp_skipsupport(internal)", "left_type": "timestamp", "right_type": "timestamp", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "6", "function": "timestamp_skipsupport(internal)", "left_type": "timestamptz", "right_type": "timestamptz", "result_type": "void"}]}, "comparison_hash": "bc50dd875677552f5a6f2d56264033b3806cac4ed792a40bd892c15fc2ca8dc2", "manual_language": "zh", "support_functions": [{"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp(date,date)", "left_type": "date", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "date_sortsupport(internal)", "left_type": "date", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "date", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "6", "function": "date_skipsupport(internal)", "left_type": "date", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": "date", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": "date", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": "timestamp", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamp", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "timestamp", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "6", "function": "timestamp_skipsupport(internal)", "left_type": "timestamp", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": "timestamp", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": "timestamp", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": "timestamptz", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamptz", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "timestamptz", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "6", "function": "timestamp_skipsupport(internal)", "left_type": "timestamptz", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": "timestamptz", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": "timestamptz", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": "date", "right_type": "interval", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": "timestamp", "right_type": "interval", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": "timestamptz", "right_type": "interval", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}], "description_zh_html": "<p>timestamptz_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002</p><dl><dt>\u540d\u79f0</dt><dd><code>timestamptz_ops</code></dd><dt>\u8fd0\u7b97\u7b26\u65cf</dt><dd><code>datetime_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>timestamptz</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;(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</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>date_cmp(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>date_sortsupport(internal)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>bool</code></td></tr><tr><td><code>6</code></td><td><code>date_skipsupport(internal)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>void</code></td></tr><tr><td><code>1</code></td><td><code>date_cmp_timestamp(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>date_cmp_timestamptz(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>timestamp_sortsupport(internal)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>bool</code></td></tr><tr><td><code>6</code></td><td><code>timestamp_skipsupport(internal)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>void</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp_date(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp_timestamptz(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>timestamp_sortsupport(internal)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>bool</code></td></tr><tr><td><code>6</code></td><td><code>timestamp_skipsupport(internal)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>void</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp_date(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp_timestamp(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>3</code></td><td><code>in_range(date,date,interval,bool,bool)</code></td><td><code>date</code></td><td><code>interval</code></td><td><code>bool</code></td></tr><tr><td><code>3</code></td><td><code>in_range(timestamp,timestamp,interval,bool,bool)</code></td><td><code>timestamp</code></td><td><code>interval</code></td><td><code>bool</code></td></tr><tr><td><code>3</code></td><td><code>in_range(timestamptz,timestamptz,interval,bool,bool)</code></td><td><code>timestamptz</code></td><td><code>interval</code></td><td><code>bool</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": {"class": {"name": "timestamptz_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamptz"}, "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": "timestamptz"}, {"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": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-date/?v=18", "text": "<(date,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-date/?v=18", "text": "<=(date,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-date/?v=18", "text": "=(date,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-date/?v=18", "text": ">=(date,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-date/?v=18", "text": ">(date,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-timestamp/?v=18", "text": "<(date,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamp/?v=18", "text": "<=(date,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-timestamp/?v=18", "text": "=(date,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamp/?v=18", "text": ">=(date,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-timestamp/?v=18", "text": ">(date,timestamp)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-timestamptz/?v=18", "text": "<(date,timestamptz)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamptz/?v=18", "text": "<=(date,timestamptz)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-timestamptz/?v=18", "text": "=(date,timestamptz)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamptz/?v=18", "text": ">=(date,timestamptz)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-timestamptz/?v=18", "text": ">(date,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamp/?v=18", "text": "<(timestamp,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamp/?v=18", "text": "<=(timestamp,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamp/?v=18", "text": "=(timestamp,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamp/?v=18", "text": ">=(timestamp,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamp/?v=18", "text": ">(timestamp,timestamp)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-date/?v=18", "text": "<(timestamp,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-date/?v=18", "text": "<=(timestamp,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-date/?v=18", "text": "=(timestamp,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-date/?v=18", "text": ">=(timestamp,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-date/?v=18", "text": ">(timestamp,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamptz/?v=18", "text": "<(timestamp,timestamptz)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamptz/?v=18", "text": "<=(timestamp,timestamptz)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamptz/?v=18", "text": "=(timestamp,timestamptz)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamptz/?v=18", "text": ">=(timestamp,timestamptz)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamptz/?v=18", "text": ">(timestamp,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamptz/?v=18", "text": "<(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=18", "text": "<=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=18", "text": "=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=18", "text": ">=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=18", "text": ">(timestamptz,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-date/?v=18", "text": "<(timestamptz,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-date/?v=18", "text": "<=(timestamptz,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamptz-date/?v=18", "text": "=(timestamptz,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-date/?v=18", "text": ">=(timestamptz,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamptz-date/?v=18", "text": ">(timestamptz,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamp/?v=18", "text": "<(timestamptz,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-timestamp/?v=18", "text": "<=(timestamptz,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamptz-timestamp/?v=18", "text": "=(timestamptz,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-timestamp/?v=18", "text": ">=(timestamptz,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamptz-timestamp/?v=18", "text": ">(timestamptz,timestamp)"}, "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": "date_cmp(date,date)", "left_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "result_type": "int4"}, {"number": "2", "function": "date_sortsupport(internal)", "left_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "result_type": "bool"}, {"number": "6", "function": "date_skipsupport(internal)", "left_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "result_type": "void"}, {"number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "right_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "result_type": "int4"}, {"number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "right_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "result_type": "bool"}, {"number": "6", "function": "timestamp_skipsupport(internal)", "left_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "result_type": "void"}, {"number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "right_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "result_type": "bool"}, {"number": "6", "function": "timestamp_skipsupport(internal)", "left_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "result_type": "void"}, {"number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "result_type": "int4"}, {"number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "right_type": {"url": "/wiki/type/interval/?v=18", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "right_type": {"url": "/wiki/type/interval/?v=18", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/interval/?v=18", "text": "interval"}, "result_type": "bool"}], "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-date_ops/?v=18", "text": "date_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/date/?v=18", "text": "date"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamptz_ops/?v=18", "text": "timestamptz_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamp_ops/?v=18", "text": "timestamp_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}}], "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": ["timestamptz_ops", "btree/timestamptz_ops"], "classes": [{"name": "date_ops", "slug": "class-btree-date_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "date", "source_oid": "3122", "family_slug": "family-btree-datetime_ops"}, {"name": "timestamptz_ops", "slug": "class-btree-timestamptz_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamptz", "source_oid": "3127", "family_slug": "family-btree-datetime_ops"}, {"name": "timestamp_ops", "slug": "class-btree-timestamp_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamp", "source_oid": "3128", "family_slug": "family-btree-datetime_ops"}], "related": [{"url": "/wiki/indexam/btree/?v=18", "label": "B-tree \u7d22\u5f15\u8bbf\u95ee\u65b9\u6cd5"}, {"url": "/wiki/opclass/family-btree-datetime_ops/?v=18", "label": "datetime_ops \u5bb6\u65cf"}, {"url": "/wiki/type/timestamptz/?v=18", "label": "timestamptz \u6570\u636e\u7c7b\u578b"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v18.6/postgresql-18.6.tar.bz2", "label": "18.6", "major": "18", "channel": "stable", "revision": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f", "source_sha256": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f", "manual_fingerprint": "fefce9e478eb2afe5e17e869492bbedc67dce23d317f0a5257240113d6496ebc", "catalog_fingerprint": "deec62e0f0c649d9d0d058ddd0b16bf41afffd569c3fd73949ff0971ce5cabd6"}, "sources": [{"url": "https://ftp.postgresql.org/pub/source/v18.6/postgresql-18.6.tar.bz2", "label": "Matching PostgreSQL source archive", "sha256": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"}, {"url": "/docs/18/indexes-opclass.html", "path": "indexes-opclass.html", "label": "PostgreSQL 18 English manual: indexes-opclass.html", "sha256": "07de06abf3a2aff2a891a2789def434d9b76705e54d45ca5338dc13451ae2962"}, {"url": "/docs/18/catalog-pg-opclass.html", "path": "catalog-pg-opclass.html", "label": "PostgreSQL 18 English manual: catalog-pg-opclass.html", "sha256": "6f131a502f81b813d447e746fc39ee28e5bdfb3ce8e8baea36a71ad0fde78c40"}, {"url": "/docs/18/catalog-pg-amop.html", "path": "catalog-pg-amop.html", "label": "PostgreSQL 18 English manual: catalog-pg-amop.html", "sha256": "e65b90ee78eaf4b4da97ce5b08b972cee2e2660b882ec107be22eca47201f7d1"}, {"url": "/docs/18/catalog-pg-amproc.html", "path": "catalog-pg-amproc.html", "label": "PostgreSQL 18 English manual: catalog-pg-amproc.html", "sha256": "0a09afbde0ba8da9899bf770b86d8301bee116057b16ebe7db0e4a7fca2e91c6"}], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-structured-summary", "manual": {"url": "/zh/docs/18/indexes-opclass.html", "anchor": "", "locale": "zh-Hans", "version": "18", "build_id": 107, "page_key": "indexes-opclass.html", "extraction": "concept-introduction", "source_hash": "cce6c9b1d4fbb418823aa7be2585facae45f45a5f75c43bd26170c1383c2a4b5", "fragment_sha256": "dad5545190ebde655fce48dfc13cd02d2863166fac7cf0c2b28b059c9e419ae4", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "git:b1b500221dbe5437cfca004d6b04d3f6e422765d;html-sha256:08e987a66af27b98444a8057c256314eafa13611a3fb9e888214fc436824244b", "translated_from_revision": null}, "body_sha256": "efe22853d38b61dcd18a242278ebcffd7489477572c5e289622000e6c3ffe4ba", "runtime_rerun": false, "authored_translation": "source-derived-structured-summary", "source_facts_revision": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"}, "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": "timestamptz"}, {"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/timestamptz_ops (class)", "locale": "zh-Hans", "source": {"key": "class-btree-timestamptz_ops", "locale": "zh-Hans", "version": "18", "text_hash": "87e3520546ba7f1977d3c279b234366d5a6b2c138bbef7b21cc63b4598c35bee", "collection": "opclass", "dataset_hash": "7c31b524dfe136022d39a6ae8dcfac6b3bbd5f8fdaf422536599981252aff0c9", "source_database": "center", "source_revision": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"}, "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": "timestamptz"}, {"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": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-date/?v=18", "text": "<(date,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-date/?v=18", "text": "<=(date,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-date/?v=18", "text": "=(date,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-date/?v=18", "text": ">=(date,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-date/?v=18", "text": ">(date,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-timestamp/?v=18", "text": "<(date,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamp/?v=18", "text": "<=(date,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-timestamp/?v=18", "text": "=(date,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamp/?v=18", "text": ">=(date,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-timestamp/?v=18", "text": ">(date,timestamp)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-timestamptz/?v=18", "text": "<(date,timestamptz)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamptz/?v=18", "text": "<=(date,timestamptz)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-timestamptz/?v=18", "text": "=(date,timestamptz)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamptz/?v=18", "text": ">=(date,timestamptz)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-timestamptz/?v=18", "text": ">(date,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamp/?v=18", "text": "<(timestamp,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamp/?v=18", "text": "<=(timestamp,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamp/?v=18", "text": "=(timestamp,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamp/?v=18", "text": ">=(timestamp,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamp/?v=18", "text": ">(timestamp,timestamp)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-date/?v=18", "text": "<(timestamp,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-date/?v=18", "text": "<=(timestamp,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-date/?v=18", "text": "=(timestamp,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-date/?v=18", "text": ">=(timestamp,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-date/?v=18", "text": ">(timestamp,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamptz/?v=18", "text": "<(timestamp,timestamptz)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamptz/?v=18", "text": "<=(timestamp,timestamptz)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamptz/?v=18", "text": "=(timestamp,timestamptz)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamptz/?v=18", "text": ">=(timestamp,timestamptz)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamptz/?v=18", "text": ">(timestamp,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamptz/?v=18", "text": "<(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=18", "text": "<=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=18", "text": "=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=18", "text": ">=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=18", "text": ">(timestamptz,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-date/?v=18", "text": "<(timestamptz,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-date/?v=18", "text": "<=(timestamptz,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamptz-date/?v=18", "text": "=(timestamptz,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-date/?v=18", "text": ">=(timestamptz,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamptz-date/?v=18", "text": ">(timestamptz,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamp/?v=18", "text": "<(timestamptz,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-timestamp/?v=18", "text": "<=(timestamptz,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamptz-timestamp/?v=18", "text": "=(timestamptz,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-timestamp/?v=18", "text": ">=(timestamptz,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamptz-timestamp/?v=18", "text": ">(timestamptz,timestamp)"}, "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": "date_cmp(date,date)", "left_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "result_type": "int4"}, {"number": "2", "function": "date_sortsupport(internal)", "left_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "result_type": "bool"}, {"number": "6", "function": "date_skipsupport(internal)", "left_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "result_type": "void"}, {"number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "right_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "result_type": "int4"}, {"number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "right_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "result_type": "bool"}, {"number": "6", "function": "timestamp_skipsupport(internal)", "left_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "result_type": "void"}, {"number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "right_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "result_type": "bool"}, {"number": "6", "function": "timestamp_skipsupport(internal)", "left_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "result_type": "void"}, {"number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "result_type": "int4"}, {"number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "right_type": {"url": "/wiki/type/interval/?v=18", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "right_type": {"url": "/wiki/type/interval/?v=18", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/interval/?v=18", "text": "interval"}, "result_type": "bool"}], "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-date_ops/?v=18", "text": "date_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/date/?v=18", "text": "date"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamptz_ops/?v=18", "text": "timestamptz_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamp_ops/?v=18", "text": "timestamp_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}}], "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/18/indexes-opclass.html", "anchor": "", "locale": "zh-Hans", "version": "18", "build_id": 107, "page_key": "indexes-opclass.html", "extraction": "concept-introduction", "source_hash": "cce6c9b1d4fbb418823aa7be2585facae45f45a5f75c43bd26170c1383c2a4b5", "fragment_sha256": "dad5545190ebde655fce48dfc13cd02d2863166fac7cf0c2b28b059c9e419ae4", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "git:b1b500221dbe5437cfca004d6b04d3f6e422765d;html-sha256:08e987a66af27b98444a8057c256314eafa13611a3fb9e888214fc436824244b", "translated_from_revision": null}, "body_sha256": "efe22853d38b61dcd18a242278ebcffd7489477572c5e289622000e6c3ffe4ba", "runtime_rerun": false, "authored_translation": "source-derived-structured-summary", "source_facts_revision": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"}, "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": "timestamptz_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002", "description_zh_html": "<p>timestamptz_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002</p><dl><dt>\u540d\u79f0</dt><dd><code>timestamptz_ops</code></dd><dt>\u8fd0\u7b97\u7b26\u65cf</dt><dd><code>datetime_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>timestamptz</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;(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</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>date_cmp(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>date_sortsupport(internal)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>bool</code></td></tr><tr><td><code>6</code></td><td><code>date_skipsupport(internal)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>void</code></td></tr><tr><td><code>1</code></td><td><code>date_cmp_timestamp(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>date_cmp_timestamptz(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>timestamp_sortsupport(internal)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>bool</code></td></tr><tr><td><code>6</code></td><td><code>timestamp_skipsupport(internal)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>void</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp_date(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp_timestamptz(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>timestamp_sortsupport(internal)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>bool</code></td></tr><tr><td><code>6</code></td><td><code>timestamp_skipsupport(internal)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>void</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp_date(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp_timestamp(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>3</code></td><td><code>in_range(date,date,interval,bool,bool)</code></td><td><code>date</code></td><td><code>interval</code></td><td><code>bool</code></td></tr><tr><td><code>3</code></td><td><code>in_range(timestamp,timestamp,interval,bool,bool)</code></td><td><code>timestamp</code></td><td><code>interval</code></td><td><code>bool</code></td></tr><tr><td><code>3</code></td><td><code>in_range(timestamptz,timestamptz,interval,bool,bool)</code></td><td><code>timestamptz</code></td><td><code>interval</code></td><td><code>bool</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/18/indexes-opclass.html\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "summary": "timestamptz_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002", "version": "18", "link_map": {"/zh/docs/18/indexes-opclass.html": "/docs/18/indexes-opclass.html"}, "body_html": "<p>timestamptz_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002</p><dl><dt>\u540d\u79f0</dt><dd><code>timestamptz_ops</code></dd><dt>\u8fd0\u7b97\u7b26\u65cf</dt><dd><code>datetime_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>timestamptz</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;(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</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>date_cmp(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>date_sortsupport(internal)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>bool</code></td></tr><tr><td><code>6</code></td><td><code>date_skipsupport(internal)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>void</code></td></tr><tr><td><code>1</code></td><td><code>date_cmp_timestamp(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>date_cmp_timestamptz(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>timestamp_sortsupport(internal)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>bool</code></td></tr><tr><td><code>6</code></td><td><code>timestamp_skipsupport(internal)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>void</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp_date(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp_timestamptz(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>timestamp_sortsupport(internal)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>bool</code></td></tr><tr><td><code>6</code></td><td><code>timestamp_skipsupport(internal)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>void</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp_date(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp_timestamp(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>3</code></td><td><code>in_range(date,date,interval,bool,bool)</code></td><td><code>date</code></td><td><code>interval</code></td><td><code>bool</code></td></tr><tr><td><code>3</code></td><td><code>in_range(timestamp,timestamp,interval,bool,bool)</code></td><td><code>timestamp</code></td><td><code>interval</code></td><td><code>bool</code></td></tr><tr><td><code>3</code></td><td><code>in_range(timestamptz,timestamptz,interval,bool,bool)</code></td><td><code>timestamptz</code></td><td><code>interval</code></td><td><code>bool</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/18/indexes-opclass.html\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>", "body_sha256": "5ddcf11dd6a6d2db57453f71bccfbc709000495987bd3262e21ba5e53357e32f", "content_hash": "87e3520546ba7f1977d3c279b234366d5a6b2c138bbef7b21cc63b4598c35bee", "source_database": "center", "source_revision": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"}, "operators": [{"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,date)", "strategy": "1", "left_type": "date", "right_type": "date", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,date)", "strategy": "2", "left_type": "date", "right_type": "date", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,date)", "strategy": "3", "left_type": "date", "right_type": "date", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,date)", "strategy": "4", "left_type": "date", "right_type": "date", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,date)", "strategy": "5", "left_type": "date", "right_type": "date", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamp)", "strategy": "1", "left_type": "date", "right_type": "timestamp", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamp)", "strategy": "2", "left_type": "date", "right_type": "timestamp", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamp)", "strategy": "3", "left_type": "date", "right_type": "timestamp", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamp)", "strategy": "4", "left_type": "date", "right_type": "timestamp", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamp)", "strategy": "5", "left_type": "date", "right_type": "timestamp", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamptz)", "strategy": "1", "left_type": "date", "right_type": "timestamptz", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamptz)", "strategy": "2", "left_type": "date", "right_type": "timestamptz", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamptz)", "strategy": "3", "left_type": "date", "right_type": "timestamptz", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamptz)", "strategy": "4", "left_type": "date", "right_type": "timestamptz", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamptz)", "strategy": "5", "left_type": "date", "right_type": "timestamptz", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamp)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamp", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamp)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamp", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamp)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamp", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamp)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamp", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamp)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamp", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,date)", "strategy": "1", "left_type": "timestamp", "right_type": "date", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,date)", "strategy": "2", "left_type": "timestamp", "right_type": "date", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,date)", "strategy": "3", "left_type": "timestamp", "right_type": "date", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,date)", "strategy": "4", "left_type": "timestamp", "right_type": "date", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,date)", "strategy": "5", "left_type": "timestamp", "right_type": "date", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamptz)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamptz", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamptz)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamptz", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamptz)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamptz", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamptz)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamptz", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamptz)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamptz", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamptz)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamptz", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamptz)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamptz", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamptz)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamptz", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamptz)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamptz", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamptz)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamptz", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,date)", "strategy": "1", "left_type": "timestamptz", "right_type": "date", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,date)", "strategy": "2", "left_type": "timestamptz", "right_type": "date", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,date)", "strategy": "3", "left_type": "timestamptz", "right_type": "date", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,date)", "strategy": "4", "left_type": "timestamptz", "right_type": "date", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,date)", "strategy": "5", "left_type": "timestamptz", "right_type": "date", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamp)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamp", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamp)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamp", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamp)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamp", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamp)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamp", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamp)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamp", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamptz-timestamp", "sort_family_slug": ""}], "signature": "btree/timestamptz_ops", "tables_zh": [{"key": "operators", "rows": [{"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-date/?v=18", "text": "<(date,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-date/?v=18", "text": "<=(date,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-date/?v=18", "text": "=(date,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-date/?v=18", "text": ">=(date,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-date/?v=18", "text": ">(date,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-timestamp/?v=18", "text": "<(date,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamp/?v=18", "text": "<=(date,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-timestamp/?v=18", "text": "=(date,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamp/?v=18", "text": ">=(date,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-timestamp/?v=18", "text": ">(date,timestamp)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-date-timestamptz/?v=18", "text": "<(date,timestamptz)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamptz/?v=18", "text": "<=(date,timestamptz)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-date-timestamptz/?v=18", "text": "=(date,timestamptz)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamptz/?v=18", "text": ">=(date,timestamptz)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-date-timestamptz/?v=18", "text": ">(date,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamp/?v=18", "text": "<(timestamp,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamp/?v=18", "text": "<=(timestamp,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamp/?v=18", "text": "=(timestamp,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamp/?v=18", "text": ">=(timestamp,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamp/?v=18", "text": ">(timestamp,timestamp)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-date/?v=18", "text": "<(timestamp,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-date/?v=18", "text": "<=(timestamp,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-date/?v=18", "text": "=(timestamp,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-date/?v=18", "text": ">=(timestamp,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-date/?v=18", "text": ">(timestamp,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamptz/?v=18", "text": "<(timestamp,timestamptz)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamptz/?v=18", "text": "<=(timestamp,timestamptz)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamptz/?v=18", "text": "=(timestamp,timestamptz)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamptz/?v=18", "text": ">=(timestamp,timestamptz)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamptz/?v=18", "text": ">(timestamp,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamptz/?v=18", "text": "<(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=18", "text": "<=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=18", "text": "=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=18", "text": ">=(timestamptz,timestamptz)"}, "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-timestamptz-timestamptz/?v=18", "text": ">(timestamptz,timestamptz)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-date/?v=18", "text": "<(timestamptz,date)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-date/?v=18", "text": "<=(timestamptz,date)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamptz-date/?v=18", "text": "=(timestamptz,date)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-date/?v=18", "text": ">=(timestamptz,date)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamptz-date/?v=18", "text": ">(timestamptz,date)"}, "strategy": "5", "description": "\u5927\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamp/?v=18", "text": "<(timestamptz,timestamp)"}, "strategy": "1", "description": "\u5c0f\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-timestamp/?v=18", "text": "<=(timestamptz,timestamp)"}, "strategy": "2", "description": "\u5c0f\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3d-timestamptz-timestamp/?v=18", "text": "=(timestamptz,timestamp)"}, "strategy": "3", "description": "\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-timestamp/?v=18", "text": ">=(timestamptz,timestamp)"}, "strategy": "4", "description": "\u5927\u4e8e\u7b49\u4e8e", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e-timestamptz-timestamp/?v=18", "text": ">(timestamptz,timestamp)"}, "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": "date_cmp(date,date)", "left_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "result_type": "int4"}, {"number": "2", "function": "date_sortsupport(internal)", "left_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "result_type": "bool"}, {"number": "6", "function": "date_skipsupport(internal)", "left_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "result_type": "void"}, {"number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "right_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "result_type": "int4"}, {"number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "right_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "result_type": "bool"}, {"number": "6", "function": "timestamp_skipsupport(internal)", "left_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "result_type": "void"}, {"number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "right_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "result_type": "bool"}, {"number": "6", "function": "timestamp_skipsupport(internal)", "left_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "result_type": "void"}, {"number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "result_type": "int4"}, {"number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "right_type": {"url": "/wiki/type/interval/?v=18", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "right_type": {"url": "/wiki/type/interval/?v=18", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/interval/?v=18", "text": "interval"}, "result_type": "bool"}], "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-date_ops/?v=18", "text": "date_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/date/?v=18", "text": "date"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamptz_ops/?v=18", "text": "timestamptz_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamp_ops/?v=18", "text": "timestamp_ops"}, "default": "\u662f", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}}], "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": "3127", "description": ["timestamptz_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/18/catalog-pg-amop.html", "method": "same-major semantic node", "sha256": "c46185aa5f574dacd289a0b3876023793406b4cf58dee7eeebb86436d0577bdc", "language": "zh", "matched_nodes": ["#CATALOG-PG-AMOP/p[2]/em[1]"]}, {"url": "/docs/18/indexes-opclass.html", "method": "same-major semantic node", "sha256": "d2d3789266054f227a79e8de0e96355c10b20598c2958745751fea464d457f8d", "language": "zh", "matched_nodes": ["#INDEXES-OPCLASS/p[3]", "#INDEXES-OPCLASS/p[5]", "#INDEXES-OPCLASS/p[6]"]}], "language": "zh", "original_text": {"/versions/18/description/0": "B-tree operator class for timestamptz; member of datetime_ops.", "/versions/18/facts/0/label": "Object kind", "/versions/18/facts/0/value": "Operator class", "/versions/18/facts/1/label": "Index AM", "/versions/18/facts/2/label": "Input type", "/versions/18/facts/3/label": "Stored key type", "/versions/18/facts/3/value": "Same as input type (catalog zero)", "/versions/18/facts/4/label": "Default class", "/versions/18/facts/4/value": "yes", "/versions/18/tables/0/title": "Family operator strategies", "/versions/18/tables/1/title": "Family support functions", "/versions/18/tables/2/title": "Classes in this family", "/versions/18/related/0/label": "B-tree Index AM", "/versions/18/related/1/label": "datetime_ops family", "/versions/18/related/2/label": "timestamptz data type", "/versions/18/sections/0/title": "Operator classes and families", "/versions/18/tables/0/rows/0/scope": "Family member", "/versions/18/tables/0/rows/1/scope": "Family member", "/versions/18/tables/0/rows/2/scope": "Family member", "/versions/18/tables/0/rows/3/scope": "Family member", "/versions/18/tables/0/rows/4/scope": "Family member", "/versions/18/tables/0/rows/5/scope": "Family member", "/versions/18/tables/0/rows/6/scope": "Family member", "/versions/18/tables/0/rows/7/scope": "Family member", "/versions/18/tables/0/rows/8/scope": "Family member", "/versions/18/tables/0/rows/9/scope": "Family member", "/versions/18/tables/0/rows/10/scope": "Family member", "/versions/18/tables/0/rows/11/scope": "Family member", "/versions/18/tables/0/rows/12/scope": "Family member", "/versions/18/tables/0/rows/13/scope": "Family member", "/versions/18/tables/0/rows/14/scope": "Family member", "/versions/18/tables/0/rows/15/scope": "Family member", "/versions/18/tables/0/rows/16/scope": "Family member", "/versions/18/tables/0/rows/17/scope": "Family member", "/versions/18/tables/0/rows/18/scope": "Family member", "/versions/18/tables/0/rows/19/scope": "Family member", "/versions/18/tables/0/rows/20/scope": "Family member", "/versions/18/tables/0/rows/21/scope": "Family member", "/versions/18/tables/0/rows/22/scope": "Family member", "/versions/18/tables/0/rows/23/scope": "Family member", "/versions/18/tables/0/rows/24/scope": "Family member", "/versions/18/tables/0/rows/25/scope": "Family member", "/versions/18/tables/0/rows/26/scope": "Family member", "/versions/18/tables/0/rows/27/scope": "Family member", "/versions/18/tables/0/rows/28/scope": "Family member", "/versions/18/tables/0/rows/29/scope": "Family member", "/versions/18/tables/0/rows/30/scope": "Class input pair", "/versions/18/tables/0/rows/31/scope": "Class input pair", "/versions/18/tables/0/rows/32/scope": "Class input pair", "/versions/18/tables/0/rows/33/scope": "Class input pair", "/versions/18/tables/0/rows/34/scope": "Class input pair", "/versions/18/tables/0/rows/35/scope": "Family member", "/versions/18/tables/0/rows/36/scope": "Family member", "/versions/18/tables/0/rows/37/scope": "Family member", "/versions/18/tables/0/rows/38/scope": "Family member", "/versions/18/tables/0/rows/39/scope": "Family member", "/versions/18/tables/0/rows/40/scope": "Family member", "/versions/18/tables/0/rows/41/scope": "Family member", "/versions/18/tables/0/rows/42/scope": "Family member", "/versions/18/tables/0/rows/43/scope": "Family member", "/versions/18/tables/0/rows/44/scope": "Family member", "/versions/18/sections/0/paragraphs/0": "An index definition can specify an operator class for each column of an index.", "/versions/18/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/18/sections/0/paragraphs/2": "There are also some built-in operator classes besides the default ones:", "/versions/18/tables/0/rows/0/purpose": "search", "/versions/18/tables/0/rows/1/purpose": "search", "/versions/18/tables/0/rows/2/purpose": "search", "/versions/18/tables/0/rows/3/purpose": "search", "/versions/18/tables/0/rows/4/purpose": "search", "/versions/18/tables/0/rows/5/purpose": "search", "/versions/18/tables/0/rows/6/purpose": "search", "/versions/18/tables/0/rows/7/purpose": "search", "/versions/18/tables/0/rows/8/purpose": "search", "/versions/18/tables/0/rows/9/purpose": "search", "/versions/18/tables/2/rows/0/default": "yes", "/versions/18/tables/2/rows/1/default": "yes", "/versions/18/tables/2/rows/2/default": "yes", "/versions/18/tables/0/columns/0/label": "Operator overload", "/versions/18/tables/0/columns/1/label": "Strategy", "/versions/18/tables/0/columns/2/label": "Purpose", "/versions/18/tables/0/columns/3/label": "Ordering family", "/versions/18/tables/0/columns/4/label": "Membership scope", "/versions/18/tables/0/columns/5/label": "Source description", "/versions/18/tables/0/rows/10/purpose": "search", "/versions/18/tables/0/rows/11/purpose": "search", "/versions/18/tables/0/rows/12/purpose": "search", "/versions/18/tables/0/rows/13/purpose": "search", "/versions/18/tables/0/rows/14/purpose": "search", "/versions/18/tables/0/rows/15/purpose": "search", "/versions/18/tables/0/rows/16/purpose": "search", "/versions/18/tables/0/rows/17/purpose": "search", "/versions/18/tables/0/rows/18/purpose": "search", "/versions/18/tables/0/rows/19/purpose": "search", "/versions/18/tables/0/rows/20/purpose": "search", "/versions/18/tables/0/rows/21/purpose": "search", "/versions/18/tables/0/rows/22/purpose": "search", "/versions/18/tables/0/rows/23/purpose": "search", "/versions/18/tables/0/rows/24/purpose": "search", "/versions/18/tables/0/rows/25/purpose": "search", "/versions/18/tables/0/rows/26/purpose": "search", "/versions/18/tables/0/rows/27/purpose": "search", "/versions/18/tables/0/rows/28/purpose": "search", "/versions/18/tables/0/rows/29/purpose": "search", "/versions/18/tables/0/rows/30/purpose": "search", "/versions/18/tables/0/rows/31/purpose": "search", "/versions/18/tables/0/rows/32/purpose": "search", "/versions/18/tables/0/rows/33/purpose": "search", "/versions/18/tables/0/rows/34/purpose": "search", "/versions/18/tables/0/rows/35/purpose": "search", "/versions/18/tables/0/rows/36/purpose": "search", "/versions/18/tables/0/rows/37/purpose": "search", "/versions/18/tables/0/rows/38/purpose": "search", "/versions/18/tables/0/rows/39/purpose": "search", "/versions/18/tables/0/rows/40/purpose": "search", "/versions/18/tables/0/rows/41/purpose": "search", "/versions/18/tables/0/rows/42/purpose": "search", "/versions/18/tables/0/rows/43/purpose": "search", "/versions/18/tables/0/rows/44/purpose": "search", "/versions/18/tables/1/columns/0/label": "Support number", "/versions/18/tables/1/columns/1/label": "Left type", "/versions/18/tables/1/columns/2/label": "Right type", "/versions/18/tables/1/columns/3/label": "Function signature", "/versions/18/tables/1/columns/4/label": "Result type", "/versions/18/tables/2/columns/0/label": "Class", "/versions/18/tables/2/columns/1/label": "Input type", "/versions/18/tables/2/columns/2/label": "Key type", "/versions/18/tables/2/columns/3/label": "Default", "/versions/18/tables/2/rows/0/key_type": "Same as input type", "/versions/18/tables/2/rows/1/key_type": "Same as input type", "/versions/18/tables/2/rows/2/key_type": "Same as input type", "/versions/18/tables/0/rows/0/description": "less than", "/versions/18/tables/0/rows/1/description": "less than or equal", "/versions/18/tables/0/rows/2/description": "equal", "/versions/18/tables/0/rows/3/description": "greater than or equal", "/versions/18/tables/0/rows/4/description": "greater than", "/versions/18/tables/0/rows/5/description": "less than", "/versions/18/tables/0/rows/6/description": "less than or equal", "/versions/18/tables/0/rows/7/description": "equal", "/versions/18/tables/0/rows/8/description": "greater than or equal", "/versions/18/tables/0/rows/9/description": "greater than", "/versions/18/tables/0/rows/10/description": "less than", "/versions/18/tables/0/rows/11/description": "less than or equal", "/versions/18/tables/0/rows/12/description": "equal", "/versions/18/tables/0/rows/13/description": "greater than or equal", "/versions/18/tables/0/rows/14/description": "greater than", "/versions/18/tables/0/rows/15/description": "less than", "/versions/18/tables/0/rows/16/description": "less than or equal", "/versions/18/tables/0/rows/17/description": "equal", "/versions/18/tables/0/rows/18/description": "greater than or equal", "/versions/18/tables/0/rows/19/description": "greater than", "/versions/18/tables/0/rows/20/description": "less than", "/versions/18/tables/0/rows/21/description": "less than or equal", "/versions/18/tables/0/rows/22/description": "equal", "/versions/18/tables/0/rows/23/description": "greater than or equal", "/versions/18/tables/0/rows/24/description": "greater than", "/versions/18/tables/0/rows/25/description": "less than", "/versions/18/tables/0/rows/26/description": "less than or equal", "/versions/18/tables/0/rows/27/description": "equal", "/versions/18/tables/0/rows/28/description": "greater than or equal", "/versions/18/tables/0/rows/29/description": "greater than", "/versions/18/tables/0/rows/30/description": "less than", "/versions/18/tables/0/rows/31/description": "less than or equal", "/versions/18/tables/0/rows/32/description": "equal", "/versions/18/tables/0/rows/33/description": "greater than or equal", "/versions/18/tables/0/rows/34/description": "greater than", "/versions/18/tables/0/rows/35/description": "less than", "/versions/18/tables/0/rows/36/description": "less than or equal", "/versions/18/tables/0/rows/37/description": "equal", "/versions/18/tables/0/rows/38/description": "greater than or equal", "/versions/18/tables/0/rows/39/description": "greater than", "/versions/18/tables/0/rows/40/description": "less than", "/versions/18/tables/0/rows/41/description": "less than or equal", "/versions/18/tables/0/rows/42/description": "equal", "/versions/18/tables/0/rows/43/description": "greater than or equal", "/versions/18/tables/0/rows/44/description": "greater than"}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "5d450d449a9e2bf386b302a5938d544dea225824050d80bd67f92f4b2cdc48cd", "canonical_center_text_hash": "87e3520546ba7f1977d3c279b234366d5a6b2c138bbef7b21cc63b4598c35bee"}, "description_zh": "timestamptz_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002", "comparison_data": {"kind": "class", "classes": [{"name": "date_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "date"}, {"name": "timestamp_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamp"}, {"name": "timestamptz_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamptz"}], "operators": [{"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,date)", "strategy": "1", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,date)", "strategy": "2", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,date)", "strategy": "3", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,date)", "strategy": "4", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,date)", "strategy": "5", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamp)", "strategy": "1", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamp)", "strategy": "2", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamp)", "strategy": "3", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamp)", "strategy": "4", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamp)", "strategy": "5", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamptz)", "strategy": "1", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamptz)", "strategy": "2", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamptz)", "strategy": "3", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamptz)", "strategy": "4", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamptz)", "strategy": "5", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,date)", "strategy": "1", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,date)", "strategy": "2", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,date)", "strategy": "3", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,date)", "strategy": "4", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,date)", "strategy": "5", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamp)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamp)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamp)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamp)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamp)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamptz)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamptz)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamptz)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamptz)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamptz)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,date)", "strategy": "1", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,date)", "strategy": "2", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,date)", "strategy": "3", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,date)", "strategy": "4", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,date)", "strategy": "5", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamp)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamp)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamp)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamp)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamp)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamptz)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamptz)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamptz)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamptz)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamptz)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}], "attributes": {"name": "timestamptz_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamptz"}, "support_functions": [{"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp(date,date)", "left_type": "date", "right_type": "date", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": "date", "right_type": "timestamp", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": "date", "right_type": "timestamptz", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": "timestamp", "right_type": "date", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": "timestamp", "right_type": "timestamp", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": "timestamp", "right_type": "timestamptz", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": "timestamptz", "right_type": "date", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": "timestamptz", "right_type": "timestamp", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": "timestamptz", "right_type": "timestamptz", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "date_sortsupport(internal)", "left_type": "date", "right_type": "date", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamp", "right_type": "timestamp", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamptz", "right_type": "timestamptz", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": "date", "right_type": "interval", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": "timestamp", "right_type": "interval", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": "timestamptz", "right_type": "interval", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "date", "right_type": "date", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "timestamp", "right_type": "timestamp", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "timestamptz", "right_type": "timestamptz", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "6", "function": "date_skipsupport(internal)", "left_type": "date", "right_type": "date", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "6", "function": "timestamp_skipsupport(internal)", "left_type": "timestamp", "right_type": "timestamp", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "6", "function": "timestamp_skipsupport(internal)", "left_type": "timestamptz", "right_type": "timestamptz", "result_type": "void"}]}, "comparison_hash": "bc50dd875677552f5a6f2d56264033b3806cac4ed792a40bd892c15fc2ca8dc2", "manual_language": "zh", "support_functions": [{"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp(date,date)", "left_type": "date", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "date_sortsupport(internal)", "left_type": "date", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "date", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "6", "function": "date_skipsupport(internal)", "left_type": "date", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": "date", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": "date", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": "timestamp", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamp", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "timestamp", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "6", "function": "timestamp_skipsupport(internal)", "left_type": "timestamp", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": "timestamp", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": "timestamp", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": "timestamptz", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamptz", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "timestamptz", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "6", "function": "timestamp_skipsupport(internal)", "left_type": "timestamptz", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": "timestamptz", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": "timestamptz", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": "date", "right_type": "interval", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": "timestamp", "right_type": "interval", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": "timestamptz", "right_type": "interval", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}], "description_zh_html": "<p>timestamptz_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002</p><dl><dt>\u540d\u79f0</dt><dd><code>timestamptz_ops</code></dd><dt>\u8fd0\u7b97\u7b26\u65cf</dt><dd><code>datetime_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>timestamptz</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;(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</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>date_cmp(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>date_sortsupport(internal)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>bool</code></td></tr><tr><td><code>6</code></td><td><code>date_skipsupport(internal)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>void</code></td></tr><tr><td><code>1</code></td><td><code>date_cmp_timestamp(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>date_cmp_timestamptz(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>timestamp_sortsupport(internal)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>bool</code></td></tr><tr><td><code>6</code></td><td><code>timestamp_skipsupport(internal)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>void</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp_date(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp_timestamptz(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>timestamp_sortsupport(internal)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>bool</code></td></tr><tr><td><code>6</code></td><td><code>timestamp_skipsupport(internal)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>void</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp_date(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp_timestamp(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>3</code></td><td><code>in_range(date,date,interval,bool,bool)</code></td><td><code>date</code></td><td><code>interval</code></td><td><code>bool</code></td></tr><tr><td><code>3</code></td><td><code>in_range(timestamp,timestamp,interval,bool,bool)</code></td><td><code>timestamp</code></td><td><code>interval</code></td><td><code>bool</code></td></tr><tr><td><code>3</code></td><td><code>in_range(timestamptz,timestamptz,interval,bool,bool)</code></td><td><code>timestamptz</code></td><td><code>interval</code></td><td><code>bool</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/18/indexes-opclass.html\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>", "center_zh_rendered": "<p>timestamptz_ops \u662f btree \u7684\u8fd0\u7b97\u7b26\u7c7b\u3002</p><dl><dt>\u540d\u79f0</dt><dd><code>timestamptz_ops</code></dd><dt>\u8fd0\u7b97\u7b26\u65cf</dt><dd><code>datetime_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>timestamptz</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;(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code></code></td></tr><tr><td><code>1</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>2</code></td><td><code>\u641c\u7d22</code></td><td><code>&lt;=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>3</code></td><td><code>\u641c\u7d22</code></td><td><code>=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>4</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;=(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code></code></td></tr><tr><td><code>5</code></td><td><code>\u641c\u7d22</code></td><td><code>&gt;(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</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>date_cmp(date,date)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>date_sortsupport(internal)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>bool</code></td></tr><tr><td><code>6</code></td><td><code>date_skipsupport(internal)</code></td><td><code>date</code></td><td><code>date</code></td><td><code>void</code></td></tr><tr><td><code>1</code></td><td><code>date_cmp_timestamp(date,timestamp)</code></td><td><code>date</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>date_cmp_timestamptz(date,timestamptz)</code></td><td><code>date</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp(timestamp,timestamp)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>timestamp_sortsupport(internal)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>bool</code></td></tr><tr><td><code>6</code></td><td><code>timestamp_skipsupport(internal)</code></td><td><code>timestamp</code></td><td><code>timestamp</code></td><td><code>void</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp_date(timestamp,date)</code></td><td><code>timestamp</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamp_cmp_timestamptz(timestamp,timestamptz)</code></td><td><code>timestamp</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp(timestamptz,timestamptz)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>int4</code></td></tr><tr><td><code>2</code></td><td><code>timestamp_sortsupport(internal)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>void</code></td></tr><tr><td><code>4</code></td><td><code>btequalimage(oid)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>bool</code></td></tr><tr><td><code>6</code></td><td><code>timestamp_skipsupport(internal)</code></td><td><code>timestamptz</code></td><td><code>timestamptz</code></td><td><code>void</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp_date(timestamptz,date)</code></td><td><code>timestamptz</code></td><td><code>date</code></td><td><code>int4</code></td></tr><tr><td><code>1</code></td><td><code>timestamptz_cmp_timestamp(timestamptz,timestamp)</code></td><td><code>timestamptz</code></td><td><code>timestamp</code></td><td><code>int4</code></td></tr><tr><td><code>3</code></td><td><code>in_range(date,date,interval,bool,bool)</code></td><td><code>date</code></td><td><code>interval</code></td><td><code>bool</code></td></tr><tr><td><code>3</code></td><td><code>in_range(timestamp,timestamp,interval,bool,bool)</code></td><td><code>timestamp</code></td><td><code>interval</code></td><td><code>bool</code></td></tr><tr><td><code>3</code></td><td><code>in_range(timestamptz,timestamptz,interval,bool,bool)</code></td><td><code>timestamptz</code></td><td><code>interval</code></td><td><code>bool</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=\"/docs/18/indexes-opclass.html\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "comparison": {"left": "17", "right": "18", "status": "changed", "diff": "--- PostgreSQL 17\n+++ PostgreSQL 18\n@@ -648,6 +648,33 @@\n       \"number\": \"4\",\n       \"result_type\": \"bool\",\n       \"right_type\": \"timestamptz\"\n+    },\n+    {\n+      \"family\": \"datetime_ops\",\n+      \"function\": \"date_skipsupport(internal)\",\n+      \"left_type\": \"date\",\n+      \"method\": \"btree\",\n+      \"number\": \"6\",\n+      \"result_type\": \"void\",\n+      \"right_type\": \"date\"\n+    },\n+    {\n+      \"family\": \"datetime_ops\",\n+      \"function\": \"timestamp_skipsupport(internal)\",\n+      \"left_type\": \"timestamp\",\n+      \"method\": \"btree\",\n+      \"number\": \"6\",\n+      \"result_type\": \"void\",\n+      \"right_type\": \"timestamp\"\n+    },\n+    {\n+      \"family\": \"datetime_ops\",\n+      \"function\": \"timestamp_skipsupport(internal)\",\n+      \"left_type\": \"timestamptz\",\n+      \"method\": \"btree\",\n+      \"number\": \"6\",\n+      \"result_type\": \"void\",\n+      \"right_type\": \"timestamptz\"\n     }\n   ]\n }"}}