{"kind": "operator", "major": "18", "item": {"slug": "op-3c2d3e-box-line", "name": "<->(box,line)", "name_zh": "", "category": "\u51e0\u4f55", "summary": "\u6240\u9009\u7248\u672c\u672a\u6536\u5f55\u6b64\u6761\u76ee\u3002", "aliases": ["<->", "<->(box,line)"], "content_hash": "f9d927172ba499910b4d93accdd82869d63f13e9b0bb3d88d82e24b879e3026f", "versions": {"13": {"facts": [{"label": "\u5de6\u64cd\u4f5c\u6570", "value": "box"}, {"label": "\u53f3\u64cd\u4f5c\u6570", "value": "line"}, {"label": "\u8fd4\u56de\u7c7b\u578b", "value": "float8"}, {"label": "\u5b9e\u73b0\u51fd\u6570", "value": "dist_bl(box,line)"}, {"label": "\u64cd\u4f5c\u7b26\u79cd\u7c7b", "value": "Binary"}, {"label": "\u53ef\u7528\u4e8e\u54c8\u5e0c\u8fde\u63a5", "value": "\u5426"}, {"label": "\u53ef\u7528\u4e8e\u5f52\u5e76\u8fde\u63a5", "value": "\u5426"}], "tables": [], "aliases": ["<->", "<->(box,line)"], "related": [{"url": "/wiki/type/box/?v=13", "label": "box \u6570\u636e\u7c7b\u578b"}, {"url": "/wiki/type/line/?v=13", "label": "line \u6570\u636e\u7c7b\u578b"}, {"url": "/wiki/type/float8/?v=13", "label": "float8 \u6570\u636e\u7c7b\u578b"}, {"url": "/wiki/operator/op-3c2d3e-line-box/?v=13", "label": "\u4ea4\u6362\u64cd\u4f5c\u7b26\uff1a<->(line,box)"}], "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": "https://pg.center/docs/13/catalog-pg-operator.html", "path": "catalog-pg-operator.html", "label": "PostgreSQL 13 English manual: catalog-pg-operator.html", "sha256": "1a325d2fa41f711c0a7fa6b57e37e8e98a59f218e01112e0767c455c1b5818a1", "language": "en", "original_url": "/docs/13/catalog-pg-operator.html"}, {"url": "https://pg.center/docs/13/catalog-pg-amop.html", "path": "catalog-pg-amop.html", "label": "PostgreSQL 13 English manual: catalog-pg-amop.html", "sha256": "7a8e67f8dc59c305612c6d029fc8760c092f27203d5338c6db6c6d9b8aabc561", "language": "en", "original_url": "/docs/13/catalog-pg-amop.html"}], "operator": {"kind": "b", "symbol": "<->", "negator": "", "function": "dist_bl(box,line)", "hash_join": "f", "left_type": "box", "commutator": "<->(line,box)", "merge_join": "f", "right_type": "line", "result_type": "float8"}, "sections": [{"title": "\u76ee\u5f55\u8bb0\u5f55\u89e3\u8bfb", "paragraphs": ["\u76ee\u5f55 pg_operator \u5b58\u50a8\u5173\u4e8e\u64cd\u4f5c\u7b26\u7684\u4fe1\u606f\u3002\u8be6\u89c1 CREATE OPERATOR \u548c \u7b2c 37.14 \u8282 \u3002", "\u672a\u4f7f\u7528\u7684\u5217\u5305\u542b\u96f6\u3002\u4f8b\u5982\uff0c\u524d\u7f00\u64cd\u4f5c\u7b26\u7684 oprleft \u4e3a\u96f6\u3002"]}], "signature": "<->(box,line) \u2192 float8", "source_oid": "1382", "description": ["\u4e24\u8005\u4e4b\u95f4\u7684\u8ddd\u79bb"], "memberships": [], "localization": {"status": "complete", "sources": [{"url": "/docs/13/catalog-pg-operator.html", "method": "same-major semantic node", "sha256": "46fd38944eeaedaf5977bf7e555facfc61d03f97bee7df978680e2d60921724e", "language": "zh", "matched_nodes": ["#CATALOG-PG-OPERATOR/p[2]", "#CATALOG-PG-OPERATOR/p[5]"]}], "language": "zh", "original_text": {"/versions/13/description/0": "distance between", "/versions/13/facts/0/label": "Left operand", "/versions/13/facts/1/label": "Right operand", "/versions/13/facts/2/label": "Result type", "/versions/13/facts/3/label": "Implementing function", "/versions/13/facts/4/label": "Operator kind", "/versions/13/facts/5/label": "Hash join candidate", "/versions/13/facts/5/value": "no", "/versions/13/facts/6/label": "Merge join candidate", "/versions/13/facts/6/value": "no", "/versions/13/related/0/label": "box data type", "/versions/13/related/1/label": "line data type", "/versions/13/related/2/label": "float8 data type", "/versions/13/related/3/label": "Commutator: <->(line,box)", "/versions/13/sections/0/title": "Catalog interpretation", "/versions/13/sections/0/paragraphs/0": "The catalog pg_operator stores information about operators. See CREATE OPERATOR and Section 37.14 for more information.", "/versions/13/sections/0/paragraphs/1": "Unused columns contain zeroes. For example, oprleft is zero for a prefix operator."}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "f96c9a52053c87a462ff21fcdb224ef58d006ffba0ef3ca1daf782fec5450a44"}, "comparison_data": {"operator": {"kind": "b", "symbol": "<->", "negator": "", "function": "dist_bl(box,line)", "hash_join": "f", "left_type": "box", "commutator": "<->(line,box)", "merge_join": "f", "right_type": "line", "result_type": "float8"}, "memberships": []}, "comparison_hash": "5835a22955741ab6f6a027084186d8d8a0304b3c25b786e4b1bac03b22de0c8b", "manual_semantics": "Source catalog description; no additional matching manual operator definition claimed"}, "14": {"facts": [{"label": "\u5de6\u64cd\u4f5c\u6570", "value": "box"}, {"label": "\u53f3\u64cd\u4f5c\u6570", "value": "line"}, {"label": "\u8fd4\u56de\u7c7b\u578b", "value": "float8"}, {"label": "\u5b9e\u73b0\u51fd\u6570", "value": "dist_bl(box,line)"}, {"label": "\u64cd\u4f5c\u7b26\u79cd\u7c7b", "value": "Binary"}, {"label": "\u53ef\u7528\u4e8e\u54c8\u5e0c\u8fde\u63a5", "value": "\u5426"}, {"label": "\u53ef\u7528\u4e8e\u5f52\u5e76\u8fde\u63a5", "value": "\u5426"}], "tables": [], "aliases": ["<->", "<->(box,line)"], "related": [{"url": "/wiki/type/box/?v=14", "label": "box \u6570\u636e\u7c7b\u578b"}, {"url": "/wiki/type/line/?v=14", "label": "line \u6570\u636e\u7c7b\u578b"}, {"url": "/wiki/type/float8/?v=14", "label": "float8 \u6570\u636e\u7c7b\u578b"}, {"url": "/wiki/operator/op-3c2d3e-line-box/?v=14", "label": "\u4ea4\u6362\u64cd\u4f5c\u7b26\uff1a<->(line,box)"}], "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": "https://pg.center/docs/14/catalog-pg-operator.html", "path": "catalog-pg-operator.html", "label": "PostgreSQL 14 English manual: catalog-pg-operator.html", "sha256": "5e69fa82a7f0b49efb4ba5fc669e5bd35aeeede75682493bfc87e6035b23dd4d", "language": "en", "original_url": "/docs/14/catalog-pg-operator.html"}, {"url": "https://pg.center/docs/14/catalog-pg-amop.html", "path": "catalog-pg-amop.html", "label": "PostgreSQL 14 English manual: catalog-pg-amop.html", "sha256": "402b87d7fb1a313b096ba5349a676ae38d507e2eb98739d6ed7f0681e0b9a9a4", "language": "en", "original_url": "/docs/14/catalog-pg-amop.html"}], "operator": {"kind": "b", "symbol": "<->", "negator": "", "function": "dist_bl(box,line)", "hash_join": "f", "left_type": "box", "commutator": "<->(line,box)", "merge_join": "f", "right_type": "line", "result_type": "float8"}, "sections": [{"title": "\u76ee\u5f55\u8bb0\u5f55\u89e3\u8bfb", "paragraphs": ["\u76ee\u5f55 pg_operator \u5b58\u50a8\u5173\u4e8e\u64cd\u4f5c\u7b26\u7684\u4fe1\u606f\u3002\u8be6\u89c1 CREATE OPERATOR \u548c \u7b2c 38.14 \u8282 \u3002"]}], "signature": "<->(box,line) \u2192 float8", "source_oid": "1382", "description": ["\u4e24\u8005\u4e4b\u95f4\u7684\u8ddd\u79bb"], "memberships": [], "localization": {"status": "complete", "sources": [{"url": "/docs/14/catalog-pg-operator.html", "method": "same-major semantic node", "sha256": "77531e62ed30180fca3990f31ecee43d1a140f3a459c18583e5158aa4b41435a", "language": "zh", "matched_nodes": ["#CATALOG-PG-OPERATOR/p[2]"]}], "language": "zh", "original_text": {"/summary": "distance between", "/category": "Geometric", "/versions/14/description/0": "distance between", "/versions/14/facts/0/label": "Left operand", "/versions/14/facts/1/label": "Right operand", "/versions/14/facts/2/label": "Result type", "/versions/14/facts/3/label": "Implementing function", "/versions/14/facts/4/label": "Operator kind", "/versions/14/facts/5/label": "Hash join candidate", "/versions/14/facts/5/value": "no", "/versions/14/facts/6/label": "Merge join candidate", "/versions/14/facts/6/value": "no", "/versions/14/related/0/label": "box data type", "/versions/14/related/1/label": "line data type", "/versions/14/related/2/label": "float8 data type", "/versions/14/related/3/label": "Commutator: <->(line,box)", "/versions/14/sections/0/title": "Catalog interpretation", "/versions/14/sections/0/paragraphs/0": "The catalog pg_operator stores information about operators. See CREATE OPERATOR and Section 38.14 for more information."}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "f368cacd1502fe3fdd2e7b590bb1ac6cd1d918e6ef7dfdfa1a79a41d4614b1b0"}, "comparison_data": {"operator": {"kind": "b", "symbol": "<->", "negator": "", "function": "dist_bl(box,line)", "hash_join": "f", "left_type": "box", "commutator": "<->(line,box)", "merge_join": "f", "right_type": "line", "result_type": "float8"}, "memberships": []}, "comparison_hash": "5835a22955741ab6f6a027084186d8d8a0304b3c25b786e4b1bac03b22de0c8b", "manual_semantics": "Source catalog description; no additional matching manual operator definition claimed"}}}, "snapshot": null, "comparison": {"left": "12", "right": "13", "status": "added", "diff": "--- PostgreSQL 12\n+++ PostgreSQL 13\n@@ -1 +1,15 @@\n-\u8be5\u7248\u672a\u6536\u5f55\n+{\n+  \"memberships\": [],\n+  \"operator\": {\n+    \"commutator\": \"<->(line,box)\",\n+    \"function\": \"dist_bl(box,line)\",\n+    \"hash_join\": \"f\",\n+    \"kind\": \"b\",\n+    \"left_type\": \"box\",\n+    \"merge_join\": \"f\",\n+    \"negator\": \"\",\n+    \"result_type\": \"float8\",\n+    \"right_type\": \"line\",\n+    \"symbol\": \"<->\"\n+  }\n+}"}}