{"kind": "protocol", "major": "18", "item": {"slug": "copyinresponse-b", "name": "CopyInResponse", "name_zh": "", "category": "\u540e\u7aef\u6d88\u606f", "summary": "Byte1('G') \u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002 Int32 \u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002 Int8 0 \u8868\u793a\u6574\u4f53 COPY \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 COPY \u3002 Int16 \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 N \u8868\u793a\uff09\u3002 Int16[ N ] \u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002", "aliases": ["CopyInResponse", "Byte1('G')"], "content_hash": "627ccaa51699ff9b1a387edab1543c9937437c0cba348d4cc23967002a9e3fb5", "versions": {"10": {"facts": [{"label": "\u65b9\u5411", "value": "\u540e\u7aef \u2192 \u524d\u7aef"}, {"label": "\u9996\u4e2a\u7ebf\u4e0a\u534f\u8bae\u5b57\u6bb5", "value": "Byte1('G')"}, {"label": "\u5b57\u6bb5\u6761\u76ee", "value": "5"}, {"label": "\u624b\u518c\u4e2d\u7684\u4ea4\u4e92\u9636\u6bb5", "value": "\u7b80\u5355\u67e5\u8be2\uff1bCOPY \u64cd\u4f5c"}], "fields": [{"format": "Byte1('G')", "description": "Identifies the message as a Start Copy In response. The frontend must now send copy-in data (if not prepared to do so, send a CopyFail message)."}, {"format": "Int32", "description": "Length of message contents in bytes, including self."}, {"format": "Int8", "description": "0 indicates the overall COPY format is textual (rows separated by newlines, columns separated by separator characters, etc). 1 indicates the overall copy format is binary (similar to DataRow format). See COPY for more information."}, {"format": "Int16", "description": "The number of columns in the data to be copied (denoted N below)."}, {"format": "Int16[ N ]", "description": "The format codes to be used for each column. Each must presently be zero (text) or one (binary). All must be zero if the overall copy format is textual."}], "tables": [{"key": "fields", "rows": [{"c0": "1", "c1": "Byte1('G')", "c2": "\u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002"}, {"c0": "2", "c1": "Int32", "c2": "\u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002"}, {"c0": "3", "c1": "Int8", "c2": "0 \u8868\u793a COPY \u7684\u6574\u4f53\u683c\u5f0f\u4e3a\u6587\u672c\uff08\u7528\u6362\u884c\u7b26\u5206\u9694\u884c\u3001\u7528\u5206\u9694\u5b57\u7b26\u5206\u9694\u5217\u7b49\uff09\uff1b1 \u8868\u793a\u6574\u4f53\u683c\u5f0f\u4e3a\u4e8c\u8fdb\u5236\uff08\u7c7b\u4f3c DataRow \u683c\u5f0f\uff09\u3002\u8be6\u60c5\u53c2\u89c1 COPY\u3002"}, {"c0": "4", "c1": "Int16", "c2": "\u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 N \u8868\u793a\uff09\u3002"}, {"c0": "5", "c1": "Int16[ N ]", "c2": "\u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002"}], "title": "\u6309\u624b\u518c\u987a\u5e8f\u6392\u5217\u7684\u7ebf\u4e0a\u534f\u8bae\u5b57\u6bb5", "columns": [{"key": "c0", "label": "\u4f4d\u7f6e"}, {"key": "c1", "label": "\u683c\u5f0f"}, {"key": "c2", "label": "\u542b\u4e49"}]}], "related": [{"url": "/docs/10/protocol-flow.html", "label": "\u534f\u8bae\u6d41\u7a0b\u4e0e\u4ea4\u4e92\u793a\u4f8b"}, {"url": "/docs/10/protocol-overview.html", "label": "\u534f\u8bae\u6982\u8ff0"}, {"url": "/docs/10/protocol-flow.html#id-1.10.5.7.4", "label": "\u7b80\u5355\u67e5\u8be2"}, {"url": "/docs/10/protocol-flow.html#PROTOCOL-COPY", "label": "COPY \u64cd\u4f5c"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v10.23/postgresql-10.23.tar.bz2", "label": "10.23", "major": "10", "channel": "stable", "revision": "94a4b2528372458e5662c18d406629266667c437198160a18cdfd2c4a4d6eee9"}, "sources": [{"url": "/docs/10/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS", "path": "protocol-message-formats.html", "label": "PostgreSQL 10 English manual", "sha256": "b730a205dfc348a67edbc1e9687f2c2df69005fe30c062ef76e37b474538e4f8"}], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-identity", "manual": {"url": "/zh/docs/10/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS", "anchor": "PROTOCOL-MESSAGE-FORMATS", "locale": "zh-Hans", "version": "10", "build_id": 63, "page_key": "protocol-message-formats.html", "extraction": "exact-definition", "source_hash": "e8128c15b60fa3298facda053424e38e11bcd21152f2d35599f1f5894d9dd8db", "fragment_sha256": "226db9664578dfbf1f9f4488035fb63f75b1cb578f5b03e5518b3ff7df2624bb", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "snapshot:sha256:62997ea80516ad012fbf6359de33f3b016b54c47e2df76e75606116b4baaf8e5", "translated_from_revision": null}, "body_sha256": "6608c63c7648ffa1d448469aa8867164754d53e22bf4ccccf7763aa6171f714d", "runtime_rerun": false, "authored_translation": "source-derived-identity", "source_facts_revision": "94a4b2528372458e5662c18d406629266667c437198160a18cdfd2c4a4d6eee9"}, "facts_zh": [{"label": "\u65b9\u5411", "value": "\u540e\u7aef \u2192 \u524d\u7aef"}, {"label": "\u9996\u4e2a\u7ebf\u4e0a\u534f\u8bae\u5b57\u6bb5", "value": "Byte1('G')"}, {"label": "\u5b57\u6bb5\u6761\u76ee", "value": "5"}, {"label": "\u624b\u518c\u4e2d\u7684\u4ea4\u4e92\u9636\u6bb5", "value": "\u7b80\u5355\u67e5\u8be2\uff1bCOPY \u64cd\u4f5c"}], "sections": [{"title": "\u6d88\u606f\u8fb9\u754c\u4e0e\u91cd\u590d\u5b57\u6bb5", "paragraphs": ["\u4e0b\u65b9\u5b8c\u6574\u5b9a\u4e49\u4fdd\u7559\u91cd\u590d\u9879\u3001\u8ba1\u6570\u4e0e\u6761\u4ef6\u5b57\u6bb5\u3002\u8868\u683c\u884c\u53f7\u8868\u793a\u6587\u6863\u4e2d\u7684\u5b57\u6bb5\u5b9a\u4e49\uff0c\u5e76\u975e\u56fa\u5b9a\u5b57\u8282\u504f\u79fb\u91cf\u3002\u6574\u6570\u7f16\u7801\u4e0e\u4ea4\u4e92\u6d41\u7a0b\u4ee5\u540c\u7248\u672c\u534f\u8bae\u7ae0\u8282\u4e3a\u51c6\u3002"]}], "center_zh": {"title": "CopyInResponse", "locale": "zh-Hans", "source": {"key": "copyinresponse-b", "locale": "zh-Hans", "version": "10", "text_hash": "3e87dd643b6578b812ee64863e7cb9d07f7d03b4a838947e7a40145413c0d9a2", "collection": "protocol", "dataset_hash": "7c31b524dfe136022d39a6ae8dcfac6b3bbd5f8fdaf422536599981252aff0c9", "source_database": "center", "source_revision": "94a4b2528372458e5662c18d406629266667c437198160a18cdfd2c4a4d6eee9"}, "payload": {"facts": [{"label": "\u65b9\u5411", "value": "\u540e\u7aef \u2192 \u524d\u7aef"}, {"label": "\u9996\u4e2a\u7ebf\u4e0a\u534f\u8bae\u5b57\u6bb5", "value": "Byte1('G')"}, {"label": "\u5b57\u6bb5\u6761\u76ee", "value": "5"}, {"label": "\u624b\u518c\u4e2d\u7684\u4ea4\u4e92\u9636\u6bb5", "value": "\u7b80\u5355\u67e5\u8be2\uff1bCOPY \u64cd\u4f5c"}], "tables": [{"key": "fields", "rows": [{"c0": "1", "c1": "Byte1('G')", "c2": "\u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002"}, {"c0": "2", "c1": "Int32", "c2": "\u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002"}, {"c0": "3", "c1": "Int8", "c2": "0 \u8868\u793a COPY \u7684\u6574\u4f53\u683c\u5f0f\u4e3a\u6587\u672c\uff08\u7528\u6362\u884c\u7b26\u5206\u9694\u884c\u3001\u7528\u5206\u9694\u5b57\u7b26\u5206\u9694\u5217\u7b49\uff09\uff1b1 \u8868\u793a\u6574\u4f53\u683c\u5f0f\u4e3a\u4e8c\u8fdb\u5236\uff08\u7c7b\u4f3c DataRow \u683c\u5f0f\uff09\u3002\u8be6\u60c5\u53c2\u89c1 COPY\u3002"}, {"c0": "4", "c1": "Int16", "c2": "\u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 N \u8868\u793a\uff09\u3002"}, {"c0": "5", "c1": "Int16[ N ]", "c2": "\u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002"}], "title": "\u6309\u624b\u518c\u987a\u5e8f\u6392\u5217\u7684\u7ebf\u4e0a\u534f\u8bae\u5b57\u6bb5", "columns": [{"key": "c0", "label": "\u4f4d\u7f6e"}, {"key": "c1", "label": "\u683c\u5f0f"}, {"key": "c2", "label": "\u542b\u4e49"}]}], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-identity", "manual": {"url": "/zh/docs/10/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS", "anchor": "PROTOCOL-MESSAGE-FORMATS", "locale": "zh-Hans", "version": "10", "build_id": 63, "page_key": "protocol-message-formats.html", "extraction": "exact-definition", "source_hash": "e8128c15b60fa3298facda053424e38e11bcd21152f2d35599f1f5894d9dd8db", "fragment_sha256": "226db9664578dfbf1f9f4488035fb63f75b1cb578f5b03e5518b3ff7df2624bb", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "snapshot:sha256:62997ea80516ad012fbf6359de33f3b016b54c47e2df76e75606116b4baaf8e5", "translated_from_revision": null}, "body_sha256": "6608c63c7648ffa1d448469aa8867164754d53e22bf4ccccf7763aa6171f714d", "runtime_rerun": false, "authored_translation": "source-derived-identity", "source_facts_revision": "94a4b2528372458e5662c18d406629266667c437198160a18cdfd2c4a4d6eee9"}, "sections": [{"title": "\u6d88\u606f\u8fb9\u754c\u4e0e\u91cd\u590d\u5b57\u6bb5", "paragraphs": ["\u4e0b\u65b9\u5b8c\u6574\u5b9a\u4e49\u4fdd\u7559\u91cd\u590d\u9879\u3001\u8ba1\u6570\u4e0e\u6761\u4ef6\u5b57\u6bb5\u3002\u8868\u683c\u884c\u53f7\u8868\u793a\u6587\u6863\u4e2d\u7684\u5b57\u6bb5\u5b9a\u4e49\uff0c\u5e76\u975e\u56fa\u5b9a\u5b57\u8282\u504f\u79fb\u91cf\u3002\u6574\u6570\u7f16\u7801\u4e0e\u4ea4\u4e92\u6d41\u7a0b\u4ee5\u540c\u7248\u672c\u534f\u8bae\u7ae0\u8282\u4e3a\u51c6\u3002"]}], "description_zh": "Byte1('G') \u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002 Int32 \u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002 Int8 0 \u8868\u793a\u6574\u4f53 COPY \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 COPY \u3002 Int16 \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 N \u8868\u793a\uff09\u3002 Int16[ N ] \u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002", "description_zh_html": "<p>\u534f\u8bae\u6d88\u606f CopyInResponse (B)\u3002</p><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u5b9a\u4e49</h3><dd><p>\n</p><div class=\"variablelist\"><dl class=\"variablelist\"><dt><span class=\"term\">        Byte1('G')</span></dt><dd><p>\u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002</p></dd><dt><span class=\"term\">Int32</span></dt><dd><p>\u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002</p></dd><dt><span class=\"term\">        Int8</span></dt><dd><p>         0 \u8868\u793a\u6574\u4f53 <code class=\"command\">COPY</code> \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 <a class=\"xref\" href=\"/zh/docs/10/sql-copy.html\"><span class=\"refentrytitle\">COPY</span></a>\u3002\n        </p></dd><dt><span class=\"term\">Int16</span></dt><dd><p>         \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 <em class=\"replaceable\"><code>N</code></em> \u8868\u793a\uff09\u3002\n        </p></dd><dt><span class=\"term\">        Int16[<em class=\"replaceable\"><code>N</code></em>]</span></dt><dd><p>\u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002</p></dd></dl></div><p>\n</p></dd><p><a href=\"/zh/docs/10/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "summary": "Byte1('G') \u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002 Int32 \u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002 Int8 0 \u8868\u793a\u6574\u4f53 COPY \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 COPY \u3002 Int16 \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 N \u8868\u793a\uff09\u3002 Int16[ N ] \u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002", "version": "10", "link_map": {"/zh/docs/10/sql-copy.html": "/docs/10/sql-copy.html", "/zh/docs/10/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS": "/docs/10/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS"}, "body_html": "<p>\u534f\u8bae\u6d88\u606f CopyInResponse (B)\u3002</p><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u5b9a\u4e49</h3><dd><p>\n</p><div><dl><dt><span>        Byte1(&#39;G&#39;)</span></dt><dd><p>\u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002</p></dd><dt><span>Int32</span></dt><dd><p>\u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002</p></dd><dt><span>        Int8</span></dt><dd><p>         0 \u8868\u793a\u6574\u4f53 <code>COPY</code> \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 <a href=\"/zh/docs/10/sql-copy.html\" rel=\"nofollow\"><span>COPY</span></a>\u3002\n        </p></dd><dt><span>Int16</span></dt><dd><p>         \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 <em><code>N</code></em> \u8868\u793a\uff09\u3002\n        </p></dd><dt><span>        Int16[<em><code>N</code></em>]</span></dt><dd><p>\u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002</p></dd></dl></div><p>\n</p></dd><p><a href=\"/zh/docs/10/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>", "body_sha256": "36d6d4ee897e2a20f6da29c2f87082be24b565f419fb829381563967b1a95963", "content_hash": "3e87dd643b6578b812ee64863e7cb9d07f7d03b4a838947e7a40145413c0d9a2", "source_database": "center", "source_revision": "94a4b2528372458e5662c18d406629266667c437198160a18cdfd2c4a4d6eee9"}, "direction": "B", "signature": "CopyInResponse (B)", "tables_zh": [{"key": "fields", "rows": [{"c0": "1", "c1": "Byte1('G')", "c2": "\u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002"}, {"c0": "2", "c1": "Int32", "c2": "\u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002"}, {"c0": "3", "c1": "Int8", "c2": "0 \u8868\u793a COPY \u7684\u6574\u4f53\u683c\u5f0f\u4e3a\u6587\u672c\uff08\u7528\u6362\u884c\u7b26\u5206\u9694\u884c\u3001\u7528\u5206\u9694\u5b57\u7b26\u5206\u9694\u5217\u7b49\uff09\uff1b1 \u8868\u793a\u6574\u4f53\u683c\u5f0f\u4e3a\u4e8c\u8fdb\u5236\uff08\u7c7b\u4f3c DataRow \u683c\u5f0f\uff09\u3002\u8be6\u60c5\u53c2\u89c1 COPY\u3002"}, {"c0": "4", "c1": "Int16", "c2": "\u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 N \u8868\u793a\uff09\u3002"}, {"c0": "5", "c1": "Int16[ N ]", "c2": "\u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002"}], "title": "\u6309\u624b\u518c\u987a\u5e8f\u6392\u5217\u7684\u7ebf\u4e0a\u534f\u8bae\u5b57\u6bb5", "columns": [{"key": "c0", "label": "\u4f4d\u7f6e"}, {"key": "c1", "label": "\u683c\u5f0f"}, {"key": "c2", "label": "\u542b\u4e49"}]}], "description": ["Byte1('G') \u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002 Int32 \u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002 Int8 0 \u8868\u793a\u6574\u4f53 COPY \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 COPY \u3002 Int16 \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 N \u8868\u793a\uff09\u3002 Int16[ N ] \u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002"], "manual_html": "", "manual_path": "/docs/10/protocol-message-formats.html", "sections_zh": [{"title": "\u6d88\u606f\u8fb9\u754c\u4e0e\u91cd\u590d\u5b57\u6bb5", "paragraphs": ["\u4e0b\u65b9\u5b8c\u6574\u5b9a\u4e49\u4fdd\u7559\u91cd\u590d\u9879\u3001\u8ba1\u6570\u4e0e\u6761\u4ef6\u5b57\u6bb5\u3002\u8868\u683c\u884c\u53f7\u8868\u793a\u6587\u6863\u4e2d\u7684\u5b57\u6bb5\u5b9a\u4e49\uff0c\u5e76\u975e\u56fa\u5b9a\u5b57\u8282\u504f\u79fb\u91cf\u3002\u6574\u6570\u7f16\u7801\u4e0e\u4ea4\u4e92\u6d41\u7a0b\u4ee5\u540c\u7248\u672c\u534f\u8bae\u7ae0\u8282\u4e3a\u51c6\u3002"]}], "localization": {"status": "complete", "sources": [{"url": "/docs/10/protocol-message-formats.html", "method": "same-major semantic node", "sha256": "fb3f5382c61e7fcc0eaa29589ac1811e59b1cc7a8bd23c1ebe5fc8f17c9819b2", "language": "zh", "matched_nodes": ["#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[1]/div[0]/dl[0]/dd[3]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[43]/div[0]/dl[0]/dd[1]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[43]/div[0]/dl[0]/dd[7]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[43]/div[0]/dl[0]/dd[9]"]}], "language": "zh", "original_text": {"/versions/10/description/0": "CopyInResponse is a backend protocol message. Identifies the message as a Start Copy In response. The frontend must now send copy-in data (if not prepared to do so, send a CopyFail message).", "/versions/10/facts/0/label": "Direction", "/versions/10/facts/0/value": "Backend \u2192 frontend", "/versions/10/facts/1/label": "First wire field", "/versions/10/facts/2/label": "Field entries", "/versions/10/facts/3/label": "Documented flow contexts", "/versions/10/facts/3/value": "Simple Query; COPY Operations", "/versions/10/tables/0/title": "Wire fields in documented order", "/versions/10/related/0/label": "Protocol flow and exchange examples", "/versions/10/related/1/label": "Protocol overview", "/versions/10/related/2/label": "Simple Query", "/versions/10/related/3/label": "COPY Operations", "/versions/10/sections/0/title": "Framing and repetition", "/versions/10/tables/0/rows/0/c2": "Identifies the message as a Start Copy In response. The frontend must now send copy-in data (if not prepared to do so, send a CopyFail message).", "/versions/10/tables/0/rows/1/c2": "Length of message contents in bytes, including self.", "/versions/10/tables/0/rows/2/c2": "0 indicates the overall COPY format is textual (rows separated by newlines, columns separated by separator characters, etc). 1 indicates the overall copy format is binary (similar to DataRow format). See COPY for more information.", "/versions/10/tables/0/rows/3/c2": "The number of columns in the data to be copied (denoted N below).", "/versions/10/tables/0/rows/4/c2": "The format codes to be used for each column. Each must presently be zero (text) or one (binary). All must be zero if the overall copy format is textual.", "/versions/10/sections/0/paragraphs/0": "The complete definition below retains repetition, counts and conditional fields. A numbered table row is a documented field definition, not a fixed byte offset. Integer encodings and flow rules follow the same-version protocol chapter.", "/versions/10/tables/0/columns/0/label": "Position", "/versions/10/tables/0/columns/1/label": "Format", "/versions/10/tables/0/columns/2/label": "Meaning"}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "48b9a321d10bd109d26962d51685e2babeb47c1bd60fc54a68033a12ff19a8b3", "canonical_center_text_hash": "3e87dd643b6578b812ee64863e7cb9d07f7d03b4a838947e7a40145413c0d9a2"}, "description_zh": "Byte1('G') \u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002 Int32 \u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002 Int8 0 \u8868\u793a\u6574\u4f53 COPY \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 COPY \u3002 Int16 \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 N \u8868\u793a\uff09\u3002 Int16[ N ] \u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002", "comparison_data": {"fields": [{"format": "Byte1('G')", "description": "Identifies the message as a Start Copy In response. The frontend must now send copy-in data (if not prepared to do so, send a CopyFail message)."}, {"format": "Int32", "description": "Length of message contents in bytes, including self."}, {"format": "Int8", "description": "0 indicates the overall COPY format is textual (rows separated by newlines, columns separated by separator characters, etc). 1 indicates the overall copy format is binary (similar to DataRow format). See COPY for more information."}, {"format": "Int16", "description": "The number of columns in the data to be copied (denoted N below)."}, {"format": "Int16[ N ]", "description": "The format codes to be used for each column. Each must presently be zero (text) or one (binary). All must be zero if the overall copy format is textual."}], "direction": "B"}, "comparison_hash": "51812fe86333cebae645cef676116226d5ea061dfa2dbc48856147443c50012e", "manual_language": "zh", "description_zh_html": "<p>\u534f\u8bae\u6d88\u606f CopyInResponse (B)\u3002</p><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u5b9a\u4e49</h3><dd><p>\n</p><div><dl><dt><span>        Byte1(&#39;G&#39;)</span></dt><dd><p>\u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002</p></dd><dt><span>Int32</span></dt><dd><p>\u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002</p></dd><dt><span>        Int8</span></dt><dd><p>         0 \u8868\u793a\u6574\u4f53 <code>COPY</code> \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 <a href=\"/zh/docs/10/sql-copy.html\" rel=\"nofollow\"><span>COPY</span></a>\u3002\n        </p></dd><dt><span>Int16</span></dt><dd><p>         \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 <em><code>N</code></em> \u8868\u793a\uff09\u3002\n        </p></dd><dt><span>        Int16[<em><code>N</code></em>]</span></dt><dd><p>\u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002</p></dd></dl></div><p>\n</p></dd><p><a href=\"/zh/docs/10/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "11": {"facts": [{"label": "\u65b9\u5411", "value": "\u540e\u7aef \u2192 \u524d\u7aef"}, {"label": "\u9996\u4e2a\u7ebf\u4e0a\u534f\u8bae\u5b57\u6bb5", "value": "Byte1('G')"}, {"label": "\u5b57\u6bb5\u6761\u76ee", "value": "5"}, {"label": "\u624b\u518c\u4e2d\u7684\u4ea4\u4e92\u9636\u6bb5", "value": "\u7b80\u5355\u67e5\u8be2\uff1bCOPY \u64cd\u4f5c"}], "fields": [{"format": "Byte1('G')", "description": "Identifies the message as a Start Copy In response. The frontend must now send copy-in data (if not prepared to do so, send a CopyFail message)."}, {"format": "Int32", "description": "Length of message contents in bytes, including self."}, {"format": "Int8", "description": "0 indicates the overall COPY format is textual (rows separated by newlines, columns separated by separator characters, etc). 1 indicates the overall copy format is binary (similar to DataRow format). See COPY for more information."}, {"format": "Int16", "description": "The number of columns in the data to be copied (denoted N below)."}, {"format": "Int16[ N ]", "description": "The format codes to be used for each column. Each must presently be zero (text) or one (binary). All must be zero if the overall copy format is textual."}], "tables": [{"key": "fields", "rows": [{"c0": "1", "c1": "Byte1('G')", "c2": "\u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002"}, {"c0": "2", "c1": "Int32", "c2": "\u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002"}, {"c0": "3", "c1": "Int8", "c2": "0 \u8868\u793a COPY \u7684\u6574\u4f53\u683c\u5f0f\u4e3a\u6587\u672c\uff08\u7528\u6362\u884c\u7b26\u5206\u9694\u884c\u3001\u7528\u5206\u9694\u5b57\u7b26\u5206\u9694\u5217\u7b49\uff09\uff1b1 \u8868\u793a\u6574\u4f53\u683c\u5f0f\u4e3a\u4e8c\u8fdb\u5236\uff08\u7c7b\u4f3c DataRow \u683c\u5f0f\uff09\u3002\u8be6\u60c5\u53c2\u89c1 COPY\u3002"}, {"c0": "4", "c1": "Int16", "c2": "\u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 N \u8868\u793a\uff09\u3002"}, {"c0": "5", "c1": "Int16[ N ]", "c2": "\u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002"}], "title": "\u6309\u624b\u518c\u987a\u5e8f\u6392\u5217\u7684\u7ebf\u4e0a\u534f\u8bae\u5b57\u6bb5", "columns": [{"key": "c0", "label": "\u4f4d\u7f6e"}, {"key": "c1", "label": "\u683c\u5f0f"}, {"key": "c2", "label": "\u542b\u4e49"}]}], "related": [{"url": "/docs/11/protocol-flow.html", "label": "\u534f\u8bae\u6d41\u7a0b\u4e0e\u4ea4\u4e92\u793a\u4f8b"}, {"url": "/docs/11/protocol-overview.html", "label": "\u534f\u8bae\u6982\u8ff0"}, {"url": "/docs/11/protocol-flow.html#id-1.10.5.7.4", "label": "\u7b80\u5355\u67e5\u8be2"}, {"url": "/docs/11/protocol-flow.html#PROTOCOL-COPY", "label": "COPY \u64cd\u4f5c"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v11.22/postgresql-11.22.tar.bz2", "label": "11.22", "major": "11", "channel": "stable", "revision": "2cb7c97d7a0d7278851bbc9c61f467b69c094c72b81740b751108e7892ebe1f0"}, "sources": [{"url": "/docs/11/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS", "path": "protocol-message-formats.html", "label": "PostgreSQL 11 English manual", "sha256": "a6087693de687f5a6582bfa6529356ecb8a089e2d56694482352a55eb6ccfdf1"}], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-identity", "manual": {"url": "/zh/docs/11/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS", "anchor": "PROTOCOL-MESSAGE-FORMATS", "locale": "zh-Hans", "version": "11", "build_id": 64, "page_key": "protocol-message-formats.html", "extraction": "exact-definition", "source_hash": "b86aa7c7a982503a5943f3f5501cf5ca27ea5cf1f9d48418c461cf096d15c4db", "fragment_sha256": "b2d8728c7697144247789f33787bfdce8f254eaa48dbfb0b7f0212ab20180afb", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "snapshot:sha256:ef5c7bc074acae9795db16e6b7482aea3b222bd4bcce0f76831332b97a21e8a1", "translated_from_revision": null}, "body_sha256": "52ecfaa530c08e41664078cfd8e9fd624844820102b9521ecbbb06ef17d03180", "runtime_rerun": false, "authored_translation": "source-derived-identity", "source_facts_revision": "2cb7c97d7a0d7278851bbc9c61f467b69c094c72b81740b751108e7892ebe1f0"}, "facts_zh": [{"label": "\u65b9\u5411", "value": "\u540e\u7aef \u2192 \u524d\u7aef"}, {"label": "\u9996\u4e2a\u7ebf\u4e0a\u534f\u8bae\u5b57\u6bb5", "value": "Byte1('G')"}, {"label": "\u5b57\u6bb5\u6761\u76ee", "value": "5"}, {"label": "\u624b\u518c\u4e2d\u7684\u4ea4\u4e92\u9636\u6bb5", "value": "\u7b80\u5355\u67e5\u8be2\uff1bCOPY \u64cd\u4f5c"}], "sections": [{"title": "\u6d88\u606f\u8fb9\u754c\u4e0e\u91cd\u590d\u5b57\u6bb5", "paragraphs": ["\u4e0b\u65b9\u5b8c\u6574\u5b9a\u4e49\u4fdd\u7559\u91cd\u590d\u9879\u3001\u8ba1\u6570\u4e0e\u6761\u4ef6\u5b57\u6bb5\u3002\u8868\u683c\u884c\u53f7\u8868\u793a\u6587\u6863\u4e2d\u7684\u5b57\u6bb5\u5b9a\u4e49\uff0c\u5e76\u975e\u56fa\u5b9a\u5b57\u8282\u504f\u79fb\u91cf\u3002\u6574\u6570\u7f16\u7801\u4e0e\u4ea4\u4e92\u6d41\u7a0b\u4ee5\u540c\u7248\u672c\u534f\u8bae\u7ae0\u8282\u4e3a\u51c6\u3002"]}], "center_zh": {"title": "CopyInResponse", "locale": "zh-Hans", "source": {"key": "copyinresponse-b", "locale": "zh-Hans", "version": "11", "text_hash": "54b28c7b868379c2d294708470333eceaa302f1716f697364ad25275755ab59c", "collection": "protocol", "dataset_hash": "7c31b524dfe136022d39a6ae8dcfac6b3bbd5f8fdaf422536599981252aff0c9", "source_database": "center", "source_revision": "2cb7c97d7a0d7278851bbc9c61f467b69c094c72b81740b751108e7892ebe1f0"}, "payload": {"facts": [{"label": "\u65b9\u5411", "value": "\u540e\u7aef \u2192 \u524d\u7aef"}, {"label": "\u9996\u4e2a\u7ebf\u4e0a\u534f\u8bae\u5b57\u6bb5", "value": "Byte1('G')"}, {"label": "\u5b57\u6bb5\u6761\u76ee", "value": "5"}, {"label": "\u624b\u518c\u4e2d\u7684\u4ea4\u4e92\u9636\u6bb5", "value": "\u7b80\u5355\u67e5\u8be2\uff1bCOPY \u64cd\u4f5c"}], "tables": [{"key": "fields", "rows": [{"c0": "1", "c1": "Byte1('G')", "c2": "\u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002"}, {"c0": "2", "c1": "Int32", "c2": "\u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002"}, {"c0": "3", "c1": "Int8", "c2": "0 \u8868\u793a COPY \u7684\u6574\u4f53\u683c\u5f0f\u4e3a\u6587\u672c\uff08\u7528\u6362\u884c\u7b26\u5206\u9694\u884c\u3001\u7528\u5206\u9694\u5b57\u7b26\u5206\u9694\u5217\u7b49\uff09\uff1b1 \u8868\u793a\u6574\u4f53\u683c\u5f0f\u4e3a\u4e8c\u8fdb\u5236\uff08\u7c7b\u4f3c DataRow \u683c\u5f0f\uff09\u3002\u8be6\u60c5\u53c2\u89c1 COPY\u3002"}, {"c0": "4", "c1": "Int16", "c2": "\u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 N \u8868\u793a\uff09\u3002"}, {"c0": "5", "c1": "Int16[ N ]", "c2": "\u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002"}], "title": "\u6309\u624b\u518c\u987a\u5e8f\u6392\u5217\u7684\u7ebf\u4e0a\u534f\u8bae\u5b57\u6bb5", "columns": [{"key": "c0", "label": "\u4f4d\u7f6e"}, {"key": "c1", "label": "\u683c\u5f0f"}, {"key": "c2", "label": "\u542b\u4e49"}]}], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-identity", "manual": {"url": "/zh/docs/11/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS", "anchor": "PROTOCOL-MESSAGE-FORMATS", "locale": "zh-Hans", "version": "11", "build_id": 64, "page_key": "protocol-message-formats.html", "extraction": "exact-definition", "source_hash": "b86aa7c7a982503a5943f3f5501cf5ca27ea5cf1f9d48418c461cf096d15c4db", "fragment_sha256": "b2d8728c7697144247789f33787bfdce8f254eaa48dbfb0b7f0212ab20180afb", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "snapshot:sha256:ef5c7bc074acae9795db16e6b7482aea3b222bd4bcce0f76831332b97a21e8a1", "translated_from_revision": null}, "body_sha256": "52ecfaa530c08e41664078cfd8e9fd624844820102b9521ecbbb06ef17d03180", "runtime_rerun": false, "authored_translation": "source-derived-identity", "source_facts_revision": "2cb7c97d7a0d7278851bbc9c61f467b69c094c72b81740b751108e7892ebe1f0"}, "sections": [{"title": "\u6d88\u606f\u8fb9\u754c\u4e0e\u91cd\u590d\u5b57\u6bb5", "paragraphs": ["\u4e0b\u65b9\u5b8c\u6574\u5b9a\u4e49\u4fdd\u7559\u91cd\u590d\u9879\u3001\u8ba1\u6570\u4e0e\u6761\u4ef6\u5b57\u6bb5\u3002\u8868\u683c\u884c\u53f7\u8868\u793a\u6587\u6863\u4e2d\u7684\u5b57\u6bb5\u5b9a\u4e49\uff0c\u5e76\u975e\u56fa\u5b9a\u5b57\u8282\u504f\u79fb\u91cf\u3002\u6574\u6570\u7f16\u7801\u4e0e\u4ea4\u4e92\u6d41\u7a0b\u4ee5\u540c\u7248\u672c\u534f\u8bae\u7ae0\u8282\u4e3a\u51c6\u3002"]}], "description_zh": "Byte1('G') \u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002 Int32 \u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002 Int8 0 \u8868\u793a\u6574\u4f53 COPY \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 COPY \u3002 Int16 \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 N \u8868\u793a\uff09\u3002 Int16[ N ] \u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002", "description_zh_html": "<p>\u534f\u8bae\u6d88\u606f CopyInResponse (B)\u3002</p><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u5b9a\u4e49</h3><dd><p>\n</p><div class=\"variablelist\"><dl class=\"variablelist\"><dt><span class=\"term\">\n        Byte1('G')\n</span></dt><dd><p>\u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002</p></dd><dt><span class=\"term\">Int32</span></dt><dd><p>\u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002</p></dd><dt><span class=\"term\">\n        Int8\n</span></dt><dd><p>\n         0 \u8868\u793a\u6574\u4f53 <code class=\"command\">COPY</code> \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 <a class=\"xref\" href=\"/zh/docs/11/sql-copy.html\"><span class=\"refentrytitle\">COPY</span></a>\u3002\n        </p></dd><dt><span class=\"term\">Int16</span></dt><dd><p>\n         \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 <em class=\"replaceable\"><code>N</code></em> \u8868\u793a\uff09\u3002\n        </p></dd><dt><span class=\"term\">\n        Int16[<em class=\"replaceable\"><code>N</code></em>]\n</span></dt><dd><p>\u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002</p></dd></dl></div><p>\n</p></dd><p><a href=\"/zh/docs/11/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "summary": "Byte1('G') \u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002 Int32 \u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002 Int8 0 \u8868\u793a\u6574\u4f53 COPY \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 COPY \u3002 Int16 \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 N \u8868\u793a\uff09\u3002 Int16[ N ] \u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002", "version": "11", "link_map": {"/zh/docs/11/sql-copy.html": "/docs/11/sql-copy.html", "/zh/docs/11/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS": "/docs/11/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS"}, "body_html": "<p>\u534f\u8bae\u6d88\u606f CopyInResponse (B)\u3002</p><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u5b9a\u4e49</h3><dd><p>\n</p><div><dl><dt><span>\n        Byte1(&#39;G&#39;)\n</span></dt><dd><p>\u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002</p></dd><dt><span>Int32</span></dt><dd><p>\u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002</p></dd><dt><span>\n        Int8\n</span></dt><dd><p>\n         0 \u8868\u793a\u6574\u4f53 <code>COPY</code> \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 <a href=\"/zh/docs/11/sql-copy.html\" rel=\"nofollow\"><span>COPY</span></a>\u3002\n        </p></dd><dt><span>Int16</span></dt><dd><p>\n         \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 <em><code>N</code></em> \u8868\u793a\uff09\u3002\n        </p></dd><dt><span>\n        Int16[<em><code>N</code></em>]\n</span></dt><dd><p>\u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002</p></dd></dl></div><p>\n</p></dd><p><a href=\"/zh/docs/11/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>", "body_sha256": "23ce6c51ecacc3128f60e1b05ed3f72f29ebf6d9c131b6931790eb3884c60fa1", "content_hash": "54b28c7b868379c2d294708470333eceaa302f1716f697364ad25275755ab59c", "source_database": "center", "source_revision": "2cb7c97d7a0d7278851bbc9c61f467b69c094c72b81740b751108e7892ebe1f0"}, "direction": "B", "signature": "CopyInResponse (B)", "tables_zh": [{"key": "fields", "rows": [{"c0": "1", "c1": "Byte1('G')", "c2": "\u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002"}, {"c0": "2", "c1": "Int32", "c2": "\u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002"}, {"c0": "3", "c1": "Int8", "c2": "0 \u8868\u793a COPY \u7684\u6574\u4f53\u683c\u5f0f\u4e3a\u6587\u672c\uff08\u7528\u6362\u884c\u7b26\u5206\u9694\u884c\u3001\u7528\u5206\u9694\u5b57\u7b26\u5206\u9694\u5217\u7b49\uff09\uff1b1 \u8868\u793a\u6574\u4f53\u683c\u5f0f\u4e3a\u4e8c\u8fdb\u5236\uff08\u7c7b\u4f3c DataRow \u683c\u5f0f\uff09\u3002\u8be6\u60c5\u53c2\u89c1 COPY\u3002"}, {"c0": "4", "c1": "Int16", "c2": "\u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 N \u8868\u793a\uff09\u3002"}, {"c0": "5", "c1": "Int16[ N ]", "c2": "\u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002"}], "title": "\u6309\u624b\u518c\u987a\u5e8f\u6392\u5217\u7684\u7ebf\u4e0a\u534f\u8bae\u5b57\u6bb5", "columns": [{"key": "c0", "label": "\u4f4d\u7f6e"}, {"key": "c1", "label": "\u683c\u5f0f"}, {"key": "c2", "label": "\u542b\u4e49"}]}], "description": ["Byte1('G') \u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002 Int32 \u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002 Int8 0 \u8868\u793a\u6574\u4f53 COPY \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 COPY \u3002 Int16 \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 N \u8868\u793a\uff09\u3002 Int16[ N ] \u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002"], "manual_html": "", "manual_path": "/docs/11/protocol-message-formats.html", "sections_zh": [{"title": "\u6d88\u606f\u8fb9\u754c\u4e0e\u91cd\u590d\u5b57\u6bb5", "paragraphs": ["\u4e0b\u65b9\u5b8c\u6574\u5b9a\u4e49\u4fdd\u7559\u91cd\u590d\u9879\u3001\u8ba1\u6570\u4e0e\u6761\u4ef6\u5b57\u6bb5\u3002\u8868\u683c\u884c\u53f7\u8868\u793a\u6587\u6863\u4e2d\u7684\u5b57\u6bb5\u5b9a\u4e49\uff0c\u5e76\u975e\u56fa\u5b9a\u5b57\u8282\u504f\u79fb\u91cf\u3002\u6574\u6570\u7f16\u7801\u4e0e\u4ea4\u4e92\u6d41\u7a0b\u4ee5\u540c\u7248\u672c\u534f\u8bae\u7ae0\u8282\u4e3a\u51c6\u3002"]}], "localization": {"status": "complete", "sources": [{"url": "/docs/11/protocol-message-formats.html", "method": "same-major semantic node", "sha256": "9726c6197a98d51a4e85474eefe4eebef23c1e01c1accd23e4633aa0e78288ea", "language": "zh", "matched_nodes": ["#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[1]/div[0]/dl[0]/dd[3]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[43]/div[0]/dl[0]/dd[1]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[43]/div[0]/dl[0]/dd[7]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[43]/div[0]/dl[0]/dd[9]"]}], "language": "zh", "original_text": {"/versions/11/description/0": "CopyInResponse is a backend protocol message. Identifies the message as a Start Copy In response. The frontend must now send copy-in data (if not prepared to do so, send a CopyFail message).", "/versions/11/facts/0/label": "Direction", "/versions/11/facts/0/value": "Backend \u2192 frontend", "/versions/11/facts/1/label": "First wire field", "/versions/11/facts/2/label": "Field entries", "/versions/11/facts/3/label": "Documented flow contexts", "/versions/11/facts/3/value": "Simple Query; COPY Operations", "/versions/11/tables/0/title": "Wire fields in documented order", "/versions/11/related/0/label": "Protocol flow and exchange examples", "/versions/11/related/1/label": "Protocol overview", "/versions/11/related/2/label": "Simple Query", "/versions/11/related/3/label": "COPY Operations", "/versions/11/sections/0/title": "Framing and repetition", "/versions/11/tables/0/rows/0/c2": "Identifies the message as a Start Copy In response. The frontend must now send copy-in data (if not prepared to do so, send a CopyFail message).", "/versions/11/tables/0/rows/1/c2": "Length of message contents in bytes, including self.", "/versions/11/tables/0/rows/2/c2": "0 indicates the overall COPY format is textual (rows separated by newlines, columns separated by separator characters, etc). 1 indicates the overall copy format is binary (similar to DataRow format). See COPY for more information.", "/versions/11/tables/0/rows/3/c2": "The number of columns in the data to be copied (denoted N below).", "/versions/11/tables/0/rows/4/c2": "The format codes to be used for each column. Each must presently be zero (text) or one (binary). All must be zero if the overall copy format is textual.", "/versions/11/sections/0/paragraphs/0": "The complete definition below retains repetition, counts and conditional fields. A numbered table row is a documented field definition, not a fixed byte offset. Integer encodings and flow rules follow the same-version protocol chapter.", "/versions/11/tables/0/columns/0/label": "Position", "/versions/11/tables/0/columns/1/label": "Format", "/versions/11/tables/0/columns/2/label": "Meaning"}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "120fc87a03ba09ed55041a01f59d297b4ffe2f244e1ae64b2965042bb8f02dd6", "canonical_center_text_hash": "54b28c7b868379c2d294708470333eceaa302f1716f697364ad25275755ab59c"}, "description_zh": "Byte1('G') \u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002 Int32 \u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002 Int8 0 \u8868\u793a\u6574\u4f53 COPY \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 COPY \u3002 Int16 \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 N \u8868\u793a\uff09\u3002 Int16[ N ] \u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002", "comparison_data": {"fields": [{"format": "Byte1('G')", "description": "Identifies the message as a Start Copy In response. The frontend must now send copy-in data (if not prepared to do so, send a CopyFail message)."}, {"format": "Int32", "description": "Length of message contents in bytes, including self."}, {"format": "Int8", "description": "0 indicates the overall COPY format is textual (rows separated by newlines, columns separated by separator characters, etc). 1 indicates the overall copy format is binary (similar to DataRow format). See COPY for more information."}, {"format": "Int16", "description": "The number of columns in the data to be copied (denoted N below)."}, {"format": "Int16[ N ]", "description": "The format codes to be used for each column. Each must presently be zero (text) or one (binary). All must be zero if the overall copy format is textual."}], "direction": "B"}, "comparison_hash": "51812fe86333cebae645cef676116226d5ea061dfa2dbc48856147443c50012e", "manual_language": "zh", "description_zh_html": "<p>\u534f\u8bae\u6d88\u606f CopyInResponse (B)\u3002</p><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u5b9a\u4e49</h3><dd><p>\n</p><div><dl><dt><span>\n        Byte1(&#39;G&#39;)\n</span></dt><dd><p>\u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002</p></dd><dt><span>Int32</span></dt><dd><p>\u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002</p></dd><dt><span>\n        Int8\n</span></dt><dd><p>\n         0 \u8868\u793a\u6574\u4f53 <code>COPY</code> \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 <a href=\"/zh/docs/11/sql-copy.html\" rel=\"nofollow\"><span>COPY</span></a>\u3002\n        </p></dd><dt><span>Int16</span></dt><dd><p>\n         \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 <em><code>N</code></em> \u8868\u793a\uff09\u3002\n        </p></dd><dt><span>\n        Int16[<em><code>N</code></em>]\n</span></dt><dd><p>\u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002</p></dd></dl></div><p>\n</p></dd><p><a href=\"/zh/docs/11/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "12": {"facts": [{"label": "\u65b9\u5411", "value": "\u540e\u7aef \u2192 \u524d\u7aef"}, {"label": "\u9996\u4e2a\u7ebf\u4e0a\u534f\u8bae\u5b57\u6bb5", "value": "Byte1('G')"}, {"label": "\u5b57\u6bb5\u6761\u76ee", "value": "5"}, {"label": "\u624b\u518c\u4e2d\u7684\u4ea4\u4e92\u9636\u6bb5", "value": "\u7b80\u5355\u67e5\u8be2\uff1bCOPY \u64cd\u4f5c"}], "fields": [{"format": "Byte1('G')", "description": "Identifies the message as a Start Copy In response. The frontend must now send copy-in data (if not prepared to do so, send a CopyFail message)."}, {"format": "Int32", "description": "Length of message contents in bytes, including self."}, {"format": "Int8", "description": "0 indicates the overall COPY format is textual (rows separated by newlines, columns separated by separator characters, etc). 1 indicates the overall copy format is binary (similar to DataRow format). See COPY for more information."}, {"format": "Int16", "description": "The number of columns in the data to be copied (denoted N below)."}, {"format": "Int16[ N ]", "description": "The format codes to be used for each column. Each must presently be zero (text) or one (binary). All must be zero if the overall copy format is textual."}], "tables": [{"key": "fields", "rows": [{"c0": "1", "c1": "Byte1('G')", "c2": "\u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002"}, {"c0": "2", "c1": "Int32", "c2": "\u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002"}, {"c0": "3", "c1": "Int8", "c2": "0 \u8868\u793a COPY \u7684\u6574\u4f53\u683c\u5f0f\u4e3a\u6587\u672c\uff08\u7528\u6362\u884c\u7b26\u5206\u9694\u884c\u3001\u7528\u5206\u9694\u5b57\u7b26\u5206\u9694\u5217\u7b49\uff09\uff1b1 \u8868\u793a\u6574\u4f53\u683c\u5f0f\u4e3a\u4e8c\u8fdb\u5236\uff08\u7c7b\u4f3c DataRow \u683c\u5f0f\uff09\u3002\u8be6\u60c5\u53c2\u89c1 COPY\u3002"}, {"c0": "4", "c1": "Int16", "c2": "\u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 N \u8868\u793a\uff09\u3002"}, {"c0": "5", "c1": "Int16[ N ]", "c2": "\u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002"}], "title": "\u6309\u624b\u518c\u987a\u5e8f\u6392\u5217\u7684\u7ebf\u4e0a\u534f\u8bae\u5b57\u6bb5", "columns": [{"key": "c0", "label": "\u4f4d\u7f6e"}, {"key": "c1", "label": "\u683c\u5f0f"}, {"key": "c2", "label": "\u542b\u4e49"}]}], "related": [{"url": "/docs/12/protocol-flow.html", "label": "\u534f\u8bae\u6d41\u7a0b\u4e0e\u4ea4\u4e92\u793a\u4f8b"}, {"url": "/docs/12/protocol-overview.html", "label": "\u534f\u8bae\u6982\u8ff0"}, {"url": "/docs/12/protocol-flow.html#id-1.10.5.7.4", "label": "\u7b80\u5355\u67e5\u8be2"}, {"url": "/docs/12/protocol-flow.html#PROTOCOL-COPY", "label": "COPY \u64cd\u4f5c"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v12.22/postgresql-12.22.tar.bz2", "label": "12.22", "major": "12", "channel": "stable", "revision": "8df3c0474782589d3c6f374b5133b1bd14d168086edbc13c6e72e67dd4527a3b"}, "sources": [{"url": "/docs/12/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS", "path": "protocol-message-formats.html", "label": "PostgreSQL 12 English manual", "sha256": "00f6cafbcaad89c7e7982faed10a2896b7188de151ac9137633021207f7c2b70"}], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-identity", "manual": {"url": "/zh/docs/12/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS", "anchor": "PROTOCOL-MESSAGE-FORMATS", "locale": "zh-Hans", "version": "12", "build_id": 65, "page_key": "protocol-message-formats.html", "extraction": "exact-definition", "source_hash": "b465bd771c4b398671c853d51262347b617bc7e6f5b1d26744df95ddd9cb26a1", "fragment_sha256": "8b9d7da8c64d2c049ee1263d58b7b9a98c3aa59791ebccd79371373735ab9f33", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "snapshot:sha256:86d2ff781f93e1de17122ebc514d5e64fcb63fed15941f496d7e146c6dcc7a49", "translated_from_revision": null}, "body_sha256": "c5510f11fc13bde5ed9444f2514960b80192df67d79219c192e8d13af0b2d13e", "runtime_rerun": false, "authored_translation": "source-derived-identity", "source_facts_revision": "8df3c0474782589d3c6f374b5133b1bd14d168086edbc13c6e72e67dd4527a3b"}, "facts_zh": [{"label": "\u65b9\u5411", "value": "\u540e\u7aef \u2192 \u524d\u7aef"}, {"label": "\u9996\u4e2a\u7ebf\u4e0a\u534f\u8bae\u5b57\u6bb5", "value": "Byte1('G')"}, {"label": "\u5b57\u6bb5\u6761\u76ee", "value": "5"}, {"label": "\u624b\u518c\u4e2d\u7684\u4ea4\u4e92\u9636\u6bb5", "value": "\u7b80\u5355\u67e5\u8be2\uff1bCOPY \u64cd\u4f5c"}], "sections": [{"title": "\u6d88\u606f\u8fb9\u754c\u4e0e\u91cd\u590d\u5b57\u6bb5", "paragraphs": ["\u4e0b\u65b9\u5b8c\u6574\u5b9a\u4e49\u4fdd\u7559\u91cd\u590d\u9879\u3001\u8ba1\u6570\u4e0e\u6761\u4ef6\u5b57\u6bb5\u3002\u8868\u683c\u884c\u53f7\u8868\u793a\u6587\u6863\u4e2d\u7684\u5b57\u6bb5\u5b9a\u4e49\uff0c\u5e76\u975e\u56fa\u5b9a\u5b57\u8282\u504f\u79fb\u91cf\u3002\u6574\u6570\u7f16\u7801\u4e0e\u4ea4\u4e92\u6d41\u7a0b\u4ee5\u540c\u7248\u672c\u534f\u8bae\u7ae0\u8282\u4e3a\u51c6\u3002"]}], "center_zh": {"title": "CopyInResponse", "locale": "zh-Hans", "source": {"key": "copyinresponse-b", "locale": "zh-Hans", "version": "12", "text_hash": "28c0be0f2858c60cadc11d1d1a91dfbcc081027cd30916e0b315cf762dc7a1b3", "collection": "protocol", "dataset_hash": "7c31b524dfe136022d39a6ae8dcfac6b3bbd5f8fdaf422536599981252aff0c9", "source_database": "center", "source_revision": "8df3c0474782589d3c6f374b5133b1bd14d168086edbc13c6e72e67dd4527a3b"}, "payload": {"facts": [{"label": "\u65b9\u5411", "value": "\u540e\u7aef \u2192 \u524d\u7aef"}, {"label": "\u9996\u4e2a\u7ebf\u4e0a\u534f\u8bae\u5b57\u6bb5", "value": "Byte1('G')"}, {"label": "\u5b57\u6bb5\u6761\u76ee", "value": "5"}, {"label": "\u624b\u518c\u4e2d\u7684\u4ea4\u4e92\u9636\u6bb5", "value": "\u7b80\u5355\u67e5\u8be2\uff1bCOPY \u64cd\u4f5c"}], "tables": [{"key": "fields", "rows": [{"c0": "1", "c1": "Byte1('G')", "c2": "\u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002"}, {"c0": "2", "c1": "Int32", "c2": "\u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002"}, {"c0": "3", "c1": "Int8", "c2": "0 \u8868\u793a COPY \u7684\u6574\u4f53\u683c\u5f0f\u4e3a\u6587\u672c\uff08\u7528\u6362\u884c\u7b26\u5206\u9694\u884c\u3001\u7528\u5206\u9694\u5b57\u7b26\u5206\u9694\u5217\u7b49\uff09\uff1b1 \u8868\u793a\u6574\u4f53\u683c\u5f0f\u4e3a\u4e8c\u8fdb\u5236\uff08\u7c7b\u4f3c DataRow \u683c\u5f0f\uff09\u3002\u8be6\u60c5\u53c2\u89c1 COPY\u3002"}, {"c0": "4", "c1": "Int16", "c2": "\u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 N \u8868\u793a\uff09\u3002"}, {"c0": "5", "c1": "Int16[ N ]", "c2": "\u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002"}], "title": "\u6309\u624b\u518c\u987a\u5e8f\u6392\u5217\u7684\u7ebf\u4e0a\u534f\u8bae\u5b57\u6bb5", "columns": [{"key": "c0", "label": "\u4f4d\u7f6e"}, {"key": "c1", "label": "\u683c\u5f0f"}, {"key": "c2", "label": "\u542b\u4e49"}]}], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-identity", "manual": {"url": "/zh/docs/12/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS", "anchor": "PROTOCOL-MESSAGE-FORMATS", "locale": "zh-Hans", "version": "12", "build_id": 65, "page_key": "protocol-message-formats.html", "extraction": "exact-definition", "source_hash": "b465bd771c4b398671c853d51262347b617bc7e6f5b1d26744df95ddd9cb26a1", "fragment_sha256": "8b9d7da8c64d2c049ee1263d58b7b9a98c3aa59791ebccd79371373735ab9f33", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "snapshot:sha256:86d2ff781f93e1de17122ebc514d5e64fcb63fed15941f496d7e146c6dcc7a49", "translated_from_revision": null}, "body_sha256": "c5510f11fc13bde5ed9444f2514960b80192df67d79219c192e8d13af0b2d13e", "runtime_rerun": false, "authored_translation": "source-derived-identity", "source_facts_revision": "8df3c0474782589d3c6f374b5133b1bd14d168086edbc13c6e72e67dd4527a3b"}, "sections": [{"title": "\u6d88\u606f\u8fb9\u754c\u4e0e\u91cd\u590d\u5b57\u6bb5", "paragraphs": ["\u4e0b\u65b9\u5b8c\u6574\u5b9a\u4e49\u4fdd\u7559\u91cd\u590d\u9879\u3001\u8ba1\u6570\u4e0e\u6761\u4ef6\u5b57\u6bb5\u3002\u8868\u683c\u884c\u53f7\u8868\u793a\u6587\u6863\u4e2d\u7684\u5b57\u6bb5\u5b9a\u4e49\uff0c\u5e76\u975e\u56fa\u5b9a\u5b57\u8282\u504f\u79fb\u91cf\u3002\u6574\u6570\u7f16\u7801\u4e0e\u4ea4\u4e92\u6d41\u7a0b\u4ee5\u540c\u7248\u672c\u534f\u8bae\u7ae0\u8282\u4e3a\u51c6\u3002"]}], "description_zh": "Byte1('G') \u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002 Int32 \u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002 Int8 0 \u8868\u793a\u6574\u4f53 COPY \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 COPY \u3002 Int16 \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 N \u8868\u793a\uff09\u3002 Int16[ N ] \u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002", "description_zh_html": "<p>\u534f\u8bae\u6d88\u606f CopyInResponse (B)\u3002</p><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u5b9a\u4e49</h3><dd><p>\n</p><div class=\"variablelist\"><dl class=\"variablelist\"><dt><span class=\"term\">\n        Byte1('G')\n</span></dt><dd><p>\u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002</p></dd><dt><span class=\"term\">Int32</span></dt><dd><p>\u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002</p></dd><dt><span class=\"term\">\n        Int8\n</span></dt><dd><p>\n         0 \u8868\u793a\u6574\u4f53 <code class=\"command\">COPY</code> \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 <a class=\"xref\" href=\"/zh/docs/12/sql-copy.html\"><span class=\"refentrytitle\">COPY</span></a>\u3002\n        </p></dd><dt><span class=\"term\">Int16</span></dt><dd><p>\n         \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 <em class=\"replaceable\"><code>N</code></em> \u8868\u793a\uff09\u3002\n        </p></dd><dt><span class=\"term\">\n        Int16[<em class=\"replaceable\"><code>N</code></em>]\n</span></dt><dd><p>\u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002</p></dd></dl></div><p>\n</p></dd><p><a href=\"/zh/docs/12/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "summary": "Byte1('G') \u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002 Int32 \u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002 Int8 0 \u8868\u793a\u6574\u4f53 COPY \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 COPY \u3002 Int16 \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 N \u8868\u793a\uff09\u3002 Int16[ N ] \u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002", "version": "12", "link_map": {"/zh/docs/12/sql-copy.html": "/docs/12/sql-copy.html", "/zh/docs/12/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS": "/docs/12/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS"}, "body_html": "<p>\u534f\u8bae\u6d88\u606f CopyInResponse (B)\u3002</p><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u5b9a\u4e49</h3><dd><p>\n</p><div><dl><dt><span>\n        Byte1(&#39;G&#39;)\n</span></dt><dd><p>\u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002</p></dd><dt><span>Int32</span></dt><dd><p>\u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002</p></dd><dt><span>\n        Int8\n</span></dt><dd><p>\n         0 \u8868\u793a\u6574\u4f53 <code>COPY</code> \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 <a href=\"/zh/docs/12/sql-copy.html\" rel=\"nofollow\"><span>COPY</span></a>\u3002\n        </p></dd><dt><span>Int16</span></dt><dd><p>\n         \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 <em><code>N</code></em> \u8868\u793a\uff09\u3002\n        </p></dd><dt><span>\n        Int16[<em><code>N</code></em>]\n</span></dt><dd><p>\u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002</p></dd></dl></div><p>\n</p></dd><p><a href=\"/zh/docs/12/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>", "body_sha256": "69ca948b6245d84a9f284b0349f4c0218a5833f604ee763e727f861c75a07916", "content_hash": "28c0be0f2858c60cadc11d1d1a91dfbcc081027cd30916e0b315cf762dc7a1b3", "source_database": "center", "source_revision": "8df3c0474782589d3c6f374b5133b1bd14d168086edbc13c6e72e67dd4527a3b"}, "direction": "B", "signature": "CopyInResponse (B)", "tables_zh": [{"key": "fields", "rows": [{"c0": "1", "c1": "Byte1('G')", "c2": "\u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002"}, {"c0": "2", "c1": "Int32", "c2": "\u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002"}, {"c0": "3", "c1": "Int8", "c2": "0 \u8868\u793a COPY \u7684\u6574\u4f53\u683c\u5f0f\u4e3a\u6587\u672c\uff08\u7528\u6362\u884c\u7b26\u5206\u9694\u884c\u3001\u7528\u5206\u9694\u5b57\u7b26\u5206\u9694\u5217\u7b49\uff09\uff1b1 \u8868\u793a\u6574\u4f53\u683c\u5f0f\u4e3a\u4e8c\u8fdb\u5236\uff08\u7c7b\u4f3c DataRow \u683c\u5f0f\uff09\u3002\u8be6\u60c5\u53c2\u89c1 COPY\u3002"}, {"c0": "4", "c1": "Int16", "c2": "\u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 N \u8868\u793a\uff09\u3002"}, {"c0": "5", "c1": "Int16[ N ]", "c2": "\u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002"}], "title": "\u6309\u624b\u518c\u987a\u5e8f\u6392\u5217\u7684\u7ebf\u4e0a\u534f\u8bae\u5b57\u6bb5", "columns": [{"key": "c0", "label": "\u4f4d\u7f6e"}, {"key": "c1", "label": "\u683c\u5f0f"}, {"key": "c2", "label": "\u542b\u4e49"}]}], "description": ["Byte1('G') \u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002 Int32 \u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002 Int8 0 \u8868\u793a\u6574\u4f53 COPY \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 COPY \u3002 Int16 \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 N \u8868\u793a\uff09\u3002 Int16[ N ] \u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002"], "manual_html": "", "manual_path": "/docs/12/protocol-message-formats.html", "sections_zh": [{"title": "\u6d88\u606f\u8fb9\u754c\u4e0e\u91cd\u590d\u5b57\u6bb5", "paragraphs": ["\u4e0b\u65b9\u5b8c\u6574\u5b9a\u4e49\u4fdd\u7559\u91cd\u590d\u9879\u3001\u8ba1\u6570\u4e0e\u6761\u4ef6\u5b57\u6bb5\u3002\u8868\u683c\u884c\u53f7\u8868\u793a\u6587\u6863\u4e2d\u7684\u5b57\u6bb5\u5b9a\u4e49\uff0c\u5e76\u975e\u56fa\u5b9a\u5b57\u8282\u504f\u79fb\u91cf\u3002\u6574\u6570\u7f16\u7801\u4e0e\u4ea4\u4e92\u6d41\u7a0b\u4ee5\u540c\u7248\u672c\u534f\u8bae\u7ae0\u8282\u4e3a\u51c6\u3002"]}], "localization": {"status": "complete", "sources": [{"url": "/docs/12/protocol-message-formats.html", "method": "same-major semantic node", "sha256": "1d8b90803d96546f1f4c7412e486a669852503476ec078069948005061c1122c", "language": "zh", "matched_nodes": ["#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[1]/div[0]/dl[0]/dd[3]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[43]/div[0]/dl[0]/dd[1]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[43]/div[0]/dl[0]/dd[7]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[43]/div[0]/dl[0]/dd[9]"]}], "language": "zh", "original_text": {"/versions/12/description/0": "CopyInResponse is a backend protocol message. Identifies the message as a Start Copy In response. The frontend must now send copy-in data (if not prepared to do so, send a CopyFail message).", "/versions/12/facts/0/label": "Direction", "/versions/12/facts/0/value": "Backend \u2192 frontend", "/versions/12/facts/1/label": "First wire field", "/versions/12/facts/2/label": "Field entries", "/versions/12/facts/3/label": "Documented flow contexts", "/versions/12/facts/3/value": "Simple Query; COPY Operations", "/versions/12/tables/0/title": "Wire fields in documented order", "/versions/12/related/0/label": "Protocol flow and exchange examples", "/versions/12/related/1/label": "Protocol overview", "/versions/12/related/2/label": "Simple Query", "/versions/12/related/3/label": "COPY Operations", "/versions/12/sections/0/title": "Framing and repetition", "/versions/12/tables/0/rows/0/c2": "Identifies the message as a Start Copy In response. The frontend must now send copy-in data (if not prepared to do so, send a CopyFail message).", "/versions/12/tables/0/rows/1/c2": "Length of message contents in bytes, including self.", "/versions/12/tables/0/rows/2/c2": "0 indicates the overall COPY format is textual (rows separated by newlines, columns separated by separator characters, etc). 1 indicates the overall copy format is binary (similar to DataRow format). See COPY for more information.", "/versions/12/tables/0/rows/3/c2": "The number of columns in the data to be copied (denoted N below).", "/versions/12/tables/0/rows/4/c2": "The format codes to be used for each column. Each must presently be zero (text) or one (binary). All must be zero if the overall copy format is textual.", "/versions/12/sections/0/paragraphs/0": "The complete definition below retains repetition, counts and conditional fields. A numbered table row is a documented field definition, not a fixed byte offset. Integer encodings and flow rules follow the same-version protocol chapter.", "/versions/12/tables/0/columns/0/label": "Position", "/versions/12/tables/0/columns/1/label": "Format", "/versions/12/tables/0/columns/2/label": "Meaning"}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "0a337542aa9d9be53fe24ac0818540222a45fcd35be2be259f426822eaf0e969", "canonical_center_text_hash": "28c0be0f2858c60cadc11d1d1a91dfbcc081027cd30916e0b315cf762dc7a1b3"}, "description_zh": "Byte1('G') \u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002 Int32 \u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002 Int8 0 \u8868\u793a\u6574\u4f53 COPY \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 COPY \u3002 Int16 \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 N \u8868\u793a\uff09\u3002 Int16[ N ] \u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002", "comparison_data": {"fields": [{"format": "Byte1('G')", "description": "Identifies the message as a Start Copy In response. The frontend must now send copy-in data (if not prepared to do so, send a CopyFail message)."}, {"format": "Int32", "description": "Length of message contents in bytes, including self."}, {"format": "Int8", "description": "0 indicates the overall COPY format is textual (rows separated by newlines, columns separated by separator characters, etc). 1 indicates the overall copy format is binary (similar to DataRow format). See COPY for more information."}, {"format": "Int16", "description": "The number of columns in the data to be copied (denoted N below)."}, {"format": "Int16[ N ]", "description": "The format codes to be used for each column. Each must presently be zero (text) or one (binary). All must be zero if the overall copy format is textual."}], "direction": "B"}, "comparison_hash": "51812fe86333cebae645cef676116226d5ea061dfa2dbc48856147443c50012e", "manual_language": "zh", "description_zh_html": "<p>\u534f\u8bae\u6d88\u606f CopyInResponse (B)\u3002</p><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u5b9a\u4e49</h3><dd><p>\n</p><div><dl><dt><span>\n        Byte1(&#39;G&#39;)\n</span></dt><dd><p>\u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002</p></dd><dt><span>Int32</span></dt><dd><p>\u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002</p></dd><dt><span>\n        Int8\n</span></dt><dd><p>\n         0 \u8868\u793a\u6574\u4f53 <code>COPY</code> \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 <a href=\"/zh/docs/12/sql-copy.html\" rel=\"nofollow\"><span>COPY</span></a>\u3002\n        </p></dd><dt><span>Int16</span></dt><dd><p>\n         \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 <em><code>N</code></em> \u8868\u793a\uff09\u3002\n        </p></dd><dt><span>\n        Int16[<em><code>N</code></em>]\n</span></dt><dd><p>\u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002</p></dd></dl></div><p>\n</p></dd><p><a href=\"/zh/docs/12/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "13": {"facts": [{"label": "\u65b9\u5411", "value": "\u540e\u7aef \u2192 \u524d\u7aef"}, {"label": "\u9996\u4e2a\u7ebf\u4e0a\u534f\u8bae\u5b57\u6bb5", "value": "Byte1('G')"}, {"label": "\u5b57\u6bb5\u6761\u76ee", "value": "5"}, {"label": "\u624b\u518c\u4e2d\u7684\u4ea4\u4e92\u9636\u6bb5", "value": "\u7b80\u5355\u67e5\u8be2\uff1bCOPY \u64cd\u4f5c"}], "fields": [{"format": "Byte1('G')", "description": "Identifies the message as a Start Copy In response. The frontend must now send copy-in data (if not prepared to do so, send a CopyFail message)."}, {"format": "Int32", "description": "Length of message contents in bytes, including self."}, {"format": "Int8", "description": "0 indicates the overall COPY format is textual (rows separated by newlines, columns separated by separator characters, etc). 1 indicates the overall copy format is binary (similar to DataRow format). See COPY for more information."}, {"format": "Int16", "description": "The number of columns in the data to be copied (denoted N below)."}, {"format": "Int16[ N ]", "description": "The format codes to be used for each column. Each must presently be zero (text) or one (binary). All must be zero if the overall copy format is textual."}], "tables": [{"key": "fields", "rows": [{"c0": "1", "c1": "Byte1('G')", "c2": "\u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002"}, {"c0": "2", "c1": "Int32", "c2": "\u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002"}, {"c0": "3", "c1": "Int8", "c2": "0 \u8868\u793a COPY \u7684\u6574\u4f53\u683c\u5f0f\u4e3a\u6587\u672c\uff08\u7528\u6362\u884c\u7b26\u5206\u9694\u884c\u3001\u7528\u5206\u9694\u5b57\u7b26\u5206\u9694\u5217\u7b49\uff09\uff1b1 \u8868\u793a\u6574\u4f53\u683c\u5f0f\u4e3a\u4e8c\u8fdb\u5236\uff08\u7c7b\u4f3c DataRow \u683c\u5f0f\uff09\u3002\u8be6\u60c5\u53c2\u89c1 COPY\u3002"}, {"c0": "4", "c1": "Int16", "c2": "\u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 N \u8868\u793a\uff09\u3002"}, {"c0": "5", "c1": "Int16[ N ]", "c2": "\u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002"}], "title": "\u6309\u624b\u518c\u987a\u5e8f\u6392\u5217\u7684\u7ebf\u4e0a\u534f\u8bae\u5b57\u6bb5", "columns": [{"key": "c0", "label": "\u4f4d\u7f6e"}, {"key": "c1", "label": "\u683c\u5f0f"}, {"key": "c2", "label": "\u542b\u4e49"}]}], "related": [{"url": "/docs/13/protocol-flow.html", "label": "\u534f\u8bae\u6d41\u7a0b\u4e0e\u4ea4\u4e92\u793a\u4f8b"}, {"url": "/docs/13/protocol-overview.html", "label": "\u534f\u8bae\u6982\u8ff0"}, {"url": "/docs/13/protocol-flow.html#id-1.10.5.7.4", "label": "\u7b80\u5355\u67e5\u8be2"}, {"url": "/docs/13/protocol-flow.html#PROTOCOL-COPY", "label": "COPY \u64cd\u4f5c"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v13.23/postgresql-13.23.tar.bz2", "label": "13.23", "major": "13", "channel": "stable", "revision": "6ec3c82726af92b7dec873fa1cdf881eca92a4219787dfad05acb6b10e041fd6"}, "sources": [{"url": "/docs/13/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS", "path": "protocol-message-formats.html", "label": "PostgreSQL 13 English manual", "sha256": "86bc62b343a9bd881a6832cced7d81285a9924985ea598ee2b207bbb4ba9666e"}], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-identity", "manual": {"url": "/zh/docs/13/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS", "anchor": "PROTOCOL-MESSAGE-FORMATS", "locale": "zh-Hans", "version": "13", "build_id": 66, "page_key": "protocol-message-formats.html", "extraction": "exact-definition", "source_hash": "f528933d3d49a628dc271c84fe2e25f517ee866bbb01914a395c3d878a1873f3", "fragment_sha256": "f7f383f5e2fb224f4e2a4cd96d97294043b5eba3a1d547902e86e553b4800276", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "snapshot:sha256:a13a825c39f0268ef1cfe9137e283e38d0da73b2d7894f0733c7b26372a4f6a4", "translated_from_revision": null}, "body_sha256": "709b89c988962df6905c34ce5b42d610e59ea9ab60ea6f2a304d78890fe64159", "runtime_rerun": false, "authored_translation": "source-derived-identity", "source_facts_revision": "6ec3c82726af92b7dec873fa1cdf881eca92a4219787dfad05acb6b10e041fd6"}, "facts_zh": [{"label": "\u65b9\u5411", "value": "\u540e\u7aef \u2192 \u524d\u7aef"}, {"label": "\u9996\u4e2a\u7ebf\u4e0a\u534f\u8bae\u5b57\u6bb5", "value": "Byte1('G')"}, {"label": "\u5b57\u6bb5\u6761\u76ee", "value": "5"}, {"label": "\u624b\u518c\u4e2d\u7684\u4ea4\u4e92\u9636\u6bb5", "value": "\u7b80\u5355\u67e5\u8be2\uff1bCOPY \u64cd\u4f5c"}], "sections": [{"title": "\u6d88\u606f\u8fb9\u754c\u4e0e\u91cd\u590d\u5b57\u6bb5", "paragraphs": ["\u4e0b\u65b9\u5b8c\u6574\u5b9a\u4e49\u4fdd\u7559\u91cd\u590d\u9879\u3001\u8ba1\u6570\u4e0e\u6761\u4ef6\u5b57\u6bb5\u3002\u8868\u683c\u884c\u53f7\u8868\u793a\u6587\u6863\u4e2d\u7684\u5b57\u6bb5\u5b9a\u4e49\uff0c\u5e76\u975e\u56fa\u5b9a\u5b57\u8282\u504f\u79fb\u91cf\u3002\u6574\u6570\u7f16\u7801\u4e0e\u4ea4\u4e92\u6d41\u7a0b\u4ee5\u540c\u7248\u672c\u534f\u8bae\u7ae0\u8282\u4e3a\u51c6\u3002"]}], "center_zh": {"title": "CopyInResponse", "locale": "zh-Hans", "source": {"key": "copyinresponse-b", "locale": "zh-Hans", "version": "13", "text_hash": "7d83ef31cc6276afad04e1f469b2f874c45907ec226fe0d835054b409926a8c1", "collection": "protocol", "dataset_hash": "7c31b524dfe136022d39a6ae8dcfac6b3bbd5f8fdaf422536599981252aff0c9", "source_database": "center", "source_revision": "6ec3c82726af92b7dec873fa1cdf881eca92a4219787dfad05acb6b10e041fd6"}, "payload": {"facts": [{"label": "\u65b9\u5411", "value": "\u540e\u7aef \u2192 \u524d\u7aef"}, {"label": "\u9996\u4e2a\u7ebf\u4e0a\u534f\u8bae\u5b57\u6bb5", "value": "Byte1('G')"}, {"label": "\u5b57\u6bb5\u6761\u76ee", "value": "5"}, {"label": "\u624b\u518c\u4e2d\u7684\u4ea4\u4e92\u9636\u6bb5", "value": "\u7b80\u5355\u67e5\u8be2\uff1bCOPY \u64cd\u4f5c"}], "tables": [{"key": "fields", "rows": [{"c0": "1", "c1": "Byte1('G')", "c2": "\u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002"}, {"c0": "2", "c1": "Int32", "c2": "\u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002"}, {"c0": "3", "c1": "Int8", "c2": "0 \u8868\u793a COPY \u7684\u6574\u4f53\u683c\u5f0f\u4e3a\u6587\u672c\uff08\u7528\u6362\u884c\u7b26\u5206\u9694\u884c\u3001\u7528\u5206\u9694\u5b57\u7b26\u5206\u9694\u5217\u7b49\uff09\uff1b1 \u8868\u793a\u6574\u4f53\u683c\u5f0f\u4e3a\u4e8c\u8fdb\u5236\uff08\u7c7b\u4f3c DataRow \u683c\u5f0f\uff09\u3002\u8be6\u60c5\u53c2\u89c1 COPY\u3002"}, {"c0": "4", "c1": "Int16", "c2": "\u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 N \u8868\u793a\uff09\u3002"}, {"c0": "5", "c1": "Int16[ N ]", "c2": "\u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002"}], "title": "\u6309\u624b\u518c\u987a\u5e8f\u6392\u5217\u7684\u7ebf\u4e0a\u534f\u8bae\u5b57\u6bb5", "columns": [{"key": "c0", "label": "\u4f4d\u7f6e"}, {"key": "c1", "label": "\u683c\u5f0f"}, {"key": "c2", "label": "\u542b\u4e49"}]}], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-identity", "manual": {"url": "/zh/docs/13/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS", "anchor": "PROTOCOL-MESSAGE-FORMATS", "locale": "zh-Hans", "version": "13", "build_id": 66, "page_key": "protocol-message-formats.html", "extraction": "exact-definition", "source_hash": "f528933d3d49a628dc271c84fe2e25f517ee866bbb01914a395c3d878a1873f3", "fragment_sha256": "f7f383f5e2fb224f4e2a4cd96d97294043b5eba3a1d547902e86e553b4800276", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "snapshot:sha256:a13a825c39f0268ef1cfe9137e283e38d0da73b2d7894f0733c7b26372a4f6a4", "translated_from_revision": null}, "body_sha256": "709b89c988962df6905c34ce5b42d610e59ea9ab60ea6f2a304d78890fe64159", "runtime_rerun": false, "authored_translation": "source-derived-identity", "source_facts_revision": "6ec3c82726af92b7dec873fa1cdf881eca92a4219787dfad05acb6b10e041fd6"}, "sections": [{"title": "\u6d88\u606f\u8fb9\u754c\u4e0e\u91cd\u590d\u5b57\u6bb5", "paragraphs": ["\u4e0b\u65b9\u5b8c\u6574\u5b9a\u4e49\u4fdd\u7559\u91cd\u590d\u9879\u3001\u8ba1\u6570\u4e0e\u6761\u4ef6\u5b57\u6bb5\u3002\u8868\u683c\u884c\u53f7\u8868\u793a\u6587\u6863\u4e2d\u7684\u5b57\u6bb5\u5b9a\u4e49\uff0c\u5e76\u975e\u56fa\u5b9a\u5b57\u8282\u504f\u79fb\u91cf\u3002\u6574\u6570\u7f16\u7801\u4e0e\u4ea4\u4e92\u6d41\u7a0b\u4ee5\u540c\u7248\u672c\u534f\u8bae\u7ae0\u8282\u4e3a\u51c6\u3002"]}], "description_zh": "Byte1('G') \u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002 Int32 \u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002 Int8 0 \u8868\u793a\u6574\u4f53 COPY \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 COPY \u3002 Int16 \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 N \u8868\u793a\uff09\u3002 Int16[ N ] \u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002", "description_zh_html": "<p>\u534f\u8bae\u6d88\u606f CopyInResponse (B)\u3002</p><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u5b9a\u4e49</h3><dd><p>\n</p><div class=\"variablelist\"><dl class=\"variablelist\"><dt><span class=\"term\">\n        Byte1('G')\n</span></dt><dd><p>\u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002</p></dd><dt><span class=\"term\">Int32</span></dt><dd><p>\u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002</p></dd><dt><span class=\"term\">\n        Int8\n</span></dt><dd><p>\n         0 \u8868\u793a\u6574\u4f53 <code class=\"command\">COPY</code> \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 <a class=\"xref\" href=\"/zh/docs/13/sql-copy.html\"><span class=\"refentrytitle\">COPY</span></a>\u3002\n        </p></dd><dt><span class=\"term\">Int16</span></dt><dd><p>\n         \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 <em class=\"replaceable\"><code>N</code></em> \u8868\u793a\uff09\u3002\n        </p></dd><dt><span class=\"term\">\n        Int16[<em class=\"replaceable\"><code>N</code></em>]\n</span></dt><dd><p>\u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002</p></dd></dl></div><p>\n</p></dd><p><a href=\"/zh/docs/13/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "summary": "Byte1('G') \u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002 Int32 \u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002 Int8 0 \u8868\u793a\u6574\u4f53 COPY \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 COPY \u3002 Int16 \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 N \u8868\u793a\uff09\u3002 Int16[ N ] \u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002", "version": "13", "link_map": {"/zh/docs/13/sql-copy.html": "/docs/13/sql-copy.html", "/zh/docs/13/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS": "/docs/13/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS"}, "body_html": "<p>\u534f\u8bae\u6d88\u606f CopyInResponse (B)\u3002</p><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u5b9a\u4e49</h3><dd><p>\n</p><div><dl><dt><span>\n        Byte1(&#39;G&#39;)\n</span></dt><dd><p>\u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002</p></dd><dt><span>Int32</span></dt><dd><p>\u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002</p></dd><dt><span>\n        Int8\n</span></dt><dd><p>\n         0 \u8868\u793a\u6574\u4f53 <code>COPY</code> \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 <a href=\"/zh/docs/13/sql-copy.html\" rel=\"nofollow\"><span>COPY</span></a>\u3002\n        </p></dd><dt><span>Int16</span></dt><dd><p>\n         \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 <em><code>N</code></em> \u8868\u793a\uff09\u3002\n        </p></dd><dt><span>\n        Int16[<em><code>N</code></em>]\n</span></dt><dd><p>\u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002</p></dd></dl></div><p>\n</p></dd><p><a href=\"/zh/docs/13/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>", "body_sha256": "f2e2e3b7f69dbcd9fbd0fc6b54bae6795b2b25ee220af41009b2c36eef9d1e4e", "content_hash": "7d83ef31cc6276afad04e1f469b2f874c45907ec226fe0d835054b409926a8c1", "source_database": "center", "source_revision": "6ec3c82726af92b7dec873fa1cdf881eca92a4219787dfad05acb6b10e041fd6"}, "direction": "B", "signature": "CopyInResponse (B)", "tables_zh": [{"key": "fields", "rows": [{"c0": "1", "c1": "Byte1('G')", "c2": "\u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002"}, {"c0": "2", "c1": "Int32", "c2": "\u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002"}, {"c0": "3", "c1": "Int8", "c2": "0 \u8868\u793a COPY \u7684\u6574\u4f53\u683c\u5f0f\u4e3a\u6587\u672c\uff08\u7528\u6362\u884c\u7b26\u5206\u9694\u884c\u3001\u7528\u5206\u9694\u5b57\u7b26\u5206\u9694\u5217\u7b49\uff09\uff1b1 \u8868\u793a\u6574\u4f53\u683c\u5f0f\u4e3a\u4e8c\u8fdb\u5236\uff08\u7c7b\u4f3c DataRow \u683c\u5f0f\uff09\u3002\u8be6\u60c5\u53c2\u89c1 COPY\u3002"}, {"c0": "4", "c1": "Int16", "c2": "\u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 N \u8868\u793a\uff09\u3002"}, {"c0": "5", "c1": "Int16[ N ]", "c2": "\u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002"}], "title": "\u6309\u624b\u518c\u987a\u5e8f\u6392\u5217\u7684\u7ebf\u4e0a\u534f\u8bae\u5b57\u6bb5", "columns": [{"key": "c0", "label": "\u4f4d\u7f6e"}, {"key": "c1", "label": "\u683c\u5f0f"}, {"key": "c2", "label": "\u542b\u4e49"}]}], "description": ["Byte1('G') \u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002 Int32 \u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002 Int8 0 \u8868\u793a\u6574\u4f53 COPY \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 COPY \u3002 Int16 \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 N \u8868\u793a\uff09\u3002 Int16[ N ] \u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002"], "manual_html": "", "manual_path": "/docs/13/protocol-message-formats.html", "sections_zh": [{"title": "\u6d88\u606f\u8fb9\u754c\u4e0e\u91cd\u590d\u5b57\u6bb5", "paragraphs": ["\u4e0b\u65b9\u5b8c\u6574\u5b9a\u4e49\u4fdd\u7559\u91cd\u590d\u9879\u3001\u8ba1\u6570\u4e0e\u6761\u4ef6\u5b57\u6bb5\u3002\u8868\u683c\u884c\u53f7\u8868\u793a\u6587\u6863\u4e2d\u7684\u5b57\u6bb5\u5b9a\u4e49\uff0c\u5e76\u975e\u56fa\u5b9a\u5b57\u8282\u504f\u79fb\u91cf\u3002\u6574\u6570\u7f16\u7801\u4e0e\u4ea4\u4e92\u6d41\u7a0b\u4ee5\u540c\u7248\u672c\u534f\u8bae\u7ae0\u8282\u4e3a\u51c6\u3002"]}], "localization": {"status": "complete", "sources": [{"url": "/docs/13/protocol-message-formats.html", "method": "same-major semantic node", "sha256": "90801323e211e99834ac2c19f534fccad08d74098fbce82899c1e1970d871906", "language": "zh", "matched_nodes": ["#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[1]/div[0]/dl[0]/dd[3]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[43]/div[0]/dl[0]/dd[1]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[43]/div[0]/dl[0]/dd[7]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[43]/div[0]/dl[0]/dd[9]"]}], "language": "zh", "original_text": {"/versions/13/description/0": "CopyInResponse is a backend protocol message. Identifies the message as a Start Copy In response. The frontend must now send copy-in data (if not prepared to do so, send a CopyFail message).", "/versions/13/facts/0/label": "Direction", "/versions/13/facts/0/value": "Backend \u2192 frontend", "/versions/13/facts/1/label": "First wire field", "/versions/13/facts/2/label": "Field entries", "/versions/13/facts/3/label": "Documented flow contexts", "/versions/13/facts/3/value": "Simple Query; COPY Operations", "/versions/13/tables/0/title": "Wire fields in documented order", "/versions/13/related/0/label": "Protocol flow and exchange examples", "/versions/13/related/1/label": "Protocol overview", "/versions/13/related/2/label": "Simple Query", "/versions/13/related/3/label": "COPY Operations", "/versions/13/sections/0/title": "Framing and repetition", "/versions/13/tables/0/rows/0/c2": "Identifies the message as a Start Copy In response. The frontend must now send copy-in data (if not prepared to do so, send a CopyFail message).", "/versions/13/tables/0/rows/1/c2": "Length of message contents in bytes, including self.", "/versions/13/tables/0/rows/2/c2": "0 indicates the overall COPY format is textual (rows separated by newlines, columns separated by separator characters, etc). 1 indicates the overall copy format is binary (similar to DataRow format). See COPY for more information.", "/versions/13/tables/0/rows/3/c2": "The number of columns in the data to be copied (denoted N below).", "/versions/13/tables/0/rows/4/c2": "The format codes to be used for each column. Each must presently be zero (text) or one (binary). All must be zero if the overall copy format is textual.", "/versions/13/sections/0/paragraphs/0": "The complete definition below retains repetition, counts and conditional fields. A numbered table row is a documented field definition, not a fixed byte offset. Integer encodings and flow rules follow the same-version protocol chapter.", "/versions/13/tables/0/columns/0/label": "Position", "/versions/13/tables/0/columns/1/label": "Format", "/versions/13/tables/0/columns/2/label": "Meaning"}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "55eb0e5783fe379c78f10fe4578ff6d15b8360467fdddb8fbd62b3b6265c6e83", "canonical_center_text_hash": "7d83ef31cc6276afad04e1f469b2f874c45907ec226fe0d835054b409926a8c1"}, "description_zh": "Byte1('G') \u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002 Int32 \u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002 Int8 0 \u8868\u793a\u6574\u4f53 COPY \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 COPY \u3002 Int16 \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 N \u8868\u793a\uff09\u3002 Int16[ N ] \u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002", "comparison_data": {"fields": [{"format": "Byte1('G')", "description": "Identifies the message as a Start Copy In response. The frontend must now send copy-in data (if not prepared to do so, send a CopyFail message)."}, {"format": "Int32", "description": "Length of message contents in bytes, including self."}, {"format": "Int8", "description": "0 indicates the overall COPY format is textual (rows separated by newlines, columns separated by separator characters, etc). 1 indicates the overall copy format is binary (similar to DataRow format). See COPY for more information."}, {"format": "Int16", "description": "The number of columns in the data to be copied (denoted N below)."}, {"format": "Int16[ N ]", "description": "The format codes to be used for each column. Each must presently be zero (text) or one (binary). All must be zero if the overall copy format is textual."}], "direction": "B"}, "comparison_hash": "51812fe86333cebae645cef676116226d5ea061dfa2dbc48856147443c50012e", "manual_language": "zh", "description_zh_html": "<p>\u534f\u8bae\u6d88\u606f CopyInResponse (B)\u3002</p><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u5b9a\u4e49</h3><dd><p>\n</p><div><dl><dt><span>\n        Byte1(&#39;G&#39;)\n</span></dt><dd><p>\u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002</p></dd><dt><span>Int32</span></dt><dd><p>\u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002</p></dd><dt><span>\n        Int8\n</span></dt><dd><p>\n         0 \u8868\u793a\u6574\u4f53 <code>COPY</code> \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 <a href=\"/zh/docs/13/sql-copy.html\" rel=\"nofollow\"><span>COPY</span></a>\u3002\n        </p></dd><dt><span>Int16</span></dt><dd><p>\n         \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 <em><code>N</code></em> \u8868\u793a\uff09\u3002\n        </p></dd><dt><span>\n        Int16[<em><code>N</code></em>]\n</span></dt><dd><p>\u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002</p></dd></dl></div><p>\n</p></dd><p><a href=\"/zh/docs/13/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "14": {"facts": [{"label": "\u65b9\u5411", "value": "\u540e\u7aef \u2192 \u524d\u7aef"}, {"label": "\u9996\u4e2a\u7ebf\u4e0a\u534f\u8bae\u5b57\u6bb5", "value": "Byte1('G')"}, {"label": "\u5b57\u6bb5\u6761\u76ee", "value": "5"}, {"label": "\u624b\u518c\u4e2d\u7684\u4ea4\u4e92\u9636\u6bb5", "value": "\u7b80\u5355\u67e5\u8be2\uff1bCOPY \u64cd\u4f5c"}], "fields": [{"format": "Byte1('G')", "description": "Identifies the message as a Start Copy In response. The frontend must now send copy-in data (if not prepared to do so, send a CopyFail message)."}, {"format": "Int32", "description": "Length of message contents in bytes, including self."}, {"format": "Int8", "description": "0 indicates the overall COPY format is textual (rows separated by newlines, columns separated by separator characters, etc). 1 indicates the overall copy format is binary (similar to DataRow format). See COPY for more information."}, {"format": "Int16", "description": "The number of columns in the data to be copied (denoted N below)."}, {"format": "Int16[ N ]", "description": "The format codes to be used for each column. Each must presently be zero (text) or one (binary). All must be zero if the overall copy format is textual."}], "tables": [{"key": "fields", "rows": [{"c0": "1", "c1": "Byte1('G')", "c2": "\u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002"}, {"c0": "2", "c1": "Int32", "c2": "\u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002"}, {"c0": "3", "c1": "Int8", "c2": "0 \u8868\u793a COPY \u7684\u6574\u4f53\u683c\u5f0f\u4e3a\u6587\u672c\uff08\u7528\u6362\u884c\u7b26\u5206\u9694\u884c\u3001\u7528\u5206\u9694\u5b57\u7b26\u5206\u9694\u5217\u7b49\uff09\uff1b1 \u8868\u793a\u6574\u4f53\u683c\u5f0f\u4e3a\u4e8c\u8fdb\u5236\uff08\u7c7b\u4f3c DataRow \u683c\u5f0f\uff09\u3002\u8be6\u60c5\u53c2\u89c1 COPY\u3002"}, {"c0": "4", "c1": "Int16", "c2": "\u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 N \u8868\u793a\uff09\u3002"}, {"c0": "5", "c1": "Int16[ N ]", "c2": "\u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002"}], "title": "\u6309\u624b\u518c\u987a\u5e8f\u6392\u5217\u7684\u7ebf\u4e0a\u534f\u8bae\u5b57\u6bb5", "columns": [{"key": "c0", "label": "\u4f4d\u7f6e"}, {"key": "c1", "label": "\u683c\u5f0f"}, {"key": "c2", "label": "\u542b\u4e49"}]}], "related": [{"url": "/docs/14/protocol-flow.html", "label": "\u534f\u8bae\u6d41\u7a0b\u4e0e\u4ea4\u4e92\u793a\u4f8b"}, {"url": "/docs/14/protocol-overview.html", "label": "\u534f\u8bae\u6982\u8ff0"}, {"url": "/docs/14/protocol-flow.html#id-1.10.5.7.4", "label": "\u7b80\u5355\u67e5\u8be2"}, {"url": "/docs/14/protocol-flow.html#PROTOCOL-COPY", "label": "COPY \u64cd\u4f5c"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v14.24/postgresql-14.24.tar.bz2", "label": "14.24", "major": "14", "channel": "stable", "revision": "a7fa7ed3d558172355f51406097a7bd4f6b473be80f311ef7cda96bf383d8897"}, "sources": [{"url": "/docs/14/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS", "path": "protocol-message-formats.html", "label": "PostgreSQL 14 English manual", "sha256": "250fd6a2529964948260a546f72931e259885bb222b62c3bdbf5ab402b72987b"}], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-identity", "manual": {"url": "/zh/docs/14/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS", "anchor": "PROTOCOL-MESSAGE-FORMATS", "locale": "zh-Hans", "version": "14", "build_id": 99, "page_key": "protocol-message-formats.html", "extraction": "exact-definition", "source_hash": "4cb6571b756c2b8f4e3e5f0710a5f70b495f4f380a8eea05e2db265978d27607", "fragment_sha256": "be492bf02a6891f256bdfe29857c4934064c0ebd9c341ec586fa1896b005a7e9", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "git:b1b500221dbe5437cfca004d6b04d3f6e422765d;html-sha256:87e6aa4fd6e1ec85c5f4a6de4f5647cfd9e5de734ca2c266d32b6d6192c662ef", "translated_from_revision": null}, "body_sha256": "36f919f283e7c1ea352aa809b64332071bab7d480ce48d13bbd3f8e5d8c8604f", "runtime_rerun": false, "authored_translation": "source-derived-identity", "source_facts_revision": "a7fa7ed3d558172355f51406097a7bd4f6b473be80f311ef7cda96bf383d8897"}, "facts_zh": [{"label": "\u65b9\u5411", "value": "\u540e\u7aef \u2192 \u524d\u7aef"}, {"label": "\u9996\u4e2a\u7ebf\u4e0a\u534f\u8bae\u5b57\u6bb5", "value": "Byte1('G')"}, {"label": "\u5b57\u6bb5\u6761\u76ee", "value": "5"}, {"label": "\u624b\u518c\u4e2d\u7684\u4ea4\u4e92\u9636\u6bb5", "value": "\u7b80\u5355\u67e5\u8be2\uff1bCOPY \u64cd\u4f5c"}], "sections": [{"title": "\u6d88\u606f\u8fb9\u754c\u4e0e\u91cd\u590d\u5b57\u6bb5", "paragraphs": ["\u4e0b\u65b9\u5b8c\u6574\u5b9a\u4e49\u4fdd\u7559\u91cd\u590d\u9879\u3001\u8ba1\u6570\u4e0e\u6761\u4ef6\u5b57\u6bb5\u3002\u8868\u683c\u884c\u53f7\u8868\u793a\u6587\u6863\u4e2d\u7684\u5b57\u6bb5\u5b9a\u4e49\uff0c\u5e76\u975e\u56fa\u5b9a\u5b57\u8282\u504f\u79fb\u91cf\u3002\u6574\u6570\u7f16\u7801\u4e0e\u4ea4\u4e92\u6d41\u7a0b\u4ee5\u540c\u7248\u672c\u534f\u8bae\u7ae0\u8282\u4e3a\u51c6\u3002"]}], "center_zh": {"title": "CopyInResponse", "locale": "zh-Hans", "source": {"key": "copyinresponse-b", "locale": "zh-Hans", "version": "14", "text_hash": "2e38793dd015ea9288413f23c208cadb6b7ff01e4f3981268c5b26651245606a", "collection": "protocol", "dataset_hash": "7c31b524dfe136022d39a6ae8dcfac6b3bbd5f8fdaf422536599981252aff0c9", "source_database": "center", "source_revision": "a7fa7ed3d558172355f51406097a7bd4f6b473be80f311ef7cda96bf383d8897"}, "payload": {"facts": [{"label": "\u65b9\u5411", "value": "\u540e\u7aef \u2192 \u524d\u7aef"}, {"label": "\u9996\u4e2a\u7ebf\u4e0a\u534f\u8bae\u5b57\u6bb5", "value": "Byte1('G')"}, {"label": "\u5b57\u6bb5\u6761\u76ee", "value": "5"}, {"label": "\u624b\u518c\u4e2d\u7684\u4ea4\u4e92\u9636\u6bb5", "value": "\u7b80\u5355\u67e5\u8be2\uff1bCOPY \u64cd\u4f5c"}], "tables": [{"key": "fields", "rows": [{"c0": "1", "c1": "Byte1('G')", "c2": "\u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002"}, {"c0": "2", "c1": "Int32", "c2": "\u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002"}, {"c0": "3", "c1": "Int8", "c2": "0 \u8868\u793a COPY \u7684\u6574\u4f53\u683c\u5f0f\u4e3a\u6587\u672c\uff08\u7528\u6362\u884c\u7b26\u5206\u9694\u884c\u3001\u7528\u5206\u9694\u5b57\u7b26\u5206\u9694\u5217\u7b49\uff09\uff1b1 \u8868\u793a\u6574\u4f53\u683c\u5f0f\u4e3a\u4e8c\u8fdb\u5236\uff08\u7c7b\u4f3c DataRow \u683c\u5f0f\uff09\u3002\u8be6\u60c5\u53c2\u89c1 COPY\u3002"}, {"c0": "4", "c1": "Int16", "c2": "\u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 N \u8868\u793a\uff09\u3002"}, {"c0": "5", "c1": "Int16[ N ]", "c2": "\u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002"}], "title": "\u6309\u624b\u518c\u987a\u5e8f\u6392\u5217\u7684\u7ebf\u4e0a\u534f\u8bae\u5b57\u6bb5", "columns": [{"key": "c0", "label": "\u4f4d\u7f6e"}, {"key": "c1", "label": "\u683c\u5f0f"}, {"key": "c2", "label": "\u542b\u4e49"}]}], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-identity", "manual": {"url": "/zh/docs/14/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS", "anchor": "PROTOCOL-MESSAGE-FORMATS", "locale": "zh-Hans", "version": "14", "build_id": 99, "page_key": "protocol-message-formats.html", "extraction": "exact-definition", "source_hash": "4cb6571b756c2b8f4e3e5f0710a5f70b495f4f380a8eea05e2db265978d27607", "fragment_sha256": "be492bf02a6891f256bdfe29857c4934064c0ebd9c341ec586fa1896b005a7e9", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "git:b1b500221dbe5437cfca004d6b04d3f6e422765d;html-sha256:87e6aa4fd6e1ec85c5f4a6de4f5647cfd9e5de734ca2c266d32b6d6192c662ef", "translated_from_revision": null}, "body_sha256": "36f919f283e7c1ea352aa809b64332071bab7d480ce48d13bbd3f8e5d8c8604f", "runtime_rerun": false, "authored_translation": "source-derived-identity", "source_facts_revision": "a7fa7ed3d558172355f51406097a7bd4f6b473be80f311ef7cda96bf383d8897"}, "sections": [{"title": "\u6d88\u606f\u8fb9\u754c\u4e0e\u91cd\u590d\u5b57\u6bb5", "paragraphs": ["\u4e0b\u65b9\u5b8c\u6574\u5b9a\u4e49\u4fdd\u7559\u91cd\u590d\u9879\u3001\u8ba1\u6570\u4e0e\u6761\u4ef6\u5b57\u6bb5\u3002\u8868\u683c\u884c\u53f7\u8868\u793a\u6587\u6863\u4e2d\u7684\u5b57\u6bb5\u5b9a\u4e49\uff0c\u5e76\u975e\u56fa\u5b9a\u5b57\u8282\u504f\u79fb\u91cf\u3002\u6574\u6570\u7f16\u7801\u4e0e\u4ea4\u4e92\u6d41\u7a0b\u4ee5\u540c\u7248\u672c\u534f\u8bae\u7ae0\u8282\u4e3a\u51c6\u3002"]}], "description_zh": "Byte1('G') \u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002 Int32 \u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002 Int8 0 \u8868\u793a\u6574\u4f53 COPY \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 COPY \u3002 Int16 \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 N \u8868\u793a\uff09\u3002 Int16[ N ] \u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002", "description_zh_html": "<p>\u534f\u8bae\u6d88\u606f CopyInResponse (B)\u3002</p><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u5b9a\u4e49</h3><dd><div class=\"variablelist\"><dl class=\"variablelist\"><dt><span class=\"term\">Byte1('G')</span></dt><dd><p>\n         \u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002\n        </p></dd><dt><span class=\"term\">Int32</span></dt><dd><p>\n         \u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002\n        </p></dd><dt><span class=\"term\">Int8</span></dt><dd><p>\n         0 \u8868\u793a\u6574\u4f53 <code class=\"command\">COPY</code> \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 <a class=\"xref\" href=\"/zh/docs/14/sql-copy.html\"><span class=\"refentrytitle\">COPY</span></a>\u3002\n        </p></dd><dt><span class=\"term\">Int16</span></dt><dd><p>\n         \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 <em class=\"replaceable\"><code>N</code></em> \u8868\u793a\uff09\u3002\n        </p></dd><dt><span class=\"term\">Int16[<em class=\"replaceable\"><code>N</code></em>]</span></dt><dd><p>\n         \u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002\n        </p></dd></dl></div></dd><p><a href=\"/zh/docs/14/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "summary": "Byte1('G') \u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002 Int32 \u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002 Int8 0 \u8868\u793a\u6574\u4f53 COPY \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 COPY \u3002 Int16 \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 N \u8868\u793a\uff09\u3002 Int16[ N ] \u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002", "version": "14", "link_map": {"/zh/docs/14/sql-copy.html": "/docs/14/sql-copy.html", "/zh/docs/14/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS": "/docs/14/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS"}, "body_html": "<p>\u534f\u8bae\u6d88\u606f CopyInResponse (B)\u3002</p><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u5b9a\u4e49</h3><dd><div><dl><dt><span>Byte1(&#39;G&#39;)</span></dt><dd><p>\n         \u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002\n        </p></dd><dt><span>Int32</span></dt><dd><p>\n         \u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002\n        </p></dd><dt><span>Int8</span></dt><dd><p>\n         0 \u8868\u793a\u6574\u4f53 <code>COPY</code> \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 <a href=\"/zh/docs/14/sql-copy.html\" rel=\"nofollow\"><span>COPY</span></a>\u3002\n        </p></dd><dt><span>Int16</span></dt><dd><p>\n         \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 <em><code>N</code></em> \u8868\u793a\uff09\u3002\n        </p></dd><dt><span>Int16[<em><code>N</code></em>]</span></dt><dd><p>\n         \u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002\n        </p></dd></dl></div></dd><p><a href=\"/zh/docs/14/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>", "body_sha256": "c89df82fb6a7d9e0556941217ce38fdb82ac5405f83ec2740e766d9e616490ee", "content_hash": "2e38793dd015ea9288413f23c208cadb6b7ff01e4f3981268c5b26651245606a", "source_database": "center", "source_revision": "a7fa7ed3d558172355f51406097a7bd4f6b473be80f311ef7cda96bf383d8897"}, "direction": "B", "signature": "CopyInResponse (B)", "tables_zh": [{"key": "fields", "rows": [{"c0": "1", "c1": "Byte1('G')", "c2": "\u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002"}, {"c0": "2", "c1": "Int32", "c2": "\u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002"}, {"c0": "3", "c1": "Int8", "c2": "0 \u8868\u793a COPY \u7684\u6574\u4f53\u683c\u5f0f\u4e3a\u6587\u672c\uff08\u7528\u6362\u884c\u7b26\u5206\u9694\u884c\u3001\u7528\u5206\u9694\u5b57\u7b26\u5206\u9694\u5217\u7b49\uff09\uff1b1 \u8868\u793a\u6574\u4f53\u683c\u5f0f\u4e3a\u4e8c\u8fdb\u5236\uff08\u7c7b\u4f3c DataRow \u683c\u5f0f\uff09\u3002\u8be6\u60c5\u53c2\u89c1 COPY\u3002"}, {"c0": "4", "c1": "Int16", "c2": "\u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 N \u8868\u793a\uff09\u3002"}, {"c0": "5", "c1": "Int16[ N ]", "c2": "\u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002"}], "title": "\u6309\u624b\u518c\u987a\u5e8f\u6392\u5217\u7684\u7ebf\u4e0a\u534f\u8bae\u5b57\u6bb5", "columns": [{"key": "c0", "label": "\u4f4d\u7f6e"}, {"key": "c1", "label": "\u683c\u5f0f"}, {"key": "c2", "label": "\u542b\u4e49"}]}], "description": ["Byte1('G') \u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002 Int32 \u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002 Int8 0 \u8868\u793a\u6574\u4f53 COPY \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 COPY \u3002 Int16 \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 N \u8868\u793a\uff09\u3002 Int16[ N ] \u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002"], "manual_html": "", "manual_path": "/docs/14/protocol-message-formats.html", "sections_zh": [{"title": "\u6d88\u606f\u8fb9\u754c\u4e0e\u91cd\u590d\u5b57\u6bb5", "paragraphs": ["\u4e0b\u65b9\u5b8c\u6574\u5b9a\u4e49\u4fdd\u7559\u91cd\u590d\u9879\u3001\u8ba1\u6570\u4e0e\u6761\u4ef6\u5b57\u6bb5\u3002\u8868\u683c\u884c\u53f7\u8868\u793a\u6587\u6863\u4e2d\u7684\u5b57\u6bb5\u5b9a\u4e49\uff0c\u5e76\u975e\u56fa\u5b9a\u5b57\u8282\u504f\u79fb\u91cf\u3002\u6574\u6570\u7f16\u7801\u4e0e\u4ea4\u4e92\u6d41\u7a0b\u4ee5\u540c\u7248\u672c\u534f\u8bae\u7ae0\u8282\u4e3a\u51c6\u3002"]}], "localization": {"status": "complete", "sources": [{"url": "/docs/14/protocol-message-formats.html", "method": "same-major semantic node", "sha256": "a125a259c8ea8299be50b5d5d8241c513d8b38df4c6f16cf53b7949a63e2f8aa", "language": "zh", "matched_nodes": ["#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[1]/div[0]/dl[0]/dd[3]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[43]/div[0]/dl[0]/dd[1]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[43]/div[0]/dl[0]/dd[7]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[43]/div[0]/dl[0]/dd[9]"]}], "language": "zh", "original_text": {"/versions/14/description/0": "CopyInResponse is a backend protocol message. Identifies the message as a Start Copy In response. The frontend must now send copy-in data (if not prepared to do so, send a CopyFail message).", "/versions/14/facts/0/label": "Direction", "/versions/14/facts/0/value": "Backend \u2192 frontend", "/versions/14/facts/1/label": "First wire field", "/versions/14/facts/2/label": "Field entries", "/versions/14/facts/3/label": "Documented flow contexts", "/versions/14/facts/3/value": "Simple Query; COPY Operations", "/versions/14/tables/0/title": "Wire fields in documented order", "/versions/14/related/0/label": "Protocol flow and exchange examples", "/versions/14/related/1/label": "Protocol overview", "/versions/14/related/2/label": "Simple Query", "/versions/14/related/3/label": "COPY Operations", "/versions/14/sections/0/title": "Framing and repetition", "/versions/14/tables/0/rows/0/c2": "Identifies the message as a Start Copy In response. The frontend must now send copy-in data (if not prepared to do so, send a CopyFail message).", "/versions/14/tables/0/rows/1/c2": "Length of message contents in bytes, including self.", "/versions/14/tables/0/rows/2/c2": "0 indicates the overall COPY format is textual (rows separated by newlines, columns separated by separator characters, etc). 1 indicates the overall copy format is binary (similar to DataRow format). See COPY for more information.", "/versions/14/tables/0/rows/3/c2": "The number of columns in the data to be copied (denoted N below).", "/versions/14/tables/0/rows/4/c2": "The format codes to be used for each column. Each must presently be zero (text) or one (binary). All must be zero if the overall copy format is textual.", "/versions/14/sections/0/paragraphs/0": "The complete definition below retains repetition, counts and conditional fields. A numbered table row is a documented field definition, not a fixed byte offset. Integer encodings and flow rules follow the same-version protocol chapter.", "/versions/14/tables/0/columns/0/label": "Position", "/versions/14/tables/0/columns/1/label": "Format", "/versions/14/tables/0/columns/2/label": "Meaning"}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "efbcf14bde571a72f2c7755241836367b0d9dbee92d2b6a620a1e3e925299f5a", "canonical_center_text_hash": "2e38793dd015ea9288413f23c208cadb6b7ff01e4f3981268c5b26651245606a"}, "description_zh": "Byte1('G') \u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002 Int32 \u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002 Int8 0 \u8868\u793a\u6574\u4f53 COPY \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 COPY \u3002 Int16 \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 N \u8868\u793a\uff09\u3002 Int16[ N ] \u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002", "comparison_data": {"fields": [{"format": "Byte1('G')", "description": "Identifies the message as a Start Copy In response. The frontend must now send copy-in data (if not prepared to do so, send a CopyFail message)."}, {"format": "Int32", "description": "Length of message contents in bytes, including self."}, {"format": "Int8", "description": "0 indicates the overall COPY format is textual (rows separated by newlines, columns separated by separator characters, etc). 1 indicates the overall copy format is binary (similar to DataRow format). See COPY for more information."}, {"format": "Int16", "description": "The number of columns in the data to be copied (denoted N below)."}, {"format": "Int16[ N ]", "description": "The format codes to be used for each column. Each must presently be zero (text) or one (binary). All must be zero if the overall copy format is textual."}], "direction": "B"}, "comparison_hash": "51812fe86333cebae645cef676116226d5ea061dfa2dbc48856147443c50012e", "manual_language": "zh", "description_zh_html": "<p>\u534f\u8bae\u6d88\u606f CopyInResponse (B)\u3002</p><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u5b9a\u4e49</h3><dd><div><dl><dt><span>Byte1(&#39;G&#39;)</span></dt><dd><p>\n         \u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002\n        </p></dd><dt><span>Int32</span></dt><dd><p>\n         \u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002\n        </p></dd><dt><span>Int8</span></dt><dd><p>\n         0 \u8868\u793a\u6574\u4f53 <code>COPY</code> \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 <a href=\"/zh/docs/14/sql-copy.html\" rel=\"nofollow\"><span>COPY</span></a>\u3002\n        </p></dd><dt><span>Int16</span></dt><dd><p>\n         \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 <em><code>N</code></em> \u8868\u793a\uff09\u3002\n        </p></dd><dt><span>Int16[<em><code>N</code></em>]</span></dt><dd><p>\n         \u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002\n        </p></dd></dl></div></dd><p><a href=\"/zh/docs/14/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "15": {"facts": [{"label": "\u65b9\u5411", "value": "\u540e\u7aef \u2192 \u524d\u7aef"}, {"label": "\u9996\u4e2a\u7ebf\u4e0a\u534f\u8bae\u5b57\u6bb5", "value": "Byte1('G')"}, {"label": "\u5b57\u6bb5\u6761\u76ee", "value": "5"}, {"label": "\u624b\u518c\u4e2d\u7684\u4ea4\u4e92\u9636\u6bb5", "value": "\u7b80\u5355\u67e5\u8be2\uff1bCOPY \u64cd\u4f5c"}], "fields": [{"format": "Byte1('G')", "description": "Identifies the message as a Start Copy In response. The frontend must now send copy-in data (if not prepared to do so, send a CopyFail message)."}, {"format": "Int32", "description": "Length of message contents in bytes, including self."}, {"format": "Int8", "description": "0 indicates the overall COPY format is textual (rows separated by newlines, columns separated by separator characters, etc.). 1 indicates the overall copy format is binary (similar to DataRow format). See COPY for more information."}, {"format": "Int16", "description": "The number of columns in the data to be copied (denoted N below)."}, {"format": "Int16[ N ]", "description": "The format codes to be used for each column. Each must presently be zero (text) or one (binary). All must be zero if the overall copy format is textual."}], "tables": [{"key": "fields", "rows": [{"c0": "1", "c1": "Byte1('G')", "c2": "\u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002"}, {"c0": "2", "c1": "Int32", "c2": "\u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002"}, {"c0": "3", "c1": "Int8", "c2": "0 \u8868\u793a COPY \u7684\u6574\u4f53\u683c\u5f0f\u4e3a\u6587\u672c\uff08\u7528\u6362\u884c\u7b26\u5206\u9694\u884c\u3001\u7528\u5206\u9694\u5b57\u7b26\u5206\u9694\u5217\u7b49\uff09\uff1b1 \u8868\u793a\u6574\u4f53\u683c\u5f0f\u4e3a\u4e8c\u8fdb\u5236\uff08\u7c7b\u4f3c DataRow \u683c\u5f0f\uff09\u3002\u8be6\u60c5\u53c2\u89c1 COPY\u3002"}, {"c0": "4", "c1": "Int16", "c2": "\u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 N \u8868\u793a\uff09\u3002"}, {"c0": "5", "c1": "Int16[ N ]", "c2": "\u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002"}], "title": "\u6309\u624b\u518c\u987a\u5e8f\u6392\u5217\u7684\u7ebf\u4e0a\u534f\u8bae\u5b57\u6bb5", "columns": [{"key": "c0", "label": "\u4f4d\u7f6e"}, {"key": "c1", "label": "\u683c\u5f0f"}, {"key": "c2", "label": "\u542b\u4e49"}]}], "related": [{"url": "/docs/15/protocol-flow.html", "label": "\u534f\u8bae\u6d41\u7a0b\u4e0e\u4ea4\u4e92\u793a\u4f8b"}, {"url": "/docs/15/protocol-overview.html", "label": "\u534f\u8bae\u6982\u8ff0"}, {"url": "/docs/15/protocol-flow.html#id-1.10.6.7.4", "label": "\u7b80\u5355\u67e5\u8be2"}, {"url": "/docs/15/protocol-flow.html#PROTOCOL-COPY", "label": "COPY \u64cd\u4f5c"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v15.19/postgresql-15.19.tar.bz2", "label": "15.19", "major": "15", "channel": "stable", "revision": "e1a64a87a46b825b88c082e4518161a47aab53c45694964f8ba1df28f7859f89"}, "sources": [{"url": "/docs/15/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS-COPYINRESPONSE", "path": "protocol-message-formats.html", "label": "PostgreSQL 15 English manual", "sha256": "8c5c191eef74cd3249dabab5d6714b0f516b88c4658da4d6cce6c003bc45d919"}], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-identity", "manual": {"url": "/zh/docs/15/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS-COPYINRESPONSE", "anchor": "PROTOCOL-MESSAGE-FORMATS-COPYINRESPONSE", "locale": "zh-Hans", "version": "15", "build_id": 101, "page_key": "protocol-message-formats.html", "extraction": "exact-definition", "source_hash": "61228a8f3b29eea0148a7f9a8936a49ecbb8eafec865a1b7c96990b74b854a82", "fragment_sha256": "275557b67ed884f7886b72969d2d6da6fc22017567dfbdaf78ae2790d14a4790", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "git:b1b500221dbe5437cfca004d6b04d3f6e422765d;html-sha256:6bce1a2df9170cb1146a1411c5547190856638221a6539e618ee1016c9f493ad", "translated_from_revision": null}, "body_sha256": "24f4e732d65ac46bd313c016cfd75111785e3e9125e086ff111bfff06efc7ee0", "runtime_rerun": false, "authored_translation": "source-derived-identity", "source_facts_revision": "e1a64a87a46b825b88c082e4518161a47aab53c45694964f8ba1df28f7859f89"}, "facts_zh": [{"label": "\u65b9\u5411", "value": "\u540e\u7aef \u2192 \u524d\u7aef"}, {"label": "\u9996\u4e2a\u7ebf\u4e0a\u534f\u8bae\u5b57\u6bb5", "value": "Byte1('G')"}, {"label": "\u5b57\u6bb5\u6761\u76ee", "value": "5"}, {"label": "\u624b\u518c\u4e2d\u7684\u4ea4\u4e92\u9636\u6bb5", "value": "\u7b80\u5355\u67e5\u8be2\uff1bCOPY \u64cd\u4f5c"}], "sections": [{"title": "\u6d88\u606f\u8fb9\u754c\u4e0e\u91cd\u590d\u5b57\u6bb5", "paragraphs": ["\u4e0b\u65b9\u5b8c\u6574\u5b9a\u4e49\u4fdd\u7559\u91cd\u590d\u9879\u3001\u8ba1\u6570\u4e0e\u6761\u4ef6\u5b57\u6bb5\u3002\u8868\u683c\u884c\u53f7\u8868\u793a\u6587\u6863\u4e2d\u7684\u5b57\u6bb5\u5b9a\u4e49\uff0c\u5e76\u975e\u56fa\u5b9a\u5b57\u8282\u504f\u79fb\u91cf\u3002\u6574\u6570\u7f16\u7801\u4e0e\u4ea4\u4e92\u6d41\u7a0b\u4ee5\u540c\u7248\u672c\u534f\u8bae\u7ae0\u8282\u4e3a\u51c6\u3002"]}], "center_zh": {"title": "CopyInResponse", "locale": "zh-Hans", "source": {"key": "copyinresponse-b", "locale": "zh-Hans", "version": "15", "text_hash": "7842f56cdd912954992680f21dec44ed7524ae2c4313311e15f352ee26f81956", "collection": "protocol", "dataset_hash": "7c31b524dfe136022d39a6ae8dcfac6b3bbd5f8fdaf422536599981252aff0c9", "source_database": "center", "source_revision": "e1a64a87a46b825b88c082e4518161a47aab53c45694964f8ba1df28f7859f89"}, "payload": {"facts": [{"label": "\u65b9\u5411", "value": "\u540e\u7aef \u2192 \u524d\u7aef"}, {"label": "\u9996\u4e2a\u7ebf\u4e0a\u534f\u8bae\u5b57\u6bb5", "value": "Byte1('G')"}, {"label": "\u5b57\u6bb5\u6761\u76ee", "value": "5"}, {"label": "\u624b\u518c\u4e2d\u7684\u4ea4\u4e92\u9636\u6bb5", "value": "\u7b80\u5355\u67e5\u8be2\uff1bCOPY \u64cd\u4f5c"}], "tables": [{"key": "fields", "rows": [{"c0": "1", "c1": "Byte1('G')", "c2": "\u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002"}, {"c0": "2", "c1": "Int32", "c2": "\u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002"}, {"c0": "3", "c1": "Int8", "c2": "0 \u8868\u793a COPY \u7684\u6574\u4f53\u683c\u5f0f\u4e3a\u6587\u672c\uff08\u7528\u6362\u884c\u7b26\u5206\u9694\u884c\u3001\u7528\u5206\u9694\u5b57\u7b26\u5206\u9694\u5217\u7b49\uff09\uff1b1 \u8868\u793a\u6574\u4f53\u683c\u5f0f\u4e3a\u4e8c\u8fdb\u5236\uff08\u7c7b\u4f3c DataRow \u683c\u5f0f\uff09\u3002\u8be6\u60c5\u53c2\u89c1 COPY\u3002"}, {"c0": "4", "c1": "Int16", "c2": "\u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 N \u8868\u793a\uff09\u3002"}, {"c0": "5", "c1": "Int16[ N ]", "c2": "\u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002"}], "title": "\u6309\u624b\u518c\u987a\u5e8f\u6392\u5217\u7684\u7ebf\u4e0a\u534f\u8bae\u5b57\u6bb5", "columns": [{"key": "c0", "label": "\u4f4d\u7f6e"}, {"key": "c1", "label": "\u683c\u5f0f"}, {"key": "c2", "label": "\u542b\u4e49"}]}], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-identity", "manual": {"url": "/zh/docs/15/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS-COPYINRESPONSE", "anchor": "PROTOCOL-MESSAGE-FORMATS-COPYINRESPONSE", "locale": "zh-Hans", "version": "15", "build_id": 101, "page_key": "protocol-message-formats.html", "extraction": "exact-definition", "source_hash": "61228a8f3b29eea0148a7f9a8936a49ecbb8eafec865a1b7c96990b74b854a82", "fragment_sha256": "275557b67ed884f7886b72969d2d6da6fc22017567dfbdaf78ae2790d14a4790", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "git:b1b500221dbe5437cfca004d6b04d3f6e422765d;html-sha256:6bce1a2df9170cb1146a1411c5547190856638221a6539e618ee1016c9f493ad", "translated_from_revision": null}, "body_sha256": "24f4e732d65ac46bd313c016cfd75111785e3e9125e086ff111bfff06efc7ee0", "runtime_rerun": false, "authored_translation": "source-derived-identity", "source_facts_revision": "e1a64a87a46b825b88c082e4518161a47aab53c45694964f8ba1df28f7859f89"}, "sections": [{"title": "\u6d88\u606f\u8fb9\u754c\u4e0e\u91cd\u590d\u5b57\u6bb5", "paragraphs": ["\u4e0b\u65b9\u5b8c\u6574\u5b9a\u4e49\u4fdd\u7559\u91cd\u590d\u9879\u3001\u8ba1\u6570\u4e0e\u6761\u4ef6\u5b57\u6bb5\u3002\u8868\u683c\u884c\u53f7\u8868\u793a\u6587\u6863\u4e2d\u7684\u5b57\u6bb5\u5b9a\u4e49\uff0c\u5e76\u975e\u56fa\u5b9a\u5b57\u8282\u504f\u79fb\u91cf\u3002\u6574\u6570\u7f16\u7801\u4e0e\u4ea4\u4e92\u6d41\u7a0b\u4ee5\u540c\u7248\u672c\u534f\u8bae\u7ae0\u8282\u4e3a\u51c6\u3002"]}], "description_zh": "Byte1('G') \u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002 Int32 \u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002 Int8 0 \u8868\u793a\u6574\u4f53 COPY \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 COPY \u3002 Int16 \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 N \u8868\u793a\uff09\u3002 Int16[ N ] \u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002", "description_zh_html": "<p>\u534f\u8bae\u6d88\u606f CopyInResponse (B)\u3002</p><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u5b9a\u4e49</h3><dd><div class=\"variablelist\"><dl class=\"variablelist\"><dt><span class=\"term\">Byte1('G')</span> </dt><dd><p>\n         \u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002\n        </p></dd><dt><span class=\"term\">Int32</span> </dt><dd><p>\n         \u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002\n        </p></dd><dt><span class=\"term\">Int8</span> </dt><dd><p>\n         0 \u8868\u793a\u6574\u4f53 <code class=\"command\">COPY</code> \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 <a class=\"xref\" href=\"/zh/docs/15/sql-copy.html\"><span class=\"refentrytitle\">COPY</span></a>\u3002\n        </p></dd><dt><span class=\"term\">Int16</span> </dt><dd><p>\n         \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 <em class=\"replaceable\"><code>N</code></em> \u8868\u793a\uff09\u3002\n        </p></dd><dt><span class=\"term\">Int16[<em class=\"replaceable\"><code>N</code></em>]</span> </dt><dd><p>\n         \u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002\n        </p></dd></dl></div></dd><p><a href=\"/zh/docs/15/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS-COPYINRESPONSE\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "summary": "Byte1('G') \u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002 Int32 \u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002 Int8 0 \u8868\u793a\u6574\u4f53 COPY \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 COPY \u3002 Int16 \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 N \u8868\u793a\uff09\u3002 Int16[ N ] \u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002", "version": "15", "link_map": {"/zh/docs/15/sql-copy.html": "/docs/15/sql-copy.html", "/zh/docs/15/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS-COPYINRESPONSE": "/docs/15/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS-COPYINRESPONSE"}, "body_html": "<p>\u534f\u8bae\u6d88\u606f CopyInResponse (B)\u3002</p><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u5b9a\u4e49</h3><dd><div><dl><dt><span>Byte1(&#39;G&#39;)</span> </dt><dd><p>\n         \u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002\n        </p></dd><dt><span>Int32</span> </dt><dd><p>\n         \u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002\n        </p></dd><dt><span>Int8</span> </dt><dd><p>\n         0 \u8868\u793a\u6574\u4f53 <code>COPY</code> \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 <a href=\"/zh/docs/15/sql-copy.html\" rel=\"nofollow\"><span>COPY</span></a>\u3002\n        </p></dd><dt><span>Int16</span> </dt><dd><p>\n         \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 <em><code>N</code></em> \u8868\u793a\uff09\u3002\n        </p></dd><dt><span>Int16[<em><code>N</code></em>]</span> </dt><dd><p>\n         \u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002\n        </p></dd></dl></div></dd><p><a href=\"/zh/docs/15/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS-COPYINRESPONSE\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>", "body_sha256": "01304f5155d222ebaa0de522ed51224060be5a866975f239d0702f63c1ed6ac3", "content_hash": "7842f56cdd912954992680f21dec44ed7524ae2c4313311e15f352ee26f81956", "source_database": "center", "source_revision": "e1a64a87a46b825b88c082e4518161a47aab53c45694964f8ba1df28f7859f89"}, "direction": "B", "signature": "CopyInResponse (B)", "tables_zh": [{"key": "fields", "rows": [{"c0": "1", "c1": "Byte1('G')", "c2": "\u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002"}, {"c0": "2", "c1": "Int32", "c2": "\u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002"}, {"c0": "3", "c1": "Int8", "c2": "0 \u8868\u793a COPY \u7684\u6574\u4f53\u683c\u5f0f\u4e3a\u6587\u672c\uff08\u7528\u6362\u884c\u7b26\u5206\u9694\u884c\u3001\u7528\u5206\u9694\u5b57\u7b26\u5206\u9694\u5217\u7b49\uff09\uff1b1 \u8868\u793a\u6574\u4f53\u683c\u5f0f\u4e3a\u4e8c\u8fdb\u5236\uff08\u7c7b\u4f3c DataRow \u683c\u5f0f\uff09\u3002\u8be6\u60c5\u53c2\u89c1 COPY\u3002"}, {"c0": "4", "c1": "Int16", "c2": "\u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 N \u8868\u793a\uff09\u3002"}, {"c0": "5", "c1": "Int16[ N ]", "c2": "\u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002"}], "title": "\u6309\u624b\u518c\u987a\u5e8f\u6392\u5217\u7684\u7ebf\u4e0a\u534f\u8bae\u5b57\u6bb5", "columns": [{"key": "c0", "label": "\u4f4d\u7f6e"}, {"key": "c1", "label": "\u683c\u5f0f"}, {"key": "c2", "label": "\u542b\u4e49"}]}], "description": ["Byte1('G') \u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002 Int32 \u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002 Int8 0 \u8868\u793a\u6574\u4f53 COPY \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 COPY \u3002 Int16 \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 N \u8868\u793a\uff09\u3002 Int16[ N ] \u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002"], "manual_html": "", "manual_path": "/docs/15/protocol-message-formats.html", "sections_zh": [{"title": "\u6d88\u606f\u8fb9\u754c\u4e0e\u91cd\u590d\u5b57\u6bb5", "paragraphs": ["\u4e0b\u65b9\u5b8c\u6574\u5b9a\u4e49\u4fdd\u7559\u91cd\u590d\u9879\u3001\u8ba1\u6570\u4e0e\u6761\u4ef6\u5b57\u6bb5\u3002\u8868\u683c\u884c\u53f7\u8868\u793a\u6587\u6863\u4e2d\u7684\u5b57\u6bb5\u5b9a\u4e49\uff0c\u5e76\u975e\u56fa\u5b9a\u5b57\u8282\u504f\u79fb\u91cf\u3002\u6574\u6570\u7f16\u7801\u4e0e\u4ea4\u4e92\u6d41\u7a0b\u4ee5\u540c\u7248\u672c\u534f\u8bae\u7ae0\u8282\u4e3a\u51c6\u3002"]}], "localization": {"status": "complete", "sources": [{"url": "/docs/15/protocol-message-formats.html", "method": "same-major semantic node", "sha256": "bbc89cd7e243ed7051f6e82b92f54fe8a97cbf4a673c2c4b39d9e8c8b7c422d3", "language": "zh", "matched_nodes": ["#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[1]/div[0]/dl[0]/dd[3]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[43]/div[0]/dl[0]/dd[1]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[43]/div[0]/dl[0]/dd[7]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[43]/div[0]/dl[0]/dd[9]"]}], "language": "zh", "original_text": {"/versions/15/description/0": "CopyInResponse is a backend protocol message. Identifies the message as a Start Copy In response. The frontend must now send copy-in data (if not prepared to do so, send a CopyFail message).", "/versions/15/facts/0/label": "Direction", "/versions/15/facts/0/value": "Backend \u2192 frontend", "/versions/15/facts/1/label": "First wire field", "/versions/15/facts/2/label": "Field entries", "/versions/15/facts/3/label": "Documented flow contexts", "/versions/15/facts/3/value": "Simple Query; COPY Operations", "/versions/15/tables/0/title": "Wire fields in documented order", "/versions/15/related/0/label": "Protocol flow and exchange examples", "/versions/15/related/1/label": "Protocol overview", "/versions/15/related/2/label": "Simple Query", "/versions/15/related/3/label": "COPY Operations", "/versions/15/sections/0/title": "Framing and repetition", "/versions/15/tables/0/rows/0/c2": "Identifies the message as a Start Copy In response. The frontend must now send copy-in data (if not prepared to do so, send a CopyFail message).", "/versions/15/tables/0/rows/1/c2": "Length of message contents in bytes, including self.", "/versions/15/tables/0/rows/2/c2": "0 indicates the overall COPY format is textual (rows separated by newlines, columns separated by separator characters, etc.). 1 indicates the overall copy format is binary (similar to DataRow format). See COPY for more information.", "/versions/15/tables/0/rows/3/c2": "The number of columns in the data to be copied (denoted N below).", "/versions/15/tables/0/rows/4/c2": "The format codes to be used for each column. Each must presently be zero (text) or one (binary). All must be zero if the overall copy format is textual.", "/versions/15/sections/0/paragraphs/0": "The complete definition below retains repetition, counts and conditional fields. A numbered table row is a documented field definition, not a fixed byte offset. Integer encodings and flow rules follow the same-version protocol chapter.", "/versions/15/tables/0/columns/0/label": "Position", "/versions/15/tables/0/columns/1/label": "Format", "/versions/15/tables/0/columns/2/label": "Meaning"}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "3e1d7305c650af34ff05300f8b5df564fb8c564d64708aad25b5e3dce3909cc9", "canonical_center_text_hash": "7842f56cdd912954992680f21dec44ed7524ae2c4313311e15f352ee26f81956"}, "description_zh": "Byte1('G') \u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002 Int32 \u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002 Int8 0 \u8868\u793a\u6574\u4f53 COPY \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 COPY \u3002 Int16 \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 N \u8868\u793a\uff09\u3002 Int16[ N ] \u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002", "comparison_data": {"fields": [{"format": "Byte1('G')", "description": "Identifies the message as a Start Copy In response. The frontend must now send copy-in data (if not prepared to do so, send a CopyFail message)."}, {"format": "Int32", "description": "Length of message contents in bytes, including self."}, {"format": "Int8", "description": "0 indicates the overall COPY format is textual (rows separated by newlines, columns separated by separator characters, etc.). 1 indicates the overall copy format is binary (similar to DataRow format). See COPY for more information."}, {"format": "Int16", "description": "The number of columns in the data to be copied (denoted N below)."}, {"format": "Int16[ N ]", "description": "The format codes to be used for each column. Each must presently be zero (text) or one (binary). All must be zero if the overall copy format is textual."}], "direction": "B"}, "comparison_hash": "e94b6dcedbcee4d9e8d179f78b0bfb9de707a5b5c668419c65b88ebe0a164a44", "manual_language": "zh", "description_zh_html": "<p>\u534f\u8bae\u6d88\u606f CopyInResponse (B)\u3002</p><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u5b9a\u4e49</h3><dd><div><dl><dt><span>Byte1(&#39;G&#39;)</span> </dt><dd><p>\n         \u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002\n        </p></dd><dt><span>Int32</span> </dt><dd><p>\n         \u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002\n        </p></dd><dt><span>Int8</span> </dt><dd><p>\n         0 \u8868\u793a\u6574\u4f53 <code>COPY</code> \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 <a href=\"/zh/docs/15/sql-copy.html\" rel=\"nofollow\"><span>COPY</span></a>\u3002\n        </p></dd><dt><span>Int16</span> </dt><dd><p>\n         \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 <em><code>N</code></em> \u8868\u793a\uff09\u3002\n        </p></dd><dt><span>Int16[<em><code>N</code></em>]</span> </dt><dd><p>\n         \u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002\n        </p></dd></dl></div></dd><p><a href=\"/zh/docs/15/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS-COPYINRESPONSE\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "16": {"facts": [{"label": "\u65b9\u5411", "value": "\u540e\u7aef \u2192 \u524d\u7aef"}, {"label": "\u9996\u4e2a\u7ebf\u4e0a\u534f\u8bae\u5b57\u6bb5", "value": "Byte1('G')"}, {"label": "\u5b57\u6bb5\u6761\u76ee", "value": "5"}, {"label": "\u624b\u518c\u4e2d\u7684\u4ea4\u4e92\u9636\u6bb5", "value": "\u7b80\u5355\u67e5\u8be2\uff1bCOPY \u64cd\u4f5c"}], "fields": [{"format": "Byte1('G')", "description": "Identifies the message as a Start Copy In response. The frontend must now send copy-in data (if not prepared to do so, send a CopyFail message)."}, {"format": "Int32", "description": "Length of message contents in bytes, including self."}, {"format": "Int8", "description": "0 indicates the overall COPY format is textual (rows separated by newlines, columns separated by separator characters, etc.). 1 indicates the overall copy format is binary (similar to DataRow format). See COPY for more information."}, {"format": "Int16", "description": "The number of columns in the data to be copied (denoted N below)."}, {"format": "Int16[ N ]", "description": "The format codes to be used for each column. Each must presently be zero (text) or one (binary). All must be zero if the overall copy format is textual."}], "tables": [{"key": "fields", "rows": [{"c0": "1", "c1": "Byte1('G')", "c2": "\u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002"}, {"c0": "2", "c1": "Int32", "c2": "\u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002"}, {"c0": "3", "c1": "Int8", "c2": "0 \u8868\u793a COPY \u7684\u6574\u4f53\u683c\u5f0f\u4e3a\u6587\u672c\uff08\u7528\u6362\u884c\u7b26\u5206\u9694\u884c\u3001\u7528\u5206\u9694\u5b57\u7b26\u5206\u9694\u5217\u7b49\uff09\uff1b1 \u8868\u793a\u6574\u4f53\u683c\u5f0f\u4e3a\u4e8c\u8fdb\u5236\uff08\u7c7b\u4f3c DataRow \u683c\u5f0f\uff09\u3002\u8be6\u60c5\u53c2\u89c1 COPY\u3002"}, {"c0": "4", "c1": "Int16", "c2": "\u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 N \u8868\u793a\uff09\u3002"}, {"c0": "5", "c1": "Int16[ N ]", "c2": "\u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002"}], "title": "\u6309\u624b\u518c\u987a\u5e8f\u6392\u5217\u7684\u7ebf\u4e0a\u534f\u8bae\u5b57\u6bb5", "columns": [{"key": "c0", "label": "\u4f4d\u7f6e"}, {"key": "c1", "label": "\u683c\u5f0f"}, {"key": "c2", "label": "\u542b\u4e49"}]}], "related": [{"url": "/docs/16/protocol-flow.html", "label": "\u534f\u8bae\u6d41\u7a0b\u4e0e\u4ea4\u4e92\u793a\u4f8b"}, {"url": "/docs/16/protocol-overview.html", "label": "\u534f\u8bae\u6982\u8ff0"}, {"url": "/docs/16/protocol-flow.html#PROTOCOL-FLOW-SIMPLE-QUERY", "label": "\u7b80\u5355\u67e5\u8be2"}, {"url": "/docs/16/protocol-flow.html#PROTOCOL-COPY", "label": "COPY \u64cd\u4f5c"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v16.15/postgresql-16.15.tar.bz2", "label": "16.15", "major": "16", "channel": "stable", "revision": "c1575341fa7bd40f5274ea465b34390f4dc64cdd0770af327005caaeb9f6b7ed"}, "sources": [{"url": "/docs/16/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS-COPYINRESPONSE", "path": "protocol-message-formats.html", "label": "PostgreSQL 16 English manual", "sha256": "c15646b30727f469cdac3bd411e50dc9b14ee85982a9c9c8a2b3e16449b39a46"}], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-identity", "manual": {"url": "/zh/docs/16/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS-COPYINRESPONSE", "anchor": "PROTOCOL-MESSAGE-FORMATS-COPYINRESPONSE", "locale": "zh-Hans", "version": "16", "build_id": 103, "page_key": "protocol-message-formats.html", "extraction": "exact-definition", "source_hash": "4839ba322435aae8b017cce12a6053ecf0cd532cf596b9d2eb86481c2ed7a3ab", "fragment_sha256": "b82ee3071799f9fcf7d9a9219048dd70d84a42f83e53f5d982c87c587c7b28de", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "git:b1b500221dbe5437cfca004d6b04d3f6e422765d;html-sha256:80579a071736780f9c4022bb5148e1fb1256f1a33591306af67816e9e9bf3a9b", "translated_from_revision": null}, "body_sha256": "191ea31f13695483e4e956bee8dd8e31367dd82819e34c27e12af13fee5471f9", "runtime_rerun": false, "authored_translation": "source-derived-identity", "source_facts_revision": "c1575341fa7bd40f5274ea465b34390f4dc64cdd0770af327005caaeb9f6b7ed"}, "facts_zh": [{"label": "\u65b9\u5411", "value": "\u540e\u7aef \u2192 \u524d\u7aef"}, {"label": "\u9996\u4e2a\u7ebf\u4e0a\u534f\u8bae\u5b57\u6bb5", "value": "Byte1('G')"}, {"label": "\u5b57\u6bb5\u6761\u76ee", "value": "5"}, {"label": "\u624b\u518c\u4e2d\u7684\u4ea4\u4e92\u9636\u6bb5", "value": "\u7b80\u5355\u67e5\u8be2\uff1bCOPY \u64cd\u4f5c"}], "sections": [{"title": "\u6d88\u606f\u8fb9\u754c\u4e0e\u91cd\u590d\u5b57\u6bb5", "paragraphs": ["\u4e0b\u65b9\u5b8c\u6574\u5b9a\u4e49\u4fdd\u7559\u91cd\u590d\u9879\u3001\u8ba1\u6570\u4e0e\u6761\u4ef6\u5b57\u6bb5\u3002\u8868\u683c\u884c\u53f7\u8868\u793a\u6587\u6863\u4e2d\u7684\u5b57\u6bb5\u5b9a\u4e49\uff0c\u5e76\u975e\u56fa\u5b9a\u5b57\u8282\u504f\u79fb\u91cf\u3002\u6574\u6570\u7f16\u7801\u4e0e\u4ea4\u4e92\u6d41\u7a0b\u4ee5\u540c\u7248\u672c\u534f\u8bae\u7ae0\u8282\u4e3a\u51c6\u3002"]}], "center_zh": {"title": "CopyInResponse", "locale": "zh-Hans", "source": {"key": "copyinresponse-b", "locale": "zh-Hans", "version": "16", "text_hash": "5ac1b22af13f4f0c04ecf5e3484a6966bde2f0ce0dfd3450520b995a79bc4592", "collection": "protocol", "dataset_hash": "7c31b524dfe136022d39a6ae8dcfac6b3bbd5f8fdaf422536599981252aff0c9", "source_database": "center", "source_revision": "c1575341fa7bd40f5274ea465b34390f4dc64cdd0770af327005caaeb9f6b7ed"}, "payload": {"facts": [{"label": "\u65b9\u5411", "value": "\u540e\u7aef \u2192 \u524d\u7aef"}, {"label": "\u9996\u4e2a\u7ebf\u4e0a\u534f\u8bae\u5b57\u6bb5", "value": "Byte1('G')"}, {"label": "\u5b57\u6bb5\u6761\u76ee", "value": "5"}, {"label": "\u624b\u518c\u4e2d\u7684\u4ea4\u4e92\u9636\u6bb5", "value": "\u7b80\u5355\u67e5\u8be2\uff1bCOPY \u64cd\u4f5c"}], "tables": [{"key": "fields", "rows": [{"c0": "1", "c1": "Byte1('G')", "c2": "\u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002"}, {"c0": "2", "c1": "Int32", "c2": "\u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002"}, {"c0": "3", "c1": "Int8", "c2": "0 \u8868\u793a COPY \u7684\u6574\u4f53\u683c\u5f0f\u4e3a\u6587\u672c\uff08\u7528\u6362\u884c\u7b26\u5206\u9694\u884c\u3001\u7528\u5206\u9694\u5b57\u7b26\u5206\u9694\u5217\u7b49\uff09\uff1b1 \u8868\u793a\u6574\u4f53\u683c\u5f0f\u4e3a\u4e8c\u8fdb\u5236\uff08\u7c7b\u4f3c DataRow \u683c\u5f0f\uff09\u3002\u8be6\u60c5\u53c2\u89c1 COPY\u3002"}, {"c0": "4", "c1": "Int16", "c2": "\u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 N \u8868\u793a\uff09\u3002"}, {"c0": "5", "c1": "Int16[ N ]", "c2": "\u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002"}], "title": "\u6309\u624b\u518c\u987a\u5e8f\u6392\u5217\u7684\u7ebf\u4e0a\u534f\u8bae\u5b57\u6bb5", "columns": [{"key": "c0", "label": "\u4f4d\u7f6e"}, {"key": "c1", "label": "\u683c\u5f0f"}, {"key": "c2", "label": "\u542b\u4e49"}]}], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-identity", "manual": {"url": "/zh/docs/16/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS-COPYINRESPONSE", "anchor": "PROTOCOL-MESSAGE-FORMATS-COPYINRESPONSE", "locale": "zh-Hans", "version": "16", "build_id": 103, "page_key": "protocol-message-formats.html", "extraction": "exact-definition", "source_hash": "4839ba322435aae8b017cce12a6053ecf0cd532cf596b9d2eb86481c2ed7a3ab", "fragment_sha256": "b82ee3071799f9fcf7d9a9219048dd70d84a42f83e53f5d982c87c587c7b28de", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "git:b1b500221dbe5437cfca004d6b04d3f6e422765d;html-sha256:80579a071736780f9c4022bb5148e1fb1256f1a33591306af67816e9e9bf3a9b", "translated_from_revision": null}, "body_sha256": "191ea31f13695483e4e956bee8dd8e31367dd82819e34c27e12af13fee5471f9", "runtime_rerun": false, "authored_translation": "source-derived-identity", "source_facts_revision": "c1575341fa7bd40f5274ea465b34390f4dc64cdd0770af327005caaeb9f6b7ed"}, "sections": [{"title": "\u6d88\u606f\u8fb9\u754c\u4e0e\u91cd\u590d\u5b57\u6bb5", "paragraphs": ["\u4e0b\u65b9\u5b8c\u6574\u5b9a\u4e49\u4fdd\u7559\u91cd\u590d\u9879\u3001\u8ba1\u6570\u4e0e\u6761\u4ef6\u5b57\u6bb5\u3002\u8868\u683c\u884c\u53f7\u8868\u793a\u6587\u6863\u4e2d\u7684\u5b57\u6bb5\u5b9a\u4e49\uff0c\u5e76\u975e\u56fa\u5b9a\u5b57\u8282\u504f\u79fb\u91cf\u3002\u6574\u6570\u7f16\u7801\u4e0e\u4ea4\u4e92\u6d41\u7a0b\u4ee5\u540c\u7248\u672c\u534f\u8bae\u7ae0\u8282\u4e3a\u51c6\u3002"]}], "description_zh": "Byte1('G') \u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002 Int32 \u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002 Int8 0 \u8868\u793a\u6574\u4f53 COPY \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 COPY \u3002 Int16 \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 N \u8868\u793a\uff09\u3002 Int16[ N ] \u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002", "description_zh_html": "<p>\u534f\u8bae\u6d88\u606f CopyInResponse (B)\u3002</p><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u5b9a\u4e49</h3><dd><div class=\"variablelist\"><dl class=\"variablelist\"><dt><span class=\"term\">Byte1('G')</span></dt><dd><p>\n         \u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002\n        </p></dd><dt><span class=\"term\">Int32</span></dt><dd><p>\n         \u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002\n        </p></dd><dt><span class=\"term\">Int8</span></dt><dd><p>\n         0 \u8868\u793a\u6574\u4f53 <code class=\"command\">COPY</code> \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 <a class=\"xref\" href=\"/zh/docs/16/sql-copy.html\"><span class=\"refentrytitle\">COPY</span></a>\u3002\n        </p></dd><dt><span class=\"term\">Int16</span></dt><dd><p>\n         \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 <em class=\"replaceable\"><code>N</code></em> \u8868\u793a\uff09\u3002\n        </p></dd><dt><span class=\"term\">Int16[<em class=\"replaceable\"><code>N</code></em>]</span></dt><dd><p>\n         \u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002\n        </p></dd></dl></div></dd><p><a href=\"/zh/docs/16/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS-COPYINRESPONSE\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "summary": "Byte1('G') \u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002 Int32 \u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002 Int8 0 \u8868\u793a\u6574\u4f53 COPY \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 COPY \u3002 Int16 \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 N \u8868\u793a\uff09\u3002 Int16[ N ] \u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002", "version": "16", "link_map": {"/zh/docs/16/sql-copy.html": "/docs/16/sql-copy.html", "/zh/docs/16/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS-COPYINRESPONSE": "/docs/16/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS-COPYINRESPONSE"}, "body_html": "<p>\u534f\u8bae\u6d88\u606f CopyInResponse (B)\u3002</p><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u5b9a\u4e49</h3><dd><div><dl><dt><span>Byte1(&#39;G&#39;)</span></dt><dd><p>\n         \u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002\n        </p></dd><dt><span>Int32</span></dt><dd><p>\n         \u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002\n        </p></dd><dt><span>Int8</span></dt><dd><p>\n         0 \u8868\u793a\u6574\u4f53 <code>COPY</code> \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 <a href=\"/zh/docs/16/sql-copy.html\" rel=\"nofollow\"><span>COPY</span></a>\u3002\n        </p></dd><dt><span>Int16</span></dt><dd><p>\n         \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 <em><code>N</code></em> \u8868\u793a\uff09\u3002\n        </p></dd><dt><span>Int16[<em><code>N</code></em>]</span></dt><dd><p>\n         \u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002\n        </p></dd></dl></div></dd><p><a href=\"/zh/docs/16/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS-COPYINRESPONSE\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>", "body_sha256": "5e93a2310a6601758a94c0939e0dce13af94a64acdb664adf0ec1c7bd80cc0b8", "content_hash": "5ac1b22af13f4f0c04ecf5e3484a6966bde2f0ce0dfd3450520b995a79bc4592", "source_database": "center", "source_revision": "c1575341fa7bd40f5274ea465b34390f4dc64cdd0770af327005caaeb9f6b7ed"}, "direction": "B", "signature": "CopyInResponse (B)", "tables_zh": [{"key": "fields", "rows": [{"c0": "1", "c1": "Byte1('G')", "c2": "\u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002"}, {"c0": "2", "c1": "Int32", "c2": "\u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002"}, {"c0": "3", "c1": "Int8", "c2": "0 \u8868\u793a COPY \u7684\u6574\u4f53\u683c\u5f0f\u4e3a\u6587\u672c\uff08\u7528\u6362\u884c\u7b26\u5206\u9694\u884c\u3001\u7528\u5206\u9694\u5b57\u7b26\u5206\u9694\u5217\u7b49\uff09\uff1b1 \u8868\u793a\u6574\u4f53\u683c\u5f0f\u4e3a\u4e8c\u8fdb\u5236\uff08\u7c7b\u4f3c DataRow \u683c\u5f0f\uff09\u3002\u8be6\u60c5\u53c2\u89c1 COPY\u3002"}, {"c0": "4", "c1": "Int16", "c2": "\u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 N \u8868\u793a\uff09\u3002"}, {"c0": "5", "c1": "Int16[ N ]", "c2": "\u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002"}], "title": "\u6309\u624b\u518c\u987a\u5e8f\u6392\u5217\u7684\u7ebf\u4e0a\u534f\u8bae\u5b57\u6bb5", "columns": [{"key": "c0", "label": "\u4f4d\u7f6e"}, {"key": "c1", "label": "\u683c\u5f0f"}, {"key": "c2", "label": "\u542b\u4e49"}]}], "description": ["Byte1('G') \u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002 Int32 \u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002 Int8 0 \u8868\u793a\u6574\u4f53 COPY \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 COPY \u3002 Int16 \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 N \u8868\u793a\uff09\u3002 Int16[ N ] \u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002"], "manual_html": "", "manual_path": "/docs/16/protocol-message-formats.html", "sections_zh": [{"title": "\u6d88\u606f\u8fb9\u754c\u4e0e\u91cd\u590d\u5b57\u6bb5", "paragraphs": ["\u4e0b\u65b9\u5b8c\u6574\u5b9a\u4e49\u4fdd\u7559\u91cd\u590d\u9879\u3001\u8ba1\u6570\u4e0e\u6761\u4ef6\u5b57\u6bb5\u3002\u8868\u683c\u884c\u53f7\u8868\u793a\u6587\u6863\u4e2d\u7684\u5b57\u6bb5\u5b9a\u4e49\uff0c\u5e76\u975e\u56fa\u5b9a\u5b57\u8282\u504f\u79fb\u91cf\u3002\u6574\u6570\u7f16\u7801\u4e0e\u4ea4\u4e92\u6d41\u7a0b\u4ee5\u540c\u7248\u672c\u534f\u8bae\u7ae0\u8282\u4e3a\u51c6\u3002"]}], "localization": {"status": "complete", "sources": [{"url": "/docs/16/protocol-message-formats.html", "method": "same-major semantic node", "sha256": "638e90eeb4ff3d56cd0c9c95e1203af6bb87aa147ec72623c9dd5eb4b9605ec3", "language": "zh", "matched_nodes": ["#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[1]/div[0]/dl[0]/dd[3]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[41]/div[0]/dl[0]/dd[1]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[41]/div[0]/dl[0]/dd[7]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[41]/div[0]/dl[0]/dd[9]"]}], "language": "zh", "original_text": {"/versions/16/description/0": "CopyInResponse is a backend protocol message. Identifies the message as a Start Copy In response. The frontend must now send copy-in data (if not prepared to do so, send a CopyFail message).", "/versions/16/facts/0/label": "Direction", "/versions/16/facts/0/value": "Backend \u2192 frontend", "/versions/16/facts/1/label": "First wire field", "/versions/16/facts/2/label": "Field entries", "/versions/16/facts/3/label": "Documented flow contexts", "/versions/16/facts/3/value": "Simple Query; COPY Operations", "/versions/16/tables/0/title": "Wire fields in documented order", "/versions/16/related/0/label": "Protocol flow and exchange examples", "/versions/16/related/1/label": "Protocol overview", "/versions/16/related/2/label": "Simple Query", "/versions/16/related/3/label": "COPY Operations", "/versions/16/sections/0/title": "Framing and repetition", "/versions/16/tables/0/rows/0/c2": "Identifies the message as a Start Copy In response. The frontend must now send copy-in data (if not prepared to do so, send a CopyFail message).", "/versions/16/tables/0/rows/1/c2": "Length of message contents in bytes, including self.", "/versions/16/tables/0/rows/2/c2": "0 indicates the overall COPY format is textual (rows separated by newlines, columns separated by separator characters, etc.). 1 indicates the overall copy format is binary (similar to DataRow format). See COPY for more information.", "/versions/16/tables/0/rows/3/c2": "The number of columns in the data to be copied (denoted N below).", "/versions/16/tables/0/rows/4/c2": "The format codes to be used for each column. Each must presently be zero (text) or one (binary). All must be zero if the overall copy format is textual.", "/versions/16/sections/0/paragraphs/0": "The complete definition below retains repetition, counts and conditional fields. A numbered table row is a documented field definition, not a fixed byte offset. Integer encodings and flow rules follow the same-version protocol chapter.", "/versions/16/tables/0/columns/0/label": "Position", "/versions/16/tables/0/columns/1/label": "Format", "/versions/16/tables/0/columns/2/label": "Meaning"}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "b20885a437b86aff5bc0d45d2e4b94e87c83c4f04b0778b61c596d722b3caa66", "canonical_center_text_hash": "5ac1b22af13f4f0c04ecf5e3484a6966bde2f0ce0dfd3450520b995a79bc4592"}, "description_zh": "Byte1('G') \u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002 Int32 \u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002 Int8 0 \u8868\u793a\u6574\u4f53 COPY \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 COPY \u3002 Int16 \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 N \u8868\u793a\uff09\u3002 Int16[ N ] \u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002", "comparison_data": {"fields": [{"format": "Byte1('G')", "description": "Identifies the message as a Start Copy In response. The frontend must now send copy-in data (if not prepared to do so, send a CopyFail message)."}, {"format": "Int32", "description": "Length of message contents in bytes, including self."}, {"format": "Int8", "description": "0 indicates the overall COPY format is textual (rows separated by newlines, columns separated by separator characters, etc.). 1 indicates the overall copy format is binary (similar to DataRow format). See COPY for more information."}, {"format": "Int16", "description": "The number of columns in the data to be copied (denoted N below)."}, {"format": "Int16[ N ]", "description": "The format codes to be used for each column. Each must presently be zero (text) or one (binary). All must be zero if the overall copy format is textual."}], "direction": "B"}, "comparison_hash": "e94b6dcedbcee4d9e8d179f78b0bfb9de707a5b5c668419c65b88ebe0a164a44", "manual_language": "zh", "description_zh_html": "<p>\u534f\u8bae\u6d88\u606f CopyInResponse (B)\u3002</p><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u5b9a\u4e49</h3><dd><div><dl><dt><span>Byte1(&#39;G&#39;)</span></dt><dd><p>\n         \u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002\n        </p></dd><dt><span>Int32</span></dt><dd><p>\n         \u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002\n        </p></dd><dt><span>Int8</span></dt><dd><p>\n         0 \u8868\u793a\u6574\u4f53 <code>COPY</code> \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 <a href=\"/zh/docs/16/sql-copy.html\" rel=\"nofollow\"><span>COPY</span></a>\u3002\n        </p></dd><dt><span>Int16</span></dt><dd><p>\n         \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 <em><code>N</code></em> \u8868\u793a\uff09\u3002\n        </p></dd><dt><span>Int16[<em><code>N</code></em>]</span></dt><dd><p>\n         \u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002\n        </p></dd></dl></div></dd><p><a href=\"/zh/docs/16/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS-COPYINRESPONSE\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "17": {"facts": [{"label": "\u65b9\u5411", "value": "\u540e\u7aef \u2192 \u524d\u7aef"}, {"label": "\u9996\u4e2a\u7ebf\u4e0a\u534f\u8bae\u5b57\u6bb5", "value": "Byte1('G')"}, {"label": "\u5b57\u6bb5\u6761\u76ee", "value": "5"}, {"label": "\u624b\u518c\u4e2d\u7684\u4ea4\u4e92\u9636\u6bb5", "value": "\u7b80\u5355\u67e5\u8be2\uff1bCOPY \u64cd\u4f5c"}], "fields": [{"format": "Byte1('G')", "description": "Identifies the message as a Start Copy In response. The frontend must now send copy-in data (if not prepared to do so, send a CopyFail message)."}, {"format": "Int32", "description": "Length of message contents in bytes, including self."}, {"format": "Int8", "description": "0 indicates the overall COPY format is textual (rows separated by newlines, columns separated by separator characters, etc.). 1 indicates the overall copy format is binary (similar to DataRow format). See COPY for more information."}, {"format": "Int16", "description": "The number of columns in the data to be copied (denoted N below)."}, {"format": "Int16[ N ]", "description": "The format codes to be used for each column. Each must presently be zero (text) or one (binary). All must be zero if the overall copy format is textual."}], "tables": [{"key": "fields", "rows": [{"c0": "1", "c1": "Byte1('G')", "c2": "\u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002"}, {"c0": "2", "c1": "Int32", "c2": "\u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002"}, {"c0": "3", "c1": "Int8", "c2": "0 \u8868\u793a COPY \u7684\u6574\u4f53\u683c\u5f0f\u4e3a\u6587\u672c\uff08\u7528\u6362\u884c\u7b26\u5206\u9694\u884c\u3001\u7528\u5206\u9694\u5b57\u7b26\u5206\u9694\u5217\u7b49\uff09\uff1b1 \u8868\u793a\u6574\u4f53\u683c\u5f0f\u4e3a\u4e8c\u8fdb\u5236\uff08\u7c7b\u4f3c DataRow \u683c\u5f0f\uff09\u3002\u8be6\u60c5\u53c2\u89c1 COPY\u3002"}, {"c0": "4", "c1": "Int16", "c2": "\u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 N \u8868\u793a\uff09\u3002"}, {"c0": "5", "c1": "Int16[ N ]", "c2": "\u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002"}], "title": "\u6309\u624b\u518c\u987a\u5e8f\u6392\u5217\u7684\u7ebf\u4e0a\u534f\u8bae\u5b57\u6bb5", "columns": [{"key": "c0", "label": "\u4f4d\u7f6e"}, {"key": "c1", "label": "\u683c\u5f0f"}, {"key": "c2", "label": "\u542b\u4e49"}]}], "related": [{"url": "/docs/17/protocol-flow.html", "label": "\u534f\u8bae\u6d41\u7a0b\u4e0e\u4ea4\u4e92\u793a\u4f8b"}, {"url": "/docs/17/protocol-overview.html", "label": "\u534f\u8bae\u6982\u8ff0"}, {"url": "/docs/17/protocol-flow.html#PROTOCOL-FLOW-SIMPLE-QUERY", "label": "\u7b80\u5355\u67e5\u8be2"}, {"url": "/docs/17/protocol-flow.html#PROTOCOL-COPY", "label": "COPY \u64cd\u4f5c"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v17.11/postgresql-17.11.tar.bz2", "label": "17.11", "major": "17", "channel": "stable", "revision": "dd27f2b3c59e73ed14aa3324901242bf69a032a6347805f274e6260322d42979"}, "sources": [{"url": "/docs/17/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS-COPYINRESPONSE", "path": "protocol-message-formats.html", "label": "PostgreSQL 17 English manual", "sha256": "3c0e7b8a1a8f7ec5026226eab83d6704b7c5199ec9ba1aaaf91ea517609eed4e"}], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-identity", "manual": {"url": "/zh/docs/17/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS-COPYINRESPONSE", "anchor": "PROTOCOL-MESSAGE-FORMATS-COPYINRESPONSE", "locale": "zh-Hans", "version": "17", "build_id": 105, "page_key": "protocol-message-formats.html", "extraction": "exact-definition", "source_hash": "e8c9ba58e397deab7bd056f274a895a459624a355e846ab7cb026235b394e05e", "fragment_sha256": "8cd51d536f6101f98c3622d9c11aa8e4ef4e97c68ad7a04cc71acba5a173bf79", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "git:b1b500221dbe5437cfca004d6b04d3f6e422765d;html-sha256:7340767258d21c21b36f373f1fff6bab2be18e0daca13a865129db6105c09efd", "translated_from_revision": null}, "body_sha256": "8b56bf7c93a2458392f2353399431efd4beae845c081a2b2c62ae488ea441062", "runtime_rerun": false, "authored_translation": "source-derived-identity", "source_facts_revision": "dd27f2b3c59e73ed14aa3324901242bf69a032a6347805f274e6260322d42979"}, "facts_zh": [{"label": "\u65b9\u5411", "value": "\u540e\u7aef \u2192 \u524d\u7aef"}, {"label": "\u9996\u4e2a\u7ebf\u4e0a\u534f\u8bae\u5b57\u6bb5", "value": "Byte1('G')"}, {"label": "\u5b57\u6bb5\u6761\u76ee", "value": "5"}, {"label": "\u624b\u518c\u4e2d\u7684\u4ea4\u4e92\u9636\u6bb5", "value": "\u7b80\u5355\u67e5\u8be2\uff1bCOPY \u64cd\u4f5c"}], "sections": [{"title": "\u6d88\u606f\u8fb9\u754c\u4e0e\u91cd\u590d\u5b57\u6bb5", "paragraphs": ["\u4e0b\u65b9\u5b8c\u6574\u5b9a\u4e49\u4fdd\u7559\u91cd\u590d\u9879\u3001\u8ba1\u6570\u4e0e\u6761\u4ef6\u5b57\u6bb5\u3002\u8868\u683c\u884c\u53f7\u8868\u793a\u6587\u6863\u4e2d\u7684\u5b57\u6bb5\u5b9a\u4e49\uff0c\u5e76\u975e\u56fa\u5b9a\u5b57\u8282\u504f\u79fb\u91cf\u3002\u6574\u6570\u7f16\u7801\u4e0e\u4ea4\u4e92\u6d41\u7a0b\u4ee5\u540c\u7248\u672c\u534f\u8bae\u7ae0\u8282\u4e3a\u51c6\u3002"]}], "center_zh": {"title": "CopyInResponse", "locale": "zh-Hans", "source": {"key": "copyinresponse-b", "locale": "zh-Hans", "version": "17", "text_hash": "89487487e6db056e66a35334ae24a8c5ae4ef0f59b7d07c74ba2c83eace52057", "collection": "protocol", "dataset_hash": "7c31b524dfe136022d39a6ae8dcfac6b3bbd5f8fdaf422536599981252aff0c9", "source_database": "center", "source_revision": "dd27f2b3c59e73ed14aa3324901242bf69a032a6347805f274e6260322d42979"}, "payload": {"facts": [{"label": "\u65b9\u5411", "value": "\u540e\u7aef \u2192 \u524d\u7aef"}, {"label": "\u9996\u4e2a\u7ebf\u4e0a\u534f\u8bae\u5b57\u6bb5", "value": "Byte1('G')"}, {"label": "\u5b57\u6bb5\u6761\u76ee", "value": "5"}, {"label": "\u624b\u518c\u4e2d\u7684\u4ea4\u4e92\u9636\u6bb5", "value": "\u7b80\u5355\u67e5\u8be2\uff1bCOPY \u64cd\u4f5c"}], "tables": [{"key": "fields", "rows": [{"c0": "1", "c1": "Byte1('G')", "c2": "\u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002"}, {"c0": "2", "c1": "Int32", "c2": "\u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002"}, {"c0": "3", "c1": "Int8", "c2": "0 \u8868\u793a COPY \u7684\u6574\u4f53\u683c\u5f0f\u4e3a\u6587\u672c\uff08\u7528\u6362\u884c\u7b26\u5206\u9694\u884c\u3001\u7528\u5206\u9694\u5b57\u7b26\u5206\u9694\u5217\u7b49\uff09\uff1b1 \u8868\u793a\u6574\u4f53\u683c\u5f0f\u4e3a\u4e8c\u8fdb\u5236\uff08\u7c7b\u4f3c DataRow \u683c\u5f0f\uff09\u3002\u8be6\u60c5\u53c2\u89c1 COPY\u3002"}, {"c0": "4", "c1": "Int16", "c2": "\u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 N \u8868\u793a\uff09\u3002"}, {"c0": "5", "c1": "Int16[ N ]", "c2": "\u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002"}], "title": "\u6309\u624b\u518c\u987a\u5e8f\u6392\u5217\u7684\u7ebf\u4e0a\u534f\u8bae\u5b57\u6bb5", "columns": [{"key": "c0", "label": "\u4f4d\u7f6e"}, {"key": "c1", "label": "\u683c\u5f0f"}, {"key": "c2", "label": "\u542b\u4e49"}]}], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-identity", "manual": {"url": "/zh/docs/17/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS-COPYINRESPONSE", "anchor": "PROTOCOL-MESSAGE-FORMATS-COPYINRESPONSE", "locale": "zh-Hans", "version": "17", "build_id": 105, "page_key": "protocol-message-formats.html", "extraction": "exact-definition", "source_hash": "e8c9ba58e397deab7bd056f274a895a459624a355e846ab7cb026235b394e05e", "fragment_sha256": "8cd51d536f6101f98c3622d9c11aa8e4ef4e97c68ad7a04cc71acba5a173bf79", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "git:b1b500221dbe5437cfca004d6b04d3f6e422765d;html-sha256:7340767258d21c21b36f373f1fff6bab2be18e0daca13a865129db6105c09efd", "translated_from_revision": null}, "body_sha256": "8b56bf7c93a2458392f2353399431efd4beae845c081a2b2c62ae488ea441062", "runtime_rerun": false, "authored_translation": "source-derived-identity", "source_facts_revision": "dd27f2b3c59e73ed14aa3324901242bf69a032a6347805f274e6260322d42979"}, "sections": [{"title": "\u6d88\u606f\u8fb9\u754c\u4e0e\u91cd\u590d\u5b57\u6bb5", "paragraphs": ["\u4e0b\u65b9\u5b8c\u6574\u5b9a\u4e49\u4fdd\u7559\u91cd\u590d\u9879\u3001\u8ba1\u6570\u4e0e\u6761\u4ef6\u5b57\u6bb5\u3002\u8868\u683c\u884c\u53f7\u8868\u793a\u6587\u6863\u4e2d\u7684\u5b57\u6bb5\u5b9a\u4e49\uff0c\u5e76\u975e\u56fa\u5b9a\u5b57\u8282\u504f\u79fb\u91cf\u3002\u6574\u6570\u7f16\u7801\u4e0e\u4ea4\u4e92\u6d41\u7a0b\u4ee5\u540c\u7248\u672c\u534f\u8bae\u7ae0\u8282\u4e3a\u51c6\u3002"]}], "description_zh": "Byte1('G') \u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002 Int32 \u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002 Int8 0 \u8868\u793a\u6574\u4f53 COPY \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 COPY \u3002 Int16 \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 N \u8868\u793a\uff09\u3002 Int16[ N ] \u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002", "description_zh_html": "<p>\u534f\u8bae\u6d88\u606f CopyInResponse (B)\u3002</p><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u5b9a\u4e49</h3><dd><div class=\"variablelist\"><dl class=\"variablelist\"><dt><span class=\"term\">Byte1('G')</span> </dt><dd><p>\n         \u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002\n        </p></dd><dt><span class=\"term\">Int32</span> </dt><dd><p>\n         \u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002\n        </p></dd><dt><span class=\"term\">Int8</span> </dt><dd><p>\n         0 \u8868\u793a\u6574\u4f53 <code class=\"command\">COPY</code> \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 <a class=\"xref\" href=\"/zh/docs/17/sql-copy.html\"><span class=\"refentrytitle\">COPY</span></a>\u3002\n        </p></dd><dt><span class=\"term\">Int16</span> </dt><dd><p>\n         \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 <em class=\"replaceable\"><code>N</code></em> \u8868\u793a\uff09\u3002\n        </p></dd><dt><span class=\"term\">Int16[<em class=\"replaceable\"><code>N</code></em>]</span> </dt><dd><p>\n         \u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002\n        </p></dd></dl></div></dd><p><a href=\"/zh/docs/17/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS-COPYINRESPONSE\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "summary": "Byte1('G') \u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002 Int32 \u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002 Int8 0 \u8868\u793a\u6574\u4f53 COPY \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 COPY \u3002 Int16 \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 N \u8868\u793a\uff09\u3002 Int16[ N ] \u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002", "version": "17", "link_map": {"/zh/docs/17/sql-copy.html": "/docs/17/sql-copy.html", "/zh/docs/17/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS-COPYINRESPONSE": "/docs/17/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS-COPYINRESPONSE"}, "body_html": "<p>\u534f\u8bae\u6d88\u606f CopyInResponse (B)\u3002</p><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u5b9a\u4e49</h3><dd><div><dl><dt><span>Byte1(&#39;G&#39;)</span> </dt><dd><p>\n         \u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002\n        </p></dd><dt><span>Int32</span> </dt><dd><p>\n         \u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002\n        </p></dd><dt><span>Int8</span> </dt><dd><p>\n         0 \u8868\u793a\u6574\u4f53 <code>COPY</code> \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 <a href=\"/zh/docs/17/sql-copy.html\" rel=\"nofollow\"><span>COPY</span></a>\u3002\n        </p></dd><dt><span>Int16</span> </dt><dd><p>\n         \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 <em><code>N</code></em> \u8868\u793a\uff09\u3002\n        </p></dd><dt><span>Int16[<em><code>N</code></em>]</span> </dt><dd><p>\n         \u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002\n        </p></dd></dl></div></dd><p><a href=\"/zh/docs/17/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS-COPYINRESPONSE\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>", "body_sha256": "74b9d7af5293dfad5a75fc6dea2ec87824f47e52c591a98311e8e261f3bd2a20", "content_hash": "89487487e6db056e66a35334ae24a8c5ae4ef0f59b7d07c74ba2c83eace52057", "source_database": "center", "source_revision": "dd27f2b3c59e73ed14aa3324901242bf69a032a6347805f274e6260322d42979"}, "direction": "B", "signature": "CopyInResponse (B)", "tables_zh": [{"key": "fields", "rows": [{"c0": "1", "c1": "Byte1('G')", "c2": "\u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002"}, {"c0": "2", "c1": "Int32", "c2": "\u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002"}, {"c0": "3", "c1": "Int8", "c2": "0 \u8868\u793a COPY \u7684\u6574\u4f53\u683c\u5f0f\u4e3a\u6587\u672c\uff08\u7528\u6362\u884c\u7b26\u5206\u9694\u884c\u3001\u7528\u5206\u9694\u5b57\u7b26\u5206\u9694\u5217\u7b49\uff09\uff1b1 \u8868\u793a\u6574\u4f53\u683c\u5f0f\u4e3a\u4e8c\u8fdb\u5236\uff08\u7c7b\u4f3c DataRow \u683c\u5f0f\uff09\u3002\u8be6\u60c5\u53c2\u89c1 COPY\u3002"}, {"c0": "4", "c1": "Int16", "c2": "\u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 N \u8868\u793a\uff09\u3002"}, {"c0": "5", "c1": "Int16[ N ]", "c2": "\u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002"}], "title": "\u6309\u624b\u518c\u987a\u5e8f\u6392\u5217\u7684\u7ebf\u4e0a\u534f\u8bae\u5b57\u6bb5", "columns": [{"key": "c0", "label": "\u4f4d\u7f6e"}, {"key": "c1", "label": "\u683c\u5f0f"}, {"key": "c2", "label": "\u542b\u4e49"}]}], "description": ["Byte1('G') \u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002 Int32 \u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002 Int8 0 \u8868\u793a\u6574\u4f53 COPY \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 COPY \u3002 Int16 \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 N \u8868\u793a\uff09\u3002 Int16[ N ] \u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002"], "manual_html": "", "manual_path": "/docs/17/protocol-message-formats.html", "sections_zh": [{"title": "\u6d88\u606f\u8fb9\u754c\u4e0e\u91cd\u590d\u5b57\u6bb5", "paragraphs": ["\u4e0b\u65b9\u5b8c\u6574\u5b9a\u4e49\u4fdd\u7559\u91cd\u590d\u9879\u3001\u8ba1\u6570\u4e0e\u6761\u4ef6\u5b57\u6bb5\u3002\u8868\u683c\u884c\u53f7\u8868\u793a\u6587\u6863\u4e2d\u7684\u5b57\u6bb5\u5b9a\u4e49\uff0c\u5e76\u975e\u56fa\u5b9a\u5b57\u8282\u504f\u79fb\u91cf\u3002\u6574\u6570\u7f16\u7801\u4e0e\u4ea4\u4e92\u6d41\u7a0b\u4ee5\u540c\u7248\u672c\u534f\u8bae\u7ae0\u8282\u4e3a\u51c6\u3002"]}], "localization": {"status": "complete", "sources": [{"url": "/docs/17/protocol-message-formats.html", "method": "same-major semantic node", "sha256": "d6412ab936b8b40cbe8abcad969c38c282e7039b7b2c6805eb126a28008f973d", "language": "zh", "matched_nodes": ["#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[1]/div[0]/dl[0]/dd[3]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[41]/div[0]/dl[0]/dd[1]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[41]/div[0]/dl[0]/dd[7]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[41]/div[0]/dl[0]/dd[9]"]}], "language": "zh", "original_text": {"/versions/17/description/0": "CopyInResponse is a backend protocol message. Identifies the message as a Start Copy In response. The frontend must now send copy-in data (if not prepared to do so, send a CopyFail message).", "/versions/17/facts/0/label": "Direction", "/versions/17/facts/0/value": "Backend \u2192 frontend", "/versions/17/facts/1/label": "First wire field", "/versions/17/facts/2/label": "Field entries", "/versions/17/facts/3/label": "Documented flow contexts", "/versions/17/facts/3/value": "Simple Query; COPY Operations", "/versions/17/tables/0/title": "Wire fields in documented order", "/versions/17/related/0/label": "Protocol flow and exchange examples", "/versions/17/related/1/label": "Protocol overview", "/versions/17/related/2/label": "Simple Query", "/versions/17/related/3/label": "COPY Operations", "/versions/17/sections/0/title": "Framing and repetition", "/versions/17/tables/0/rows/0/c2": "Identifies the message as a Start Copy In response. The frontend must now send copy-in data (if not prepared to do so, send a CopyFail message).", "/versions/17/tables/0/rows/1/c2": "Length of message contents in bytes, including self.", "/versions/17/tables/0/rows/2/c2": "0 indicates the overall COPY format is textual (rows separated by newlines, columns separated by separator characters, etc.). 1 indicates the overall copy format is binary (similar to DataRow format). See COPY for more information.", "/versions/17/tables/0/rows/3/c2": "The number of columns in the data to be copied (denoted N below).", "/versions/17/tables/0/rows/4/c2": "The format codes to be used for each column. Each must presently be zero (text) or one (binary). All must be zero if the overall copy format is textual.", "/versions/17/sections/0/paragraphs/0": "The complete definition below retains repetition, counts and conditional fields. A numbered table row is a documented field definition, not a fixed byte offset. Integer encodings and flow rules follow the same-version protocol chapter.", "/versions/17/tables/0/columns/0/label": "Position", "/versions/17/tables/0/columns/1/label": "Format", "/versions/17/tables/0/columns/2/label": "Meaning"}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "3a911b93d345b56adad89accdd17d52c0778967d84c27e4993e4fd0af522e218", "canonical_center_text_hash": "89487487e6db056e66a35334ae24a8c5ae4ef0f59b7d07c74ba2c83eace52057"}, "description_zh": "Byte1('G') \u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002 Int32 \u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002 Int8 0 \u8868\u793a\u6574\u4f53 COPY \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 COPY \u3002 Int16 \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 N \u8868\u793a\uff09\u3002 Int16[ N ] \u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002", "comparison_data": {"fields": [{"format": "Byte1('G')", "description": "Identifies the message as a Start Copy In response. The frontend must now send copy-in data (if not prepared to do so, send a CopyFail message)."}, {"format": "Int32", "description": "Length of message contents in bytes, including self."}, {"format": "Int8", "description": "0 indicates the overall COPY format is textual (rows separated by newlines, columns separated by separator characters, etc.). 1 indicates the overall copy format is binary (similar to DataRow format). See COPY for more information."}, {"format": "Int16", "description": "The number of columns in the data to be copied (denoted N below)."}, {"format": "Int16[ N ]", "description": "The format codes to be used for each column. Each must presently be zero (text) or one (binary). All must be zero if the overall copy format is textual."}], "direction": "B"}, "comparison_hash": "e94b6dcedbcee4d9e8d179f78b0bfb9de707a5b5c668419c65b88ebe0a164a44", "manual_language": "zh", "description_zh_html": "<p>\u534f\u8bae\u6d88\u606f CopyInResponse (B)\u3002</p><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u5b9a\u4e49</h3><dd><div><dl><dt><span>Byte1(&#39;G&#39;)</span> </dt><dd><p>\n         \u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002\n        </p></dd><dt><span>Int32</span> </dt><dd><p>\n         \u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002\n        </p></dd><dt><span>Int8</span> </dt><dd><p>\n         0 \u8868\u793a\u6574\u4f53 <code>COPY</code> \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 <a href=\"/zh/docs/17/sql-copy.html\" rel=\"nofollow\"><span>COPY</span></a>\u3002\n        </p></dd><dt><span>Int16</span> </dt><dd><p>\n         \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 <em><code>N</code></em> \u8868\u793a\uff09\u3002\n        </p></dd><dt><span>Int16[<em><code>N</code></em>]</span> </dt><dd><p>\n         \u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002\n        </p></dd></dl></div></dd><p><a href=\"/zh/docs/17/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS-COPYINRESPONSE\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "18": {"facts": [{"label": "\u65b9\u5411", "value": "\u540e\u7aef \u2192 \u524d\u7aef"}, {"label": "\u9996\u4e2a\u7ebf\u4e0a\u534f\u8bae\u5b57\u6bb5", "value": "Byte1('G')"}, {"label": "\u5b57\u6bb5\u6761\u76ee", "value": "5"}, {"label": "\u624b\u518c\u4e2d\u7684\u4ea4\u4e92\u9636\u6bb5", "value": "\u7b80\u5355\u67e5\u8be2\uff1bCOPY \u64cd\u4f5c"}], "fields": [{"format": "Byte1('G')", "description": "Identifies the message as a Start Copy In response. The frontend must now send copy-in data (if not prepared to do so, send a CopyFail message)."}, {"format": "Int32", "description": "Length of message contents in bytes, including self."}, {"format": "Int8", "description": "0 indicates the overall COPY format is textual (rows separated by newlines, columns separated by separator characters, etc.). 1 indicates the overall copy format is binary (similar to DataRow format). See COPY for more information."}, {"format": "Int16", "description": "The number of columns in the data to be copied (denoted N below)."}, {"format": "Int16[ N ]", "description": "The format codes to be used for each column. Each must presently be zero (text) or one (binary). All must be zero if the overall copy format is textual."}], "tables": [{"key": "fields", "rows": [{"c0": "1", "c1": "Byte1('G')", "c2": "\u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002"}, {"c0": "2", "c1": "Int32", "c2": "\u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002"}, {"c0": "3", "c1": "Int8", "c2": "0 \u8868\u793a COPY \u7684\u6574\u4f53\u683c\u5f0f\u4e3a\u6587\u672c\uff08\u7528\u6362\u884c\u7b26\u5206\u9694\u884c\u3001\u7528\u5206\u9694\u5b57\u7b26\u5206\u9694\u5217\u7b49\uff09\uff1b1 \u8868\u793a\u6574\u4f53\u683c\u5f0f\u4e3a\u4e8c\u8fdb\u5236\uff08\u7c7b\u4f3c DataRow \u683c\u5f0f\uff09\u3002\u8be6\u60c5\u53c2\u89c1 COPY\u3002"}, {"c0": "4", "c1": "Int16", "c2": "\u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 N \u8868\u793a\uff09\u3002"}, {"c0": "5", "c1": "Int16[ N ]", "c2": "\u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002"}], "title": "\u6309\u624b\u518c\u987a\u5e8f\u6392\u5217\u7684\u7ebf\u4e0a\u534f\u8bae\u5b57\u6bb5", "columns": [{"key": "c0", "label": "\u4f4d\u7f6e"}, {"key": "c1", "label": "\u683c\u5f0f"}, {"key": "c2", "label": "\u542b\u4e49"}]}], "related": [{"url": "/docs/18/protocol-flow.html", "label": "\u534f\u8bae\u6d41\u7a0b\u4e0e\u4ea4\u4e92\u793a\u4f8b"}, {"url": "/docs/18/protocol-overview.html", "label": "\u534f\u8bae\u6982\u8ff0"}, {"url": "/docs/18/protocol-flow.html#PROTOCOL-FLOW-SIMPLE-QUERY", "label": "\u7b80\u5355\u67e5\u8be2"}, {"url": "/docs/18/protocol-flow.html#PROTOCOL-COPY", "label": "COPY \u64cd\u4f5c"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v18.6/postgresql-18.6.tar.bz2", "label": "18.6", "major": "18", "channel": "stable", "revision": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"}, "sources": [{"url": "/docs/18/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS-COPYINRESPONSE", "path": "protocol-message-formats.html", "label": "PostgreSQL 18 English manual", "sha256": "53f37652ac2c089e30ada87d8aee7bdd0f26695b03f275302e526a807d2a1f23"}], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-identity", "manual": {"url": "/zh/docs/18/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS-COPYINRESPONSE", "anchor": "PROTOCOL-MESSAGE-FORMATS-COPYINRESPONSE", "locale": "zh-Hans", "version": "18", "build_id": 107, "page_key": "protocol-message-formats.html", "extraction": "exact-definition", "source_hash": "0be0a37b38d80c96c157ca9fcfe9222995654664aad8136f7ac2b1b552f6753a", "fragment_sha256": "3f6634210f667222fe0b4fb2b284fb2add87e28d195ba58007e703f8846c7994", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "git:b1b500221dbe5437cfca004d6b04d3f6e422765d;html-sha256:08e987a66af27b98444a8057c256314eafa13611a3fb9e888214fc436824244b", "translated_from_revision": null}, "body_sha256": "a84a7be7c805e01739dad4eae6c7e6ade1c73891b3aff1e40662c0c70407bc66", "runtime_rerun": false, "authored_translation": "source-derived-identity", "source_facts_revision": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"}, "facts_zh": [{"label": "\u65b9\u5411", "value": "\u540e\u7aef \u2192 \u524d\u7aef"}, {"label": "\u9996\u4e2a\u7ebf\u4e0a\u534f\u8bae\u5b57\u6bb5", "value": "Byte1('G')"}, {"label": "\u5b57\u6bb5\u6761\u76ee", "value": "5"}, {"label": "\u624b\u518c\u4e2d\u7684\u4ea4\u4e92\u9636\u6bb5", "value": "\u7b80\u5355\u67e5\u8be2\uff1bCOPY \u64cd\u4f5c"}], "sections": [{"title": "\u6d88\u606f\u8fb9\u754c\u4e0e\u91cd\u590d\u5b57\u6bb5", "paragraphs": ["\u4e0b\u65b9\u5b8c\u6574\u5b9a\u4e49\u4fdd\u7559\u91cd\u590d\u9879\u3001\u8ba1\u6570\u4e0e\u6761\u4ef6\u5b57\u6bb5\u3002\u8868\u683c\u884c\u53f7\u8868\u793a\u6587\u6863\u4e2d\u7684\u5b57\u6bb5\u5b9a\u4e49\uff0c\u5e76\u975e\u56fa\u5b9a\u5b57\u8282\u504f\u79fb\u91cf\u3002\u6574\u6570\u7f16\u7801\u4e0e\u4ea4\u4e92\u6d41\u7a0b\u4ee5\u540c\u7248\u672c\u534f\u8bae\u7ae0\u8282\u4e3a\u51c6\u3002"]}], "center_zh": {"title": "CopyInResponse", "locale": "zh-Hans", "source": {"key": "copyinresponse-b", "locale": "zh-Hans", "version": "18", "text_hash": "f3efa1cef797fdc9069d58efed0a89ac4ba61c0a5c38960bdded6645280cbed5", "collection": "protocol", "dataset_hash": "7c31b524dfe136022d39a6ae8dcfac6b3bbd5f8fdaf422536599981252aff0c9", "source_database": "center", "source_revision": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"}, "payload": {"facts": [{"label": "\u65b9\u5411", "value": "\u540e\u7aef \u2192 \u524d\u7aef"}, {"label": "\u9996\u4e2a\u7ebf\u4e0a\u534f\u8bae\u5b57\u6bb5", "value": "Byte1('G')"}, {"label": "\u5b57\u6bb5\u6761\u76ee", "value": "5"}, {"label": "\u624b\u518c\u4e2d\u7684\u4ea4\u4e92\u9636\u6bb5", "value": "\u7b80\u5355\u67e5\u8be2\uff1bCOPY \u64cd\u4f5c"}], "tables": [{"key": "fields", "rows": [{"c0": "1", "c1": "Byte1('G')", "c2": "\u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002"}, {"c0": "2", "c1": "Int32", "c2": "\u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002"}, {"c0": "3", "c1": "Int8", "c2": "0 \u8868\u793a COPY \u7684\u6574\u4f53\u683c\u5f0f\u4e3a\u6587\u672c\uff08\u7528\u6362\u884c\u7b26\u5206\u9694\u884c\u3001\u7528\u5206\u9694\u5b57\u7b26\u5206\u9694\u5217\u7b49\uff09\uff1b1 \u8868\u793a\u6574\u4f53\u683c\u5f0f\u4e3a\u4e8c\u8fdb\u5236\uff08\u7c7b\u4f3c DataRow \u683c\u5f0f\uff09\u3002\u8be6\u60c5\u53c2\u89c1 COPY\u3002"}, {"c0": "4", "c1": "Int16", "c2": "\u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 N \u8868\u793a\uff09\u3002"}, {"c0": "5", "c1": "Int16[ N ]", "c2": "\u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002"}], "title": "\u6309\u624b\u518c\u987a\u5e8f\u6392\u5217\u7684\u7ebf\u4e0a\u534f\u8bae\u5b57\u6bb5", "columns": [{"key": "c0", "label": "\u4f4d\u7f6e"}, {"key": "c1", "label": "\u683c\u5f0f"}, {"key": "c2", "label": "\u542b\u4e49"}]}], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-identity", "manual": {"url": "/zh/docs/18/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS-COPYINRESPONSE", "anchor": "PROTOCOL-MESSAGE-FORMATS-COPYINRESPONSE", "locale": "zh-Hans", "version": "18", "build_id": 107, "page_key": "protocol-message-formats.html", "extraction": "exact-definition", "source_hash": "0be0a37b38d80c96c157ca9fcfe9222995654664aad8136f7ac2b1b552f6753a", "fragment_sha256": "3f6634210f667222fe0b4fb2b284fb2add87e28d195ba58007e703f8846c7994", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "git:b1b500221dbe5437cfca004d6b04d3f6e422765d;html-sha256:08e987a66af27b98444a8057c256314eafa13611a3fb9e888214fc436824244b", "translated_from_revision": null}, "body_sha256": "a84a7be7c805e01739dad4eae6c7e6ade1c73891b3aff1e40662c0c70407bc66", "runtime_rerun": false, "authored_translation": "source-derived-identity", "source_facts_revision": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"}, "sections": [{"title": "\u6d88\u606f\u8fb9\u754c\u4e0e\u91cd\u590d\u5b57\u6bb5", "paragraphs": ["\u4e0b\u65b9\u5b8c\u6574\u5b9a\u4e49\u4fdd\u7559\u91cd\u590d\u9879\u3001\u8ba1\u6570\u4e0e\u6761\u4ef6\u5b57\u6bb5\u3002\u8868\u683c\u884c\u53f7\u8868\u793a\u6587\u6863\u4e2d\u7684\u5b57\u6bb5\u5b9a\u4e49\uff0c\u5e76\u975e\u56fa\u5b9a\u5b57\u8282\u504f\u79fb\u91cf\u3002\u6574\u6570\u7f16\u7801\u4e0e\u4ea4\u4e92\u6d41\u7a0b\u4ee5\u540c\u7248\u672c\u534f\u8bae\u7ae0\u8282\u4e3a\u51c6\u3002"]}], "description_zh": "Byte1('G') \u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002 Int32 \u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002 Int8 0 \u8868\u793a\u6574\u4f53 COPY \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 COPY \u3002 Int16 \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 N \u8868\u793a\uff09\u3002 Int16[ N ] \u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002", "description_zh_html": "<p>\u534f\u8bae\u6d88\u606f CopyInResponse (B)\u3002</p><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u5b9a\u4e49</h3><dd><div class=\"variablelist\"><dl class=\"variablelist\"><dt><span class=\"term\">Byte1('G')</span> </dt><dd><p>\n         \u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002\n        </p></dd><dt><span class=\"term\">Int32</span> </dt><dd><p>\n         \u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002\n        </p></dd><dt><span class=\"term\">Int8</span> </dt><dd><p>\n         0 \u8868\u793a\u6574\u4f53 <code class=\"command\">COPY</code> \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 <a class=\"xref\" href=\"/zh/docs/18/sql-copy.html\"><span class=\"refentrytitle\">COPY</span></a>\u3002\n        </p></dd><dt><span class=\"term\">Int16</span> </dt><dd><p>\n         \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 <em class=\"replaceable\"><code>N</code></em> \u8868\u793a\uff09\u3002\n        </p></dd><dt><span class=\"term\">Int16[<em class=\"replaceable\"><code>N</code></em>]</span> </dt><dd><p>\n         \u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002\n        </p></dd></dl></div></dd><p><a href=\"/zh/docs/18/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS-COPYINRESPONSE\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "summary": "Byte1('G') \u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002 Int32 \u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002 Int8 0 \u8868\u793a\u6574\u4f53 COPY \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 COPY \u3002 Int16 \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 N \u8868\u793a\uff09\u3002 Int16[ N ] \u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002", "version": "18", "link_map": {"/zh/docs/18/sql-copy.html": "/docs/18/sql-copy.html", "/zh/docs/18/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS-COPYINRESPONSE": "/docs/18/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS-COPYINRESPONSE"}, "body_html": "<p>\u534f\u8bae\u6d88\u606f CopyInResponse (B)\u3002</p><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u5b9a\u4e49</h3><dd><div><dl><dt><span>Byte1(&#39;G&#39;)</span> </dt><dd><p>\n         \u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002\n        </p></dd><dt><span>Int32</span> </dt><dd><p>\n         \u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002\n        </p></dd><dt><span>Int8</span> </dt><dd><p>\n         0 \u8868\u793a\u6574\u4f53 <code>COPY</code> \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 <a href=\"/zh/docs/18/sql-copy.html\" rel=\"nofollow\"><span>COPY</span></a>\u3002\n        </p></dd><dt><span>Int16</span> </dt><dd><p>\n         \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 <em><code>N</code></em> \u8868\u793a\uff09\u3002\n        </p></dd><dt><span>Int16[<em><code>N</code></em>]</span> </dt><dd><p>\n         \u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002\n        </p></dd></dl></div></dd><p><a href=\"/zh/docs/18/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS-COPYINRESPONSE\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>", "body_sha256": "3247e8779bb0871e41ed98728e28588826d59bd58a24d2969041a7fafbc53aca", "content_hash": "f3efa1cef797fdc9069d58efed0a89ac4ba61c0a5c38960bdded6645280cbed5", "source_database": "center", "source_revision": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"}, "direction": "B", "signature": "CopyInResponse (B)", "tables_zh": [{"key": "fields", "rows": [{"c0": "1", "c1": "Byte1('G')", "c2": "\u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002"}, {"c0": "2", "c1": "Int32", "c2": "\u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002"}, {"c0": "3", "c1": "Int8", "c2": "0 \u8868\u793a COPY \u7684\u6574\u4f53\u683c\u5f0f\u4e3a\u6587\u672c\uff08\u7528\u6362\u884c\u7b26\u5206\u9694\u884c\u3001\u7528\u5206\u9694\u5b57\u7b26\u5206\u9694\u5217\u7b49\uff09\uff1b1 \u8868\u793a\u6574\u4f53\u683c\u5f0f\u4e3a\u4e8c\u8fdb\u5236\uff08\u7c7b\u4f3c DataRow \u683c\u5f0f\uff09\u3002\u8be6\u60c5\u53c2\u89c1 COPY\u3002"}, {"c0": "4", "c1": "Int16", "c2": "\u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 N \u8868\u793a\uff09\u3002"}, {"c0": "5", "c1": "Int16[ N ]", "c2": "\u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002"}], "title": "\u6309\u624b\u518c\u987a\u5e8f\u6392\u5217\u7684\u7ebf\u4e0a\u534f\u8bae\u5b57\u6bb5", "columns": [{"key": "c0", "label": "\u4f4d\u7f6e"}, {"key": "c1", "label": "\u683c\u5f0f"}, {"key": "c2", "label": "\u542b\u4e49"}]}], "description": ["Byte1('G') \u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002 Int32 \u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002 Int8 0 \u8868\u793a\u6574\u4f53 COPY \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 COPY \u3002 Int16 \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 N \u8868\u793a\uff09\u3002 Int16[ N ] \u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002"], "manual_html": "", "manual_path": "/docs/18/protocol-message-formats.html", "sections_zh": [{"title": "\u6d88\u606f\u8fb9\u754c\u4e0e\u91cd\u590d\u5b57\u6bb5", "paragraphs": ["\u4e0b\u65b9\u5b8c\u6574\u5b9a\u4e49\u4fdd\u7559\u91cd\u590d\u9879\u3001\u8ba1\u6570\u4e0e\u6761\u4ef6\u5b57\u6bb5\u3002\u8868\u683c\u884c\u53f7\u8868\u793a\u6587\u6863\u4e2d\u7684\u5b57\u6bb5\u5b9a\u4e49\uff0c\u5e76\u975e\u56fa\u5b9a\u5b57\u8282\u504f\u79fb\u91cf\u3002\u6574\u6570\u7f16\u7801\u4e0e\u4ea4\u4e92\u6d41\u7a0b\u4ee5\u540c\u7248\u672c\u534f\u8bae\u7ae0\u8282\u4e3a\u51c6\u3002"]}], "localization": {"status": "complete", "sources": [{"url": "/docs/18/protocol-message-formats.html", "method": "same-major semantic node", "sha256": "add610bc3053cbc2f8d57b8a89e7e9d17dca8906d66221e9268c1dd1b390d0b5", "language": "zh", "matched_nodes": ["#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[1]/div[0]/dl[0]/dd[3]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[41]/div[0]/dl[0]/dd[1]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[41]/div[0]/dl[0]/dd[7]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[41]/div[0]/dl[0]/dd[9]"]}], "language": "zh", "original_text": {"/versions/18/description/0": "CopyInResponse is a backend protocol message. Identifies the message as a Start Copy In response. The frontend must now send copy-in data (if not prepared to do so, send a CopyFail message).", "/versions/18/facts/0/label": "Direction", "/versions/18/facts/0/value": "Backend \u2192 frontend", "/versions/18/facts/1/label": "First wire field", "/versions/18/facts/2/label": "Field entries", "/versions/18/facts/3/label": "Documented flow contexts", "/versions/18/facts/3/value": "Simple Query; COPY Operations", "/versions/18/tables/0/title": "Wire fields in documented order", "/versions/18/related/0/label": "Protocol flow and exchange examples", "/versions/18/related/1/label": "Protocol overview", "/versions/18/related/2/label": "Simple Query", "/versions/18/related/3/label": "COPY Operations", "/versions/18/sections/0/title": "Framing and repetition", "/versions/18/tables/0/rows/0/c2": "Identifies the message as a Start Copy In response. The frontend must now send copy-in data (if not prepared to do so, send a CopyFail message).", "/versions/18/tables/0/rows/1/c2": "Length of message contents in bytes, including self.", "/versions/18/tables/0/rows/2/c2": "0 indicates the overall COPY format is textual (rows separated by newlines, columns separated by separator characters, etc.). 1 indicates the overall copy format is binary (similar to DataRow format). See COPY for more information.", "/versions/18/tables/0/rows/3/c2": "The number of columns in the data to be copied (denoted N below).", "/versions/18/tables/0/rows/4/c2": "The format codes to be used for each column. Each must presently be zero (text) or one (binary). All must be zero if the overall copy format is textual.", "/versions/18/sections/0/paragraphs/0": "The complete definition below retains repetition, counts and conditional fields. A numbered table row is a documented field definition, not a fixed byte offset. Integer encodings and flow rules follow the same-version protocol chapter.", "/versions/18/tables/0/columns/0/label": "Position", "/versions/18/tables/0/columns/1/label": "Format", "/versions/18/tables/0/columns/2/label": "Meaning"}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "ad040e37f972df19696b48f31090dbb8134e57c8afa39835bc257ed3decdc19e", "canonical_center_text_hash": "f3efa1cef797fdc9069d58efed0a89ac4ba61c0a5c38960bdded6645280cbed5"}, "description_zh": "Byte1('G') \u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002 Int32 \u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002 Int8 0 \u8868\u793a\u6574\u4f53 COPY \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 COPY \u3002 Int16 \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 N \u8868\u793a\uff09\u3002 Int16[ N ] \u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002", "comparison_data": {"fields": [{"format": "Byte1('G')", "description": "Identifies the message as a Start Copy In response. The frontend must now send copy-in data (if not prepared to do so, send a CopyFail message)."}, {"format": "Int32", "description": "Length of message contents in bytes, including self."}, {"format": "Int8", "description": "0 indicates the overall COPY format is textual (rows separated by newlines, columns separated by separator characters, etc.). 1 indicates the overall copy format is binary (similar to DataRow format). See COPY for more information."}, {"format": "Int16", "description": "The number of columns in the data to be copied (denoted N below)."}, {"format": "Int16[ N ]", "description": "The format codes to be used for each column. Each must presently be zero (text) or one (binary). All must be zero if the overall copy format is textual."}], "direction": "B"}, "comparison_hash": "e94b6dcedbcee4d9e8d179f78b0bfb9de707a5b5c668419c65b88ebe0a164a44", "manual_language": "zh", "description_zh_html": "<p>\u534f\u8bae\u6d88\u606f CopyInResponse (B)\u3002</p><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u5b9a\u4e49</h3><dd><div><dl><dt><span>Byte1(&#39;G&#39;)</span> </dt><dd><p>\n         \u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002\n        </p></dd><dt><span>Int32</span> </dt><dd><p>\n         \u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002\n        </p></dd><dt><span>Int8</span> </dt><dd><p>\n         0 \u8868\u793a\u6574\u4f53 <code>COPY</code> \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 <a href=\"/zh/docs/18/sql-copy.html\" rel=\"nofollow\"><span>COPY</span></a>\u3002\n        </p></dd><dt><span>Int16</span> </dt><dd><p>\n         \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 <em><code>N</code></em> \u8868\u793a\uff09\u3002\n        </p></dd><dt><span>Int16[<em><code>N</code></em>]</span> </dt><dd><p>\n         \u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002\n        </p></dd></dl></div></dd><p><a href=\"/zh/docs/18/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS-COPYINRESPONSE\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>", "center_zh_rendered": "<p>\u534f\u8bae\u6d88\u606f CopyInResponse (B)\u3002</p><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u5b9a\u4e49</h3><dd><div><dl><dt><span>Byte1('G')</span> </dt><dd><p>\n         \u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002\n        </p></dd><dt><span>Int32</span> </dt><dd><p>\n         \u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002\n        </p></dd><dt><span>Int8</span> </dt><dd><p>\n         0 \u8868\u793a\u6574\u4f53 <code>COPY</code> \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 <a href=\"/docs/18/sql-copy.html\"><span>COPY</span></a>\u3002\n        </p></dd><dt><span>Int16</span> </dt><dd><p>\n         \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 <em><code>N</code></em> \u8868\u793a\uff09\u3002\n        </p></dd><dt><span>Int16[<em><code>N</code></em>]</span> </dt><dd><p>\n         \u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002\n        </p></dd></dl></div></dd><p><a href=\"/docs/18/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS-COPYINRESPONSE\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "19": {"facts": [{"label": "\u65b9\u5411", "value": "\u540e\u7aef \u2192 \u524d\u7aef"}, {"label": "\u9996\u4e2a\u7ebf\u4e0a\u534f\u8bae\u5b57\u6bb5", "value": "Byte1('G')"}, {"label": "\u5b57\u6bb5\u6761\u76ee", "value": "5"}, {"label": "\u624b\u518c\u4e2d\u7684\u4ea4\u4e92\u9636\u6bb5", "value": "\u7b80\u5355\u67e5\u8be2\uff1bCOPY \u64cd\u4f5c"}], "fields": [{"format": "Byte1('G')", "description": "Identifies the message as a Start Copy In response. The frontend must now send copy-in data (if not prepared to do so, send a CopyFail message)."}, {"format": "Int32", "description": "Length of message contents in bytes, including self."}, {"format": "Int8", "description": "0 indicates the overall COPY format is textual (rows separated by newlines, columns separated by separator characters, etc.). 1 indicates the overall copy format is binary (similar to DataRow format). See COPY for more information."}, {"format": "Int16", "description": "The number of columns in the data to be copied (denoted N below)."}, {"format": "Int16[ N ]", "description": "The format codes to be used for each column. Each must presently be zero (text) or one (binary). All must be zero if the overall copy format is textual."}], "tables": [{"key": "fields", "rows": [{"c0": "1", "c1": "Byte1('G')", "c2": "\u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002"}, {"c0": "2", "c1": "Int32", "c2": "\u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002"}, {"c0": "3", "c1": "Int8", "c2": "0 \u8868\u793a COPY \u7684\u6574\u4f53\u683c\u5f0f\u4e3a\u6587\u672c\uff08\u7528\u6362\u884c\u7b26\u5206\u9694\u884c\u3001\u7528\u5206\u9694\u5b57\u7b26\u5206\u9694\u5217\u7b49\uff09\uff1b1 \u8868\u793a\u6574\u4f53\u683c\u5f0f\u4e3a\u4e8c\u8fdb\u5236\uff08\u7c7b\u4f3c DataRow \u683c\u5f0f\uff09\u3002\u8be6\u60c5\u53c2\u89c1 COPY\u3002"}, {"c0": "4", "c1": "Int16", "c2": "\u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 N \u8868\u793a\uff09\u3002"}, {"c0": "5", "c1": "Int16[ N ]", "c2": "\u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002"}], "title": "\u6309\u624b\u518c\u987a\u5e8f\u6392\u5217\u7684\u7ebf\u4e0a\u534f\u8bae\u5b57\u6bb5", "columns": [{"key": "c0", "label": "\u4f4d\u7f6e"}, {"key": "c1", "label": "\u683c\u5f0f"}, {"key": "c2", "label": "\u542b\u4e49"}]}], "related": [{"url": "/docs/19/protocol-flow.html", "label": "\u534f\u8bae\u6d41\u7a0b\u4e0e\u4ea4\u4e92\u793a\u4f8b"}, {"url": "/docs/19/protocol-overview.html", "label": "\u534f\u8bae\u6982\u8ff0"}, {"url": "/docs/19/protocol-flow.html#PROTOCOL-FLOW-SIMPLE-QUERY", "label": "\u7b80\u5355\u67e5\u8be2"}, {"url": "/docs/19/protocol-flow.html#PROTOCOL-COPY", "label": "COPY \u64cd\u4f5c"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v19rc1/postgresql-19rc1.tar.bz2", "label": "19rc1", "major": "19", "channel": "preview", "revision": "af105fc8e960fc836a09fc2cd7f582b49fd17675d9d36631abe3a565bfd7d701"}, "sources": [{"url": "/docs/19/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS-COPYINRESPONSE", "path": "protocol-message-formats.html", "label": "PostgreSQL 19 English manual", "sha256": "2c15f7acfa00dccea808b6f5fc4406e3c41821ff2f6b2248c92a21d3b837500b"}], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-identity", "manual": {"url": "/zh/docs/19/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS-COPYINRESPONSE", "anchor": "PROTOCOL-MESSAGE-FORMATS-COPYINRESPONSE", "locale": "zh-Hans", "version": "19", "build_id": 109, "page_key": "protocol-message-formats.html", "extraction": "exact-definition", "source_hash": "c7757832f98d9d448104b5321ace56ebfd57a45dc4795a1c5ab7985f6f61fb1c", "fragment_sha256": "8dac0048cdb9be2e7c62d3ea45a568c9d4c72652f39a7a85dbcd86be980beee4", "source_revision": "sha256:af105fc8e960fc836a09fc2cd7f582b49fd17675d9d36631abe3a565bfd7d701", "translation_revision": "git:b1b500221dbe5437cfca004d6b04d3f6e422765d;html-sha256:65fda1f1b62a89992b84014c9157e61b67dbe8190e93945826efec668fad038c", "translated_from_revision": "sha256:af105fc8e960fc836a09fc2cd7f582b49fd17675d9d36631abe3a565bfd7d701"}, "body_sha256": "96e61d212e8cfe1329abf5b698b86dbe99ee8888a889d9dd89cb24b15f515bee", "runtime_rerun": false, "authored_translation": "source-derived-identity", "source_facts_revision": "af105fc8e960fc836a09fc2cd7f582b49fd17675d9d36631abe3a565bfd7d701"}, "facts_zh": [{"label": "\u65b9\u5411", "value": "\u540e\u7aef \u2192 \u524d\u7aef"}, {"label": "\u9996\u4e2a\u7ebf\u4e0a\u534f\u8bae\u5b57\u6bb5", "value": "Byte1('G')"}, {"label": "\u5b57\u6bb5\u6761\u76ee", "value": "5"}, {"label": "\u624b\u518c\u4e2d\u7684\u4ea4\u4e92\u9636\u6bb5", "value": "\u7b80\u5355\u67e5\u8be2\uff1bCOPY \u64cd\u4f5c"}], "sections": [{"title": "\u6d88\u606f\u8fb9\u754c\u4e0e\u91cd\u590d\u5b57\u6bb5", "paragraphs": ["\u4e0b\u65b9\u5b8c\u6574\u5b9a\u4e49\u4fdd\u7559\u91cd\u590d\u9879\u3001\u8ba1\u6570\u4e0e\u6761\u4ef6\u5b57\u6bb5\u3002\u8868\u683c\u884c\u53f7\u8868\u793a\u6587\u6863\u4e2d\u7684\u5b57\u6bb5\u5b9a\u4e49\uff0c\u5e76\u975e\u56fa\u5b9a\u5b57\u8282\u504f\u79fb\u91cf\u3002\u6574\u6570\u7f16\u7801\u4e0e\u4ea4\u4e92\u6d41\u7a0b\u4ee5\u540c\u7248\u672c\u534f\u8bae\u7ae0\u8282\u4e3a\u51c6\u3002"]}], "center_zh": {"title": "CopyInResponse", "locale": "zh-Hans", "source": {"key": "copyinresponse-b", "locale": "zh-Hans", "version": "19", "text_hash": "8bfeb657b8623646dac3d5b1c5008e5242e615b0ff594184c96c5bffc351e31f", "collection": "protocol", "dataset_hash": "7c31b524dfe136022d39a6ae8dcfac6b3bbd5f8fdaf422536599981252aff0c9", "source_database": "center", "source_revision": "af105fc8e960fc836a09fc2cd7f582b49fd17675d9d36631abe3a565bfd7d701"}, "payload": {"facts": [{"label": "\u65b9\u5411", "value": "\u540e\u7aef \u2192 \u524d\u7aef"}, {"label": "\u9996\u4e2a\u7ebf\u4e0a\u534f\u8bae\u5b57\u6bb5", "value": "Byte1('G')"}, {"label": "\u5b57\u6bb5\u6761\u76ee", "value": "5"}, {"label": "\u624b\u518c\u4e2d\u7684\u4ea4\u4e92\u9636\u6bb5", "value": "\u7b80\u5355\u67e5\u8be2\uff1bCOPY \u64cd\u4f5c"}], "tables": [{"key": "fields", "rows": [{"c0": "1", "c1": "Byte1('G')", "c2": "\u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002"}, {"c0": "2", "c1": "Int32", "c2": "\u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002"}, {"c0": "3", "c1": "Int8", "c2": "0 \u8868\u793a COPY \u7684\u6574\u4f53\u683c\u5f0f\u4e3a\u6587\u672c\uff08\u7528\u6362\u884c\u7b26\u5206\u9694\u884c\u3001\u7528\u5206\u9694\u5b57\u7b26\u5206\u9694\u5217\u7b49\uff09\uff1b1 \u8868\u793a\u6574\u4f53\u683c\u5f0f\u4e3a\u4e8c\u8fdb\u5236\uff08\u7c7b\u4f3c DataRow \u683c\u5f0f\uff09\u3002\u8be6\u60c5\u53c2\u89c1 COPY\u3002"}, {"c0": "4", "c1": "Int16", "c2": "\u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 N \u8868\u793a\uff09\u3002"}, {"c0": "5", "c1": "Int16[ N ]", "c2": "\u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002"}], "title": "\u6309\u624b\u518c\u987a\u5e8f\u6392\u5217\u7684\u7ebf\u4e0a\u534f\u8bae\u5b57\u6bb5", "columns": [{"key": "c0", "label": "\u4f4d\u7f6e"}, {"key": "c1", "label": "\u683c\u5f0f"}, {"key": "c2", "label": "\u542b\u4e49"}]}], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-identity", "manual": {"url": "/zh/docs/19/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS-COPYINRESPONSE", "anchor": "PROTOCOL-MESSAGE-FORMATS-COPYINRESPONSE", "locale": "zh-Hans", "version": "19", "build_id": 109, "page_key": "protocol-message-formats.html", "extraction": "exact-definition", "source_hash": "c7757832f98d9d448104b5321ace56ebfd57a45dc4795a1c5ab7985f6f61fb1c", "fragment_sha256": "8dac0048cdb9be2e7c62d3ea45a568c9d4c72652f39a7a85dbcd86be980beee4", "source_revision": "sha256:af105fc8e960fc836a09fc2cd7f582b49fd17675d9d36631abe3a565bfd7d701", "translation_revision": "git:b1b500221dbe5437cfca004d6b04d3f6e422765d;html-sha256:65fda1f1b62a89992b84014c9157e61b67dbe8190e93945826efec668fad038c", "translated_from_revision": "sha256:af105fc8e960fc836a09fc2cd7f582b49fd17675d9d36631abe3a565bfd7d701"}, "body_sha256": "96e61d212e8cfe1329abf5b698b86dbe99ee8888a889d9dd89cb24b15f515bee", "runtime_rerun": false, "authored_translation": "source-derived-identity", "source_facts_revision": "af105fc8e960fc836a09fc2cd7f582b49fd17675d9d36631abe3a565bfd7d701"}, "sections": [{"title": "\u6d88\u606f\u8fb9\u754c\u4e0e\u91cd\u590d\u5b57\u6bb5", "paragraphs": ["\u4e0b\u65b9\u5b8c\u6574\u5b9a\u4e49\u4fdd\u7559\u91cd\u590d\u9879\u3001\u8ba1\u6570\u4e0e\u6761\u4ef6\u5b57\u6bb5\u3002\u8868\u683c\u884c\u53f7\u8868\u793a\u6587\u6863\u4e2d\u7684\u5b57\u6bb5\u5b9a\u4e49\uff0c\u5e76\u975e\u56fa\u5b9a\u5b57\u8282\u504f\u79fb\u91cf\u3002\u6574\u6570\u7f16\u7801\u4e0e\u4ea4\u4e92\u6d41\u7a0b\u4ee5\u540c\u7248\u672c\u534f\u8bae\u7ae0\u8282\u4e3a\u51c6\u3002"]}], "description_zh": "Byte1('G') \u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002 Int32 \u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002 Int8 0 \u8868\u793a\u6574\u4f53 COPY \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 COPY \u3002 Int16 \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 N \u8868\u793a\uff09\u3002 Int16[ N ] \u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002", "description_zh_html": "<p>\u534f\u8bae\u6d88\u606f CopyInResponse (B)\u3002</p><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u5b9a\u4e49</h3><dd><div class=\"variablelist\"><dl class=\"variablelist\"><dt><span class=\"term\">Byte1('G')</span> </dt><dd><p>\n         \u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002\n        </p></dd><dt><span class=\"term\">Int32</span> </dt><dd><p>\n         \u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002\n        </p></dd><dt><span class=\"term\">Int8</span> </dt><dd><p>\n         0 \u8868\u793a\u6574\u4f53 <code class=\"command\">COPY</code> \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 <a class=\"xref\" href=\"/zh/docs/19/sql-copy.html\"><span class=\"refentrytitle\">COPY</span></a>\u3002\n        </p></dd><dt><span class=\"term\">Int16</span> </dt><dd><p>\n         \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 <em class=\"replaceable\"><code>N</code></em> \u8868\u793a\uff09\u3002\n        </p></dd><dt><span class=\"term\">Int16[<em class=\"replaceable\"><code>N</code></em>]</span> </dt><dd><p>\n         \u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002\n        </p></dd></dl></div></dd><p><a href=\"/zh/docs/19/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS-COPYINRESPONSE\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "summary": "Byte1('G') \u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002 Int32 \u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002 Int8 0 \u8868\u793a\u6574\u4f53 COPY \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 COPY \u3002 Int16 \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 N \u8868\u793a\uff09\u3002 Int16[ N ] \u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002", "version": "19", "link_map": {"/zh/docs/19/sql-copy.html": "/docs/19/sql-copy.html", "/zh/docs/19/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS-COPYINRESPONSE": "/docs/19/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS-COPYINRESPONSE"}, "body_html": "<p>\u534f\u8bae\u6d88\u606f CopyInResponse (B)\u3002</p><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u5b9a\u4e49</h3><dd><div><dl><dt><span>Byte1(&#39;G&#39;)</span> </dt><dd><p>\n         \u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002\n        </p></dd><dt><span>Int32</span> </dt><dd><p>\n         \u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002\n        </p></dd><dt><span>Int8</span> </dt><dd><p>\n         0 \u8868\u793a\u6574\u4f53 <code>COPY</code> \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 <a href=\"/zh/docs/19/sql-copy.html\" rel=\"nofollow\"><span>COPY</span></a>\u3002\n        </p></dd><dt><span>Int16</span> </dt><dd><p>\n         \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 <em><code>N</code></em> \u8868\u793a\uff09\u3002\n        </p></dd><dt><span>Int16[<em><code>N</code></em>]</span> </dt><dd><p>\n         \u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002\n        </p></dd></dl></div></dd><p><a href=\"/zh/docs/19/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS-COPYINRESPONSE\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>", "body_sha256": "ff795c036e9c2d875dd907622b170cab7794a25f60b7c2240281f18e3ee53576", "content_hash": "8bfeb657b8623646dac3d5b1c5008e5242e615b0ff594184c96c5bffc351e31f", "source_database": "center", "source_revision": "af105fc8e960fc836a09fc2cd7f582b49fd17675d9d36631abe3a565bfd7d701"}, "direction": "B", "signature": "CopyInResponse (B)", "tables_zh": [{"key": "fields", "rows": [{"c0": "1", "c1": "Byte1('G')", "c2": "\u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002"}, {"c0": "2", "c1": "Int32", "c2": "\u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002"}, {"c0": "3", "c1": "Int8", "c2": "0 \u8868\u793a COPY \u7684\u6574\u4f53\u683c\u5f0f\u4e3a\u6587\u672c\uff08\u7528\u6362\u884c\u7b26\u5206\u9694\u884c\u3001\u7528\u5206\u9694\u5b57\u7b26\u5206\u9694\u5217\u7b49\uff09\uff1b1 \u8868\u793a\u6574\u4f53\u683c\u5f0f\u4e3a\u4e8c\u8fdb\u5236\uff08\u7c7b\u4f3c DataRow \u683c\u5f0f\uff09\u3002\u8be6\u60c5\u53c2\u89c1 COPY\u3002"}, {"c0": "4", "c1": "Int16", "c2": "\u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 N \u8868\u793a\uff09\u3002"}, {"c0": "5", "c1": "Int16[ N ]", "c2": "\u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002"}], "title": "\u6309\u624b\u518c\u987a\u5e8f\u6392\u5217\u7684\u7ebf\u4e0a\u534f\u8bae\u5b57\u6bb5", "columns": [{"key": "c0", "label": "\u4f4d\u7f6e"}, {"key": "c1", "label": "\u683c\u5f0f"}, {"key": "c2", "label": "\u542b\u4e49"}]}], "description": ["Byte1('G') \u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002 Int32 \u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002 Int8 0 \u8868\u793a\u6574\u4f53 COPY \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 COPY \u3002 Int16 \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 N \u8868\u793a\uff09\u3002 Int16[ N ] \u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002"], "manual_html": "", "manual_path": "/docs/19/protocol-message-formats.html", "sections_zh": [{"title": "\u6d88\u606f\u8fb9\u754c\u4e0e\u91cd\u590d\u5b57\u6bb5", "paragraphs": ["\u4e0b\u65b9\u5b8c\u6574\u5b9a\u4e49\u4fdd\u7559\u91cd\u590d\u9879\u3001\u8ba1\u6570\u4e0e\u6761\u4ef6\u5b57\u6bb5\u3002\u8868\u683c\u884c\u53f7\u8868\u793a\u6587\u6863\u4e2d\u7684\u5b57\u6bb5\u5b9a\u4e49\uff0c\u5e76\u975e\u56fa\u5b9a\u5b57\u8282\u504f\u79fb\u91cf\u3002\u6574\u6570\u7f16\u7801\u4e0e\u4ea4\u4e92\u6d41\u7a0b\u4ee5\u540c\u7248\u672c\u534f\u8bae\u7ae0\u8282\u4e3a\u51c6\u3002"]}], "localization": {"status": "complete", "sources": [{"url": "/docs/19/protocol-message-formats.html", "method": "same-major semantic node", "sha256": "c1bf02758e5b347662df055d3c8807b753fab16fc7238ed640efe95863588bff", "language": "zh", "matched_nodes": ["#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[1]/div[0]/dl[0]/dd[3]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[41]/div[0]/dl[0]/dd[1]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[41]/div[0]/dl[0]/dd[7]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[41]/div[0]/dl[0]/dd[9]"]}], "language": "zh", "original_text": {"/versions/19/description/0": "CopyInResponse is a backend protocol message. Identifies the message as a Start Copy In response. The frontend must now send copy-in data (if not prepared to do so, send a CopyFail message).", "/versions/19/facts/0/label": "Direction", "/versions/19/facts/0/value": "Backend \u2192 frontend", "/versions/19/facts/1/label": "First wire field", "/versions/19/facts/2/label": "Field entries", "/versions/19/facts/3/label": "Documented flow contexts", "/versions/19/facts/3/value": "Simple Query; COPY Operations", "/versions/19/tables/0/title": "Wire fields in documented order", "/versions/19/related/0/label": "Protocol flow and exchange examples", "/versions/19/related/1/label": "Protocol overview", "/versions/19/related/2/label": "Simple Query", "/versions/19/related/3/label": "COPY Operations", "/versions/19/sections/0/title": "Framing and repetition", "/versions/19/tables/0/rows/0/c2": "Identifies the message as a Start Copy In response. The frontend must now send copy-in data (if not prepared to do so, send a CopyFail message).", "/versions/19/tables/0/rows/1/c2": "Length of message contents in bytes, including self.", "/versions/19/tables/0/rows/2/c2": "0 indicates the overall COPY format is textual (rows separated by newlines, columns separated by separator characters, etc.). 1 indicates the overall copy format is binary (similar to DataRow format). See COPY for more information.", "/versions/19/tables/0/rows/3/c2": "The number of columns in the data to be copied (denoted N below).", "/versions/19/tables/0/rows/4/c2": "The format codes to be used for each column. Each must presently be zero (text) or one (binary). All must be zero if the overall copy format is textual.", "/versions/19/sections/0/paragraphs/0": "The complete definition below retains repetition, counts and conditional fields. A numbered table row is a documented field definition, not a fixed byte offset. Integer encodings and flow rules follow the same-version protocol chapter.", "/versions/19/tables/0/columns/0/label": "Position", "/versions/19/tables/0/columns/1/label": "Format", "/versions/19/tables/0/columns/2/label": "Meaning"}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "55b1974558c25f0ef2a107d098915bb5ae4f2624fefa9eddba3e33217c77ed7f", "canonical_center_text_hash": "8bfeb657b8623646dac3d5b1c5008e5242e615b0ff594184c96c5bffc351e31f"}, "description_zh": "Byte1('G') \u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002 Int32 \u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002 Int8 0 \u8868\u793a\u6574\u4f53 COPY \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 COPY \u3002 Int16 \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 N \u8868\u793a\uff09\u3002 Int16[ N ] \u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002", "comparison_data": {"fields": [{"format": "Byte1('G')", "description": "Identifies the message as a Start Copy In response. The frontend must now send copy-in data (if not prepared to do so, send a CopyFail message)."}, {"format": "Int32", "description": "Length of message contents in bytes, including self."}, {"format": "Int8", "description": "0 indicates the overall COPY format is textual (rows separated by newlines, columns separated by separator characters, etc.). 1 indicates the overall copy format is binary (similar to DataRow format). See COPY for more information."}, {"format": "Int16", "description": "The number of columns in the data to be copied (denoted N below)."}, {"format": "Int16[ N ]", "description": "The format codes to be used for each column. Each must presently be zero (text) or one (binary). All must be zero if the overall copy format is textual."}], "direction": "B"}, "comparison_hash": "e94b6dcedbcee4d9e8d179f78b0bfb9de707a5b5c668419c65b88ebe0a164a44", "manual_language": "zh", "description_zh_html": "<p>\u534f\u8bae\u6d88\u606f CopyInResponse (B)\u3002</p><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u5b9a\u4e49</h3><dd><div><dl><dt><span>Byte1(&#39;G&#39;)</span> </dt><dd><p>\n         \u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002\n        </p></dd><dt><span>Int32</span> </dt><dd><p>\n         \u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002\n        </p></dd><dt><span>Int8</span> </dt><dd><p>\n         0 \u8868\u793a\u6574\u4f53 <code>COPY</code> \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 <a href=\"/zh/docs/19/sql-copy.html\" rel=\"nofollow\"><span>COPY</span></a>\u3002\n        </p></dd><dt><span>Int16</span> </dt><dd><p>\n         \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 <em><code>N</code></em> \u8868\u793a\uff09\u3002\n        </p></dd><dt><span>Int16[<em><code>N</code></em>]</span> </dt><dd><p>\n         \u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002\n        </p></dd></dl></div></dd><p><a href=\"/zh/docs/19/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS-COPYINRESPONSE\" 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": {"facts": [{"label": "\u65b9\u5411", "value": "\u540e\u7aef \u2192 \u524d\u7aef"}, {"label": "\u9996\u4e2a\u7ebf\u4e0a\u534f\u8bae\u5b57\u6bb5", "value": "Byte1('G')"}, {"label": "\u5b57\u6bb5\u6761\u76ee", "value": "5"}, {"label": "\u624b\u518c\u4e2d\u7684\u4ea4\u4e92\u9636\u6bb5", "value": "\u7b80\u5355\u67e5\u8be2\uff1bCOPY \u64cd\u4f5c"}], "fields": [{"format": "Byte1('G')", "description": "Identifies the message as a Start Copy In response. The frontend must now send copy-in data (if not prepared to do so, send a CopyFail message)."}, {"format": "Int32", "description": "Length of message contents in bytes, including self."}, {"format": "Int8", "description": "0 indicates the overall COPY format is textual (rows separated by newlines, columns separated by separator characters, etc.). 1 indicates the overall copy format is binary (similar to DataRow format). See COPY for more information."}, {"format": "Int16", "description": "The number of columns in the data to be copied (denoted N below)."}, {"format": "Int16[ N ]", "description": "The format codes to be used for each column. Each must presently be zero (text) or one (binary). All must be zero if the overall copy format is textual."}], "tables": [{"key": "fields", "rows": [{"c0": "1", "c1": "Byte1('G')", "c2": "\u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002"}, {"c0": "2", "c1": "Int32", "c2": "\u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002"}, {"c0": "3", "c1": "Int8", "c2": "0 \u8868\u793a COPY \u7684\u6574\u4f53\u683c\u5f0f\u4e3a\u6587\u672c\uff08\u7528\u6362\u884c\u7b26\u5206\u9694\u884c\u3001\u7528\u5206\u9694\u5b57\u7b26\u5206\u9694\u5217\u7b49\uff09\uff1b1 \u8868\u793a\u6574\u4f53\u683c\u5f0f\u4e3a\u4e8c\u8fdb\u5236\uff08\u7c7b\u4f3c DataRow \u683c\u5f0f\uff09\u3002\u8be6\u60c5\u53c2\u89c1 COPY\u3002"}, {"c0": "4", "c1": "Int16", "c2": "\u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 N \u8868\u793a\uff09\u3002"}, {"c0": "5", "c1": "Int16[ N ]", "c2": "\u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002"}], "title": "\u6309\u624b\u518c\u987a\u5e8f\u6392\u5217\u7684\u7ebf\u4e0a\u534f\u8bae\u5b57\u6bb5", "columns": [{"key": "c0", "label": "\u4f4d\u7f6e"}, {"key": "c1", "label": "\u683c\u5f0f"}, {"key": "c2", "label": "\u542b\u4e49"}]}], "related": [{"url": "/docs/devel/protocol-flow.html", "label": "\u534f\u8bae\u6d41\u7a0b\u4e0e\u4ea4\u4e92\u793a\u4f8b"}, {"url": "/docs/devel/protocol-overview.html", "label": "\u534f\u8bae\u6982\u8ff0"}, {"url": "/docs/devel/protocol-flow.html#PROTOCOL-FLOW-SIMPLE-QUERY", "label": "\u7b80\u5355\u67e5\u8be2"}, {"url": "/docs/devel/protocol-flow.html#PROTOCOL-COPY", "label": "COPY \u64cd\u4f5c"}], "release": {"ref": "https://ftp.postgresql.org/pub/snapshot/dev/postgresql-snapshot.tar.bz2", "label": "20devel", "major": "20", "channel": "devel", "revision": "49c73aa4c9cacef8ca979276a28ac416c08e9e54c9baee4ae5fd116a35fa13ac"}, "sources": [{"url": "/docs/devel/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS-COPYINRESPONSE", "path": "protocol-message-formats.html", "label": "PostgreSQL 20 English manual", "sha256": "139753a4086271f4e3eaec3d9dae795c6d6f73bf0af9ca2c02fc2c177e5526fd"}], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-identity", "manual": {"url": "/zh/docs/devel/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS-COPYINRESPONSE", "anchor": "PROTOCOL-MESSAGE-FORMATS-COPYINRESPONSE", "locale": "zh-Hans", "version": "20", "build_id": 111, "page_key": "protocol-message-formats.html", "extraction": "exact-definition", "source_hash": "bbca20c3d3805e49be06abbe10fde73aa69797265af25fde9edd06acdcac49cd", "fragment_sha256": "3d45a2ea8e55679303948cd0adfd8e120f5966b87ff99114014a183271cfb574", "source_revision": "sha256:49c73aa4c9cacef8ca979276a28ac416c08e9e54c9baee4ae5fd116a35fa13ac", "translation_revision": "git:b1b500221dbe5437cfca004d6b04d3f6e422765d;html-sha256:98c980963b401d40bd50df72b909e7523e3148b8fdb48edd897de2efb67e5235", "translated_from_revision": "sha256:49c73aa4c9cacef8ca979276a28ac416c08e9e54c9baee4ae5fd116a35fa13ac"}, "body_sha256": "c528d1464fc371de2f772534e50b66d4bb46eb40d785c44b035bc43fb94fb3f0", "runtime_rerun": false, "authored_translation": "source-derived-identity", "source_facts_revision": "49c73aa4c9cacef8ca979276a28ac416c08e9e54c9baee4ae5fd116a35fa13ac"}, "facts_zh": [{"label": "\u65b9\u5411", "value": "\u540e\u7aef \u2192 \u524d\u7aef"}, {"label": "\u9996\u4e2a\u7ebf\u4e0a\u534f\u8bae\u5b57\u6bb5", "value": "Byte1('G')"}, {"label": "\u5b57\u6bb5\u6761\u76ee", "value": "5"}, {"label": "\u624b\u518c\u4e2d\u7684\u4ea4\u4e92\u9636\u6bb5", "value": "\u7b80\u5355\u67e5\u8be2\uff1bCOPY \u64cd\u4f5c"}], "sections": [{"title": "\u6d88\u606f\u8fb9\u754c\u4e0e\u91cd\u590d\u5b57\u6bb5", "paragraphs": ["\u4e0b\u65b9\u5b8c\u6574\u5b9a\u4e49\u4fdd\u7559\u91cd\u590d\u9879\u3001\u8ba1\u6570\u4e0e\u6761\u4ef6\u5b57\u6bb5\u3002\u8868\u683c\u884c\u53f7\u8868\u793a\u6587\u6863\u4e2d\u7684\u5b57\u6bb5\u5b9a\u4e49\uff0c\u5e76\u975e\u56fa\u5b9a\u5b57\u8282\u504f\u79fb\u91cf\u3002\u6574\u6570\u7f16\u7801\u4e0e\u4ea4\u4e92\u6d41\u7a0b\u4ee5\u540c\u7248\u672c\u534f\u8bae\u7ae0\u8282\u4e3a\u51c6\u3002"]}], "center_zh": {"title": "CopyInResponse", "locale": "zh-Hans", "source": {"key": "copyinresponse-b", "locale": "zh-Hans", "version": "20", "text_hash": "690cb7d56430bc7fc3547e3773f0b881f5a841f8ed05d20b6a148d814abcc089", "collection": "protocol", "dataset_hash": "7c31b524dfe136022d39a6ae8dcfac6b3bbd5f8fdaf422536599981252aff0c9", "source_database": "center", "source_revision": "49c73aa4c9cacef8ca979276a28ac416c08e9e54c9baee4ae5fd116a35fa13ac"}, "payload": {"facts": [{"label": "\u65b9\u5411", "value": "\u540e\u7aef \u2192 \u524d\u7aef"}, {"label": "\u9996\u4e2a\u7ebf\u4e0a\u534f\u8bae\u5b57\u6bb5", "value": "Byte1('G')"}, {"label": "\u5b57\u6bb5\u6761\u76ee", "value": "5"}, {"label": "\u624b\u518c\u4e2d\u7684\u4ea4\u4e92\u9636\u6bb5", "value": "\u7b80\u5355\u67e5\u8be2\uff1bCOPY \u64cd\u4f5c"}], "tables": [{"key": "fields", "rows": [{"c0": "1", "c1": "Byte1('G')", "c2": "\u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002"}, {"c0": "2", "c1": "Int32", "c2": "\u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002"}, {"c0": "3", "c1": "Int8", "c2": "0 \u8868\u793a COPY \u7684\u6574\u4f53\u683c\u5f0f\u4e3a\u6587\u672c\uff08\u7528\u6362\u884c\u7b26\u5206\u9694\u884c\u3001\u7528\u5206\u9694\u5b57\u7b26\u5206\u9694\u5217\u7b49\uff09\uff1b1 \u8868\u793a\u6574\u4f53\u683c\u5f0f\u4e3a\u4e8c\u8fdb\u5236\uff08\u7c7b\u4f3c DataRow \u683c\u5f0f\uff09\u3002\u8be6\u60c5\u53c2\u89c1 COPY\u3002"}, {"c0": "4", "c1": "Int16", "c2": "\u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 N \u8868\u793a\uff09\u3002"}, {"c0": "5", "c1": "Int16[ N ]", "c2": "\u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002"}], "title": "\u6309\u624b\u518c\u987a\u5e8f\u6392\u5217\u7684\u7ebf\u4e0a\u534f\u8bae\u5b57\u6bb5", "columns": [{"key": "c0", "label": "\u4f4d\u7f6e"}, {"key": "c1", "label": "\u683c\u5f0f"}, {"key": "c2", "label": "\u542b\u4e49"}]}], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-identity", "manual": {"url": "/zh/docs/devel/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS-COPYINRESPONSE", "anchor": "PROTOCOL-MESSAGE-FORMATS-COPYINRESPONSE", "locale": "zh-Hans", "version": "20", "build_id": 111, "page_key": "protocol-message-formats.html", "extraction": "exact-definition", "source_hash": "bbca20c3d3805e49be06abbe10fde73aa69797265af25fde9edd06acdcac49cd", "fragment_sha256": "3d45a2ea8e55679303948cd0adfd8e120f5966b87ff99114014a183271cfb574", "source_revision": "sha256:49c73aa4c9cacef8ca979276a28ac416c08e9e54c9baee4ae5fd116a35fa13ac", "translation_revision": "git:b1b500221dbe5437cfca004d6b04d3f6e422765d;html-sha256:98c980963b401d40bd50df72b909e7523e3148b8fdb48edd897de2efb67e5235", "translated_from_revision": "sha256:49c73aa4c9cacef8ca979276a28ac416c08e9e54c9baee4ae5fd116a35fa13ac"}, "body_sha256": "c528d1464fc371de2f772534e50b66d4bb46eb40d785c44b035bc43fb94fb3f0", "runtime_rerun": false, "authored_translation": "source-derived-identity", "source_facts_revision": "49c73aa4c9cacef8ca979276a28ac416c08e9e54c9baee4ae5fd116a35fa13ac"}, "sections": [{"title": "\u6d88\u606f\u8fb9\u754c\u4e0e\u91cd\u590d\u5b57\u6bb5", "paragraphs": ["\u4e0b\u65b9\u5b8c\u6574\u5b9a\u4e49\u4fdd\u7559\u91cd\u590d\u9879\u3001\u8ba1\u6570\u4e0e\u6761\u4ef6\u5b57\u6bb5\u3002\u8868\u683c\u884c\u53f7\u8868\u793a\u6587\u6863\u4e2d\u7684\u5b57\u6bb5\u5b9a\u4e49\uff0c\u5e76\u975e\u56fa\u5b9a\u5b57\u8282\u504f\u79fb\u91cf\u3002\u6574\u6570\u7f16\u7801\u4e0e\u4ea4\u4e92\u6d41\u7a0b\u4ee5\u540c\u7248\u672c\u534f\u8bae\u7ae0\u8282\u4e3a\u51c6\u3002"]}], "description_zh": "Byte1('G') \u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002 Int32 \u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002 Int8 0 \u8868\u793a\u6574\u4f53 COPY \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 COPY \u3002 Int16 \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 N \u8868\u793a\uff09\u3002 Int16[ N ] \u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002", "description_zh_html": "<p>\u534f\u8bae\u6d88\u606f CopyInResponse (B)\u3002</p><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u5b9a\u4e49</h3><dd><div class=\"variablelist\"><dl class=\"variablelist\"><dt><span class=\"term\">Byte1('G')</span> </dt><dd><p>\n         \u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002\n        </p></dd><dt><span class=\"term\">Int32</span> </dt><dd><p>\n         \u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002\n        </p></dd><dt><span class=\"term\">Int8</span> </dt><dd><p>\n         0 \u8868\u793a\u6574\u4f53 <code class=\"command\">COPY</code> \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 <a class=\"xref\" href=\"/zh/docs/devel/sql-copy.html\"><span class=\"refentrytitle\">COPY</span></a>\u3002\n        </p></dd><dt><span class=\"term\">Int16</span> </dt><dd><p>\n         \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 <em class=\"replaceable\"><code>N</code></em> \u8868\u793a\uff09\u3002\n        </p></dd><dt><span class=\"term\">Int16[<em class=\"replaceable\"><code>N</code></em>]</span> </dt><dd><p>\n         \u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002\n        </p></dd></dl></div></dd><p><a href=\"/zh/docs/devel/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS-COPYINRESPONSE\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "summary": "Byte1('G') \u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002 Int32 \u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002 Int8 0 \u8868\u793a\u6574\u4f53 COPY \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 COPY \u3002 Int16 \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 N \u8868\u793a\uff09\u3002 Int16[ N ] \u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002", "version": "20", "link_map": {"/zh/docs/devel/sql-copy.html": "/docs/devel/sql-copy.html", "/zh/docs/devel/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS-COPYINRESPONSE": "/docs/devel/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS-COPYINRESPONSE"}, "body_html": "<p>\u534f\u8bae\u6d88\u606f CopyInResponse (B)\u3002</p><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u5b9a\u4e49</h3><dd><div><dl><dt><span>Byte1(&#39;G&#39;)</span> </dt><dd><p>\n         \u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002\n        </p></dd><dt><span>Int32</span> </dt><dd><p>\n         \u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002\n        </p></dd><dt><span>Int8</span> </dt><dd><p>\n         0 \u8868\u793a\u6574\u4f53 <code>COPY</code> \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 <a href=\"/zh/docs/devel/sql-copy.html\" rel=\"nofollow\"><span>COPY</span></a>\u3002\n        </p></dd><dt><span>Int16</span> </dt><dd><p>\n         \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 <em><code>N</code></em> \u8868\u793a\uff09\u3002\n        </p></dd><dt><span>Int16[<em><code>N</code></em>]</span> </dt><dd><p>\n         \u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002\n        </p></dd></dl></div></dd><p><a href=\"/zh/docs/devel/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS-COPYINRESPONSE\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>", "body_sha256": "69955643036a5877098783aceabe02e4d8dee8d524d604c2782439a999aeaafa", "content_hash": "690cb7d56430bc7fc3547e3773f0b881f5a841f8ed05d20b6a148d814abcc089", "source_database": "center", "source_revision": "49c73aa4c9cacef8ca979276a28ac416c08e9e54c9baee4ae5fd116a35fa13ac"}, "direction": "B", "signature": "CopyInResponse (B)", "tables_zh": [{"key": "fields", "rows": [{"c0": "1", "c1": "Byte1('G')", "c2": "\u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002"}, {"c0": "2", "c1": "Int32", "c2": "\u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002"}, {"c0": "3", "c1": "Int8", "c2": "0 \u8868\u793a COPY \u7684\u6574\u4f53\u683c\u5f0f\u4e3a\u6587\u672c\uff08\u7528\u6362\u884c\u7b26\u5206\u9694\u884c\u3001\u7528\u5206\u9694\u5b57\u7b26\u5206\u9694\u5217\u7b49\uff09\uff1b1 \u8868\u793a\u6574\u4f53\u683c\u5f0f\u4e3a\u4e8c\u8fdb\u5236\uff08\u7c7b\u4f3c DataRow \u683c\u5f0f\uff09\u3002\u8be6\u60c5\u53c2\u89c1 COPY\u3002"}, {"c0": "4", "c1": "Int16", "c2": "\u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 N \u8868\u793a\uff09\u3002"}, {"c0": "5", "c1": "Int16[ N ]", "c2": "\u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002"}], "title": "\u6309\u624b\u518c\u987a\u5e8f\u6392\u5217\u7684\u7ebf\u4e0a\u534f\u8bae\u5b57\u6bb5", "columns": [{"key": "c0", "label": "\u4f4d\u7f6e"}, {"key": "c1", "label": "\u683c\u5f0f"}, {"key": "c2", "label": "\u542b\u4e49"}]}], "description": ["Byte1('G') \u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002 Int32 \u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002 Int8 0 \u8868\u793a\u6574\u4f53 COPY \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 COPY \u3002 Int16 \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 N \u8868\u793a\uff09\u3002 Int16[ N ] \u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002"], "manual_html": "", "manual_path": "/docs/devel/protocol-message-formats.html", "sections_zh": [{"title": "\u6d88\u606f\u8fb9\u754c\u4e0e\u91cd\u590d\u5b57\u6bb5", "paragraphs": ["\u4e0b\u65b9\u5b8c\u6574\u5b9a\u4e49\u4fdd\u7559\u91cd\u590d\u9879\u3001\u8ba1\u6570\u4e0e\u6761\u4ef6\u5b57\u6bb5\u3002\u8868\u683c\u884c\u53f7\u8868\u793a\u6587\u6863\u4e2d\u7684\u5b57\u6bb5\u5b9a\u4e49\uff0c\u5e76\u975e\u56fa\u5b9a\u5b57\u8282\u504f\u79fb\u91cf\u3002\u6574\u6570\u7f16\u7801\u4e0e\u4ea4\u4e92\u6d41\u7a0b\u4ee5\u540c\u7248\u672c\u534f\u8bae\u7ae0\u8282\u4e3a\u51c6\u3002"]}], "localization": {"status": "complete", "sources": [{"url": "/docs/devel/protocol-message-formats.html", "method": "same-major semantic node", "sha256": "cacb5413fe2995ee79c58230881c08df2077aa918b5f243895b62e065ee7448e", "language": "zh", "matched_nodes": ["#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[1]/div[0]/dl[0]/dd[3]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[41]/div[0]/dl[0]/dd[1]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[41]/div[0]/dl[0]/dd[7]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[41]/div[0]/dl[0]/dd[9]"]}], "language": "zh", "original_text": {"/summary": "CopyInResponse is a backend protocol message. Identifies the message as a Start Copy In response. The frontend must now send copy-in data (if not prepared to do so, send a CopyFail message).", "/category": "Backend messages", "/versions/20/description/0": "CopyInResponse is a backend protocol message. Identifies the message as a Start Copy In response. The frontend must now send copy-in data (if not prepared to do so, send a CopyFail message).", "/versions/20/facts/0/label": "Direction", "/versions/20/facts/0/value": "Backend \u2192 frontend", "/versions/20/facts/1/label": "First wire field", "/versions/20/facts/2/label": "Field entries", "/versions/20/facts/3/label": "Documented flow contexts", "/versions/20/facts/3/value": "Simple Query; COPY Operations", "/versions/20/tables/0/title": "Wire fields in documented order", "/versions/20/related/0/label": "Protocol flow and exchange examples", "/versions/20/related/1/label": "Protocol overview", "/versions/20/related/2/label": "Simple Query", "/versions/20/related/3/label": "COPY Operations", "/versions/20/sections/0/title": "Framing and repetition", "/versions/20/tables/0/rows/0/c2": "Identifies the message as a Start Copy In response. The frontend must now send copy-in data (if not prepared to do so, send a CopyFail message).", "/versions/20/tables/0/rows/1/c2": "Length of message contents in bytes, including self.", "/versions/20/tables/0/rows/2/c2": "0 indicates the overall COPY format is textual (rows separated by newlines, columns separated by separator characters, etc.). 1 indicates the overall copy format is binary (similar to DataRow format). See COPY for more information.", "/versions/20/tables/0/rows/3/c2": "The number of columns in the data to be copied (denoted N below).", "/versions/20/tables/0/rows/4/c2": "The format codes to be used for each column. Each must presently be zero (text) or one (binary). All must be zero if the overall copy format is textual.", "/versions/20/sections/0/paragraphs/0": "The complete definition below retains repetition, counts and conditional fields. A numbered table row is a documented field definition, not a fixed byte offset. Integer encodings and flow rules follow the same-version protocol chapter.", "/versions/20/tables/0/columns/0/label": "Position", "/versions/20/tables/0/columns/1/label": "Format", "/versions/20/tables/0/columns/2/label": "Meaning"}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "c74ceeb3d99823cef576c20e89b7edb1c7b839c969267fbd5b4250eda4ab0490", "canonical_center_text_hash": "690cb7d56430bc7fc3547e3773f0b881f5a841f8ed05d20b6a148d814abcc089"}, "description_zh": "Byte1('G') \u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002 Int32 \u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002 Int8 0 \u8868\u793a\u6574\u4f53 COPY \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 COPY \u3002 Int16 \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 N \u8868\u793a\uff09\u3002 Int16[ N ] \u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002", "comparison_data": {"fields": [{"format": "Byte1('G')", "description": "Identifies the message as a Start Copy In response. The frontend must now send copy-in data (if not prepared to do so, send a CopyFail message)."}, {"format": "Int32", "description": "Length of message contents in bytes, including self."}, {"format": "Int8", "description": "0 indicates the overall COPY format is textual (rows separated by newlines, columns separated by separator characters, etc.). 1 indicates the overall copy format is binary (similar to DataRow format). See COPY for more information."}, {"format": "Int16", "description": "The number of columns in the data to be copied (denoted N below)."}, {"format": "Int16[ N ]", "description": "The format codes to be used for each column. Each must presently be zero (text) or one (binary). All must be zero if the overall copy format is textual."}], "direction": "B"}, "comparison_hash": "e94b6dcedbcee4d9e8d179f78b0bfb9de707a5b5c668419c65b88ebe0a164a44", "manual_language": "zh", "description_zh_html": "<p>\u534f\u8bae\u6d88\u606f CopyInResponse (B)\u3002</p><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u5b9a\u4e49</h3><dd><div><dl><dt><span>Byte1(&#39;G&#39;)</span> </dt><dd><p>\n         \u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002\n        </p></dd><dt><span>Int32</span> </dt><dd><p>\n         \u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002\n        </p></dd><dt><span>Int8</span> </dt><dd><p>\n         0 \u8868\u793a\u6574\u4f53 <code>COPY</code> \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 <a href=\"/zh/docs/devel/sql-copy.html\" rel=\"nofollow\"><span>COPY</span></a>\u3002\n        </p></dd><dt><span>Int16</span> </dt><dd><p>\n         \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 <em><code>N</code></em> \u8868\u793a\uff09\u3002\n        </p></dd><dt><span>Int16[<em><code>N</code></em>]</span> </dt><dd><p>\n         \u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002\n        </p></dd></dl></div></dd><p><a href=\"/zh/docs/devel/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS-COPYINRESPONSE\" 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": {"facts": [{"label": "\u65b9\u5411", "value": "\u540e\u7aef \u2192 \u524d\u7aef"}, {"label": "\u9996\u4e2a\u7ebf\u4e0a\u534f\u8bae\u5b57\u6bb5", "value": "Byte1('G')"}, {"label": "\u5b57\u6bb5\u6761\u76ee", "value": "5"}, {"label": "\u624b\u518c\u4e2d\u7684\u4ea4\u4e92\u9636\u6bb5", "value": "\u7b80\u5355\u67e5\u8be2\uff1bCOPY \u64cd\u4f5c"}], "fields": [{"format": "Byte1('G')", "description": "Identifies the message as a Start Copy In response. The frontend must now send copy-in data (if not prepared to do so, send a CopyFail message)."}, {"format": "Int32", "description": "Length of message contents in bytes, including self."}, {"format": "Int8", "description": "0 indicates the overall COPY format is textual (rows separated by newlines, columns separated by separator characters, etc.). 1 indicates the overall copy format is binary (similar to DataRow format). See COPY for more information."}, {"format": "Int16", "description": "The number of columns in the data to be copied (denoted N below)."}, {"format": "Int16[ N ]", "description": "The format codes to be used for each column. Each must presently be zero (text) or one (binary). All must be zero if the overall copy format is textual."}], "tables": [{"key": "fields", "rows": [{"c0": "1", "c1": "Byte1('G')", "c2": "\u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002"}, {"c0": "2", "c1": "Int32", "c2": "\u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002"}, {"c0": "3", "c1": "Int8", "c2": "0 \u8868\u793a COPY \u7684\u6574\u4f53\u683c\u5f0f\u4e3a\u6587\u672c\uff08\u7528\u6362\u884c\u7b26\u5206\u9694\u884c\u3001\u7528\u5206\u9694\u5b57\u7b26\u5206\u9694\u5217\u7b49\uff09\uff1b1 \u8868\u793a\u6574\u4f53\u683c\u5f0f\u4e3a\u4e8c\u8fdb\u5236\uff08\u7c7b\u4f3c DataRow \u683c\u5f0f\uff09\u3002\u8be6\u60c5\u53c2\u89c1 COPY\u3002"}, {"c0": "4", "c1": "Int16", "c2": "\u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 N \u8868\u793a\uff09\u3002"}, {"c0": "5", "c1": "Int16[ N ]", "c2": "\u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002"}], "title": "\u6309\u624b\u518c\u987a\u5e8f\u6392\u5217\u7684\u7ebf\u4e0a\u534f\u8bae\u5b57\u6bb5", "columns": [{"key": "c0", "label": "\u4f4d\u7f6e"}, {"key": "c1", "label": "\u683c\u5f0f"}, {"key": "c2", "label": "\u542b\u4e49"}]}], "related": [{"url": "/docs/18/protocol-flow.html", "label": "\u534f\u8bae\u6d41\u7a0b\u4e0e\u4ea4\u4e92\u793a\u4f8b"}, {"url": "/docs/18/protocol-overview.html", "label": "\u534f\u8bae\u6982\u8ff0"}, {"url": "/docs/18/protocol-flow.html#PROTOCOL-FLOW-SIMPLE-QUERY", "label": "\u7b80\u5355\u67e5\u8be2"}, {"url": "/docs/18/protocol-flow.html#PROTOCOL-COPY", "label": "COPY \u64cd\u4f5c"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v18.6/postgresql-18.6.tar.bz2", "label": "18.6", "major": "18", "channel": "stable", "revision": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"}, "sources": [{"url": "/docs/18/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS-COPYINRESPONSE", "path": "protocol-message-formats.html", "label": "PostgreSQL 18 English manual", "sha256": "53f37652ac2c089e30ada87d8aee7bdd0f26695b03f275302e526a807d2a1f23"}], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-identity", "manual": {"url": "/zh/docs/18/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS-COPYINRESPONSE", "anchor": "PROTOCOL-MESSAGE-FORMATS-COPYINRESPONSE", "locale": "zh-Hans", "version": "18", "build_id": 107, "page_key": "protocol-message-formats.html", "extraction": "exact-definition", "source_hash": "0be0a37b38d80c96c157ca9fcfe9222995654664aad8136f7ac2b1b552f6753a", "fragment_sha256": "3f6634210f667222fe0b4fb2b284fb2add87e28d195ba58007e703f8846c7994", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "git:b1b500221dbe5437cfca004d6b04d3f6e422765d;html-sha256:08e987a66af27b98444a8057c256314eafa13611a3fb9e888214fc436824244b", "translated_from_revision": null}, "body_sha256": "a84a7be7c805e01739dad4eae6c7e6ade1c73891b3aff1e40662c0c70407bc66", "runtime_rerun": false, "authored_translation": "source-derived-identity", "source_facts_revision": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"}, "facts_zh": [{"label": "\u65b9\u5411", "value": "\u540e\u7aef \u2192 \u524d\u7aef"}, {"label": "\u9996\u4e2a\u7ebf\u4e0a\u534f\u8bae\u5b57\u6bb5", "value": "Byte1('G')"}, {"label": "\u5b57\u6bb5\u6761\u76ee", "value": "5"}, {"label": "\u624b\u518c\u4e2d\u7684\u4ea4\u4e92\u9636\u6bb5", "value": "\u7b80\u5355\u67e5\u8be2\uff1bCOPY \u64cd\u4f5c"}], "sections": [{"title": "\u6d88\u606f\u8fb9\u754c\u4e0e\u91cd\u590d\u5b57\u6bb5", "paragraphs": ["\u4e0b\u65b9\u5b8c\u6574\u5b9a\u4e49\u4fdd\u7559\u91cd\u590d\u9879\u3001\u8ba1\u6570\u4e0e\u6761\u4ef6\u5b57\u6bb5\u3002\u8868\u683c\u884c\u53f7\u8868\u793a\u6587\u6863\u4e2d\u7684\u5b57\u6bb5\u5b9a\u4e49\uff0c\u5e76\u975e\u56fa\u5b9a\u5b57\u8282\u504f\u79fb\u91cf\u3002\u6574\u6570\u7f16\u7801\u4e0e\u4ea4\u4e92\u6d41\u7a0b\u4ee5\u540c\u7248\u672c\u534f\u8bae\u7ae0\u8282\u4e3a\u51c6\u3002"]}], "center_zh": {"title": "CopyInResponse", "locale": "zh-Hans", "source": {"key": "copyinresponse-b", "locale": "zh-Hans", "version": "18", "text_hash": "f3efa1cef797fdc9069d58efed0a89ac4ba61c0a5c38960bdded6645280cbed5", "collection": "protocol", "dataset_hash": "7c31b524dfe136022d39a6ae8dcfac6b3bbd5f8fdaf422536599981252aff0c9", "source_database": "center", "source_revision": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"}, "payload": {"facts": [{"label": "\u65b9\u5411", "value": "\u540e\u7aef \u2192 \u524d\u7aef"}, {"label": "\u9996\u4e2a\u7ebf\u4e0a\u534f\u8bae\u5b57\u6bb5", "value": "Byte1('G')"}, {"label": "\u5b57\u6bb5\u6761\u76ee", "value": "5"}, {"label": "\u624b\u518c\u4e2d\u7684\u4ea4\u4e92\u9636\u6bb5", "value": "\u7b80\u5355\u67e5\u8be2\uff1bCOPY \u64cd\u4f5c"}], "tables": [{"key": "fields", "rows": [{"c0": "1", "c1": "Byte1('G')", "c2": "\u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002"}, {"c0": "2", "c1": "Int32", "c2": "\u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002"}, {"c0": "3", "c1": "Int8", "c2": "0 \u8868\u793a COPY \u7684\u6574\u4f53\u683c\u5f0f\u4e3a\u6587\u672c\uff08\u7528\u6362\u884c\u7b26\u5206\u9694\u884c\u3001\u7528\u5206\u9694\u5b57\u7b26\u5206\u9694\u5217\u7b49\uff09\uff1b1 \u8868\u793a\u6574\u4f53\u683c\u5f0f\u4e3a\u4e8c\u8fdb\u5236\uff08\u7c7b\u4f3c DataRow \u683c\u5f0f\uff09\u3002\u8be6\u60c5\u53c2\u89c1 COPY\u3002"}, {"c0": "4", "c1": "Int16", "c2": "\u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 N \u8868\u793a\uff09\u3002"}, {"c0": "5", "c1": "Int16[ N ]", "c2": "\u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002"}], "title": "\u6309\u624b\u518c\u987a\u5e8f\u6392\u5217\u7684\u7ebf\u4e0a\u534f\u8bae\u5b57\u6bb5", "columns": [{"key": "c0", "label": "\u4f4d\u7f6e"}, {"key": "c1", "label": "\u683c\u5f0f"}, {"key": "c2", "label": "\u542b\u4e49"}]}], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-identity", "manual": {"url": "/zh/docs/18/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS-COPYINRESPONSE", "anchor": "PROTOCOL-MESSAGE-FORMATS-COPYINRESPONSE", "locale": "zh-Hans", "version": "18", "build_id": 107, "page_key": "protocol-message-formats.html", "extraction": "exact-definition", "source_hash": "0be0a37b38d80c96c157ca9fcfe9222995654664aad8136f7ac2b1b552f6753a", "fragment_sha256": "3f6634210f667222fe0b4fb2b284fb2add87e28d195ba58007e703f8846c7994", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "git:b1b500221dbe5437cfca004d6b04d3f6e422765d;html-sha256:08e987a66af27b98444a8057c256314eafa13611a3fb9e888214fc436824244b", "translated_from_revision": null}, "body_sha256": "a84a7be7c805e01739dad4eae6c7e6ade1c73891b3aff1e40662c0c70407bc66", "runtime_rerun": false, "authored_translation": "source-derived-identity", "source_facts_revision": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"}, "sections": [{"title": "\u6d88\u606f\u8fb9\u754c\u4e0e\u91cd\u590d\u5b57\u6bb5", "paragraphs": ["\u4e0b\u65b9\u5b8c\u6574\u5b9a\u4e49\u4fdd\u7559\u91cd\u590d\u9879\u3001\u8ba1\u6570\u4e0e\u6761\u4ef6\u5b57\u6bb5\u3002\u8868\u683c\u884c\u53f7\u8868\u793a\u6587\u6863\u4e2d\u7684\u5b57\u6bb5\u5b9a\u4e49\uff0c\u5e76\u975e\u56fa\u5b9a\u5b57\u8282\u504f\u79fb\u91cf\u3002\u6574\u6570\u7f16\u7801\u4e0e\u4ea4\u4e92\u6d41\u7a0b\u4ee5\u540c\u7248\u672c\u534f\u8bae\u7ae0\u8282\u4e3a\u51c6\u3002"]}], "description_zh": "Byte1('G') \u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002 Int32 \u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002 Int8 0 \u8868\u793a\u6574\u4f53 COPY \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 COPY \u3002 Int16 \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 N \u8868\u793a\uff09\u3002 Int16[ N ] \u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002", "description_zh_html": "<p>\u534f\u8bae\u6d88\u606f CopyInResponse (B)\u3002</p><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u5b9a\u4e49</h3><dd><div class=\"variablelist\"><dl class=\"variablelist\"><dt><span class=\"term\">Byte1('G')</span> </dt><dd><p>\n         \u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002\n        </p></dd><dt><span class=\"term\">Int32</span> </dt><dd><p>\n         \u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002\n        </p></dd><dt><span class=\"term\">Int8</span> </dt><dd><p>\n         0 \u8868\u793a\u6574\u4f53 <code class=\"command\">COPY</code> \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 <a class=\"xref\" href=\"/zh/docs/18/sql-copy.html\"><span class=\"refentrytitle\">COPY</span></a>\u3002\n        </p></dd><dt><span class=\"term\">Int16</span> </dt><dd><p>\n         \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 <em class=\"replaceable\"><code>N</code></em> \u8868\u793a\uff09\u3002\n        </p></dd><dt><span class=\"term\">Int16[<em class=\"replaceable\"><code>N</code></em>]</span> </dt><dd><p>\n         \u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002\n        </p></dd></dl></div></dd><p><a href=\"/zh/docs/18/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS-COPYINRESPONSE\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "summary": "Byte1('G') \u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002 Int32 \u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002 Int8 0 \u8868\u793a\u6574\u4f53 COPY \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 COPY \u3002 Int16 \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 N \u8868\u793a\uff09\u3002 Int16[ N ] \u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002", "version": "18", "link_map": {"/zh/docs/18/sql-copy.html": "/docs/18/sql-copy.html", "/zh/docs/18/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS-COPYINRESPONSE": "/docs/18/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS-COPYINRESPONSE"}, "body_html": "<p>\u534f\u8bae\u6d88\u606f CopyInResponse (B)\u3002</p><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u5b9a\u4e49</h3><dd><div><dl><dt><span>Byte1(&#39;G&#39;)</span> </dt><dd><p>\n         \u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002\n        </p></dd><dt><span>Int32</span> </dt><dd><p>\n         \u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002\n        </p></dd><dt><span>Int8</span> </dt><dd><p>\n         0 \u8868\u793a\u6574\u4f53 <code>COPY</code> \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 <a href=\"/zh/docs/18/sql-copy.html\" rel=\"nofollow\"><span>COPY</span></a>\u3002\n        </p></dd><dt><span>Int16</span> </dt><dd><p>\n         \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 <em><code>N</code></em> \u8868\u793a\uff09\u3002\n        </p></dd><dt><span>Int16[<em><code>N</code></em>]</span> </dt><dd><p>\n         \u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002\n        </p></dd></dl></div></dd><p><a href=\"/zh/docs/18/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS-COPYINRESPONSE\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>", "body_sha256": "3247e8779bb0871e41ed98728e28588826d59bd58a24d2969041a7fafbc53aca", "content_hash": "f3efa1cef797fdc9069d58efed0a89ac4ba61c0a5c38960bdded6645280cbed5", "source_database": "center", "source_revision": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"}, "direction": "B", "signature": "CopyInResponse (B)", "tables_zh": [{"key": "fields", "rows": [{"c0": "1", "c1": "Byte1('G')", "c2": "\u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002"}, {"c0": "2", "c1": "Int32", "c2": "\u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002"}, {"c0": "3", "c1": "Int8", "c2": "0 \u8868\u793a COPY \u7684\u6574\u4f53\u683c\u5f0f\u4e3a\u6587\u672c\uff08\u7528\u6362\u884c\u7b26\u5206\u9694\u884c\u3001\u7528\u5206\u9694\u5b57\u7b26\u5206\u9694\u5217\u7b49\uff09\uff1b1 \u8868\u793a\u6574\u4f53\u683c\u5f0f\u4e3a\u4e8c\u8fdb\u5236\uff08\u7c7b\u4f3c DataRow \u683c\u5f0f\uff09\u3002\u8be6\u60c5\u53c2\u89c1 COPY\u3002"}, {"c0": "4", "c1": "Int16", "c2": "\u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 N \u8868\u793a\uff09\u3002"}, {"c0": "5", "c1": "Int16[ N ]", "c2": "\u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002"}], "title": "\u6309\u624b\u518c\u987a\u5e8f\u6392\u5217\u7684\u7ebf\u4e0a\u534f\u8bae\u5b57\u6bb5", "columns": [{"key": "c0", "label": "\u4f4d\u7f6e"}, {"key": "c1", "label": "\u683c\u5f0f"}, {"key": "c2", "label": "\u542b\u4e49"}]}], "description": ["Byte1('G') \u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002 Int32 \u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002 Int8 0 \u8868\u793a\u6574\u4f53 COPY \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 COPY \u3002 Int16 \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 N \u8868\u793a\uff09\u3002 Int16[ N ] \u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002"], "manual_html": "", "manual_path": "/docs/18/protocol-message-formats.html", "sections_zh": [{"title": "\u6d88\u606f\u8fb9\u754c\u4e0e\u91cd\u590d\u5b57\u6bb5", "paragraphs": ["\u4e0b\u65b9\u5b8c\u6574\u5b9a\u4e49\u4fdd\u7559\u91cd\u590d\u9879\u3001\u8ba1\u6570\u4e0e\u6761\u4ef6\u5b57\u6bb5\u3002\u8868\u683c\u884c\u53f7\u8868\u793a\u6587\u6863\u4e2d\u7684\u5b57\u6bb5\u5b9a\u4e49\uff0c\u5e76\u975e\u56fa\u5b9a\u5b57\u8282\u504f\u79fb\u91cf\u3002\u6574\u6570\u7f16\u7801\u4e0e\u4ea4\u4e92\u6d41\u7a0b\u4ee5\u540c\u7248\u672c\u534f\u8bae\u7ae0\u8282\u4e3a\u51c6\u3002"]}], "localization": {"status": "complete", "sources": [{"url": "/docs/18/protocol-message-formats.html", "method": "same-major semantic node", "sha256": "add610bc3053cbc2f8d57b8a89e7e9d17dca8906d66221e9268c1dd1b390d0b5", "language": "zh", "matched_nodes": ["#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[1]/div[0]/dl[0]/dd[3]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[41]/div[0]/dl[0]/dd[1]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[41]/div[0]/dl[0]/dd[7]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[41]/div[0]/dl[0]/dd[9]"]}], "language": "zh", "original_text": {"/versions/18/description/0": "CopyInResponse is a backend protocol message. Identifies the message as a Start Copy In response. The frontend must now send copy-in data (if not prepared to do so, send a CopyFail message).", "/versions/18/facts/0/label": "Direction", "/versions/18/facts/0/value": "Backend \u2192 frontend", "/versions/18/facts/1/label": "First wire field", "/versions/18/facts/2/label": "Field entries", "/versions/18/facts/3/label": "Documented flow contexts", "/versions/18/facts/3/value": "Simple Query; COPY Operations", "/versions/18/tables/0/title": "Wire fields in documented order", "/versions/18/related/0/label": "Protocol flow and exchange examples", "/versions/18/related/1/label": "Protocol overview", "/versions/18/related/2/label": "Simple Query", "/versions/18/related/3/label": "COPY Operations", "/versions/18/sections/0/title": "Framing and repetition", "/versions/18/tables/0/rows/0/c2": "Identifies the message as a Start Copy In response. The frontend must now send copy-in data (if not prepared to do so, send a CopyFail message).", "/versions/18/tables/0/rows/1/c2": "Length of message contents in bytes, including self.", "/versions/18/tables/0/rows/2/c2": "0 indicates the overall COPY format is textual (rows separated by newlines, columns separated by separator characters, etc.). 1 indicates the overall copy format is binary (similar to DataRow format). See COPY for more information.", "/versions/18/tables/0/rows/3/c2": "The number of columns in the data to be copied (denoted N below).", "/versions/18/tables/0/rows/4/c2": "The format codes to be used for each column. Each must presently be zero (text) or one (binary). All must be zero if the overall copy format is textual.", "/versions/18/sections/0/paragraphs/0": "The complete definition below retains repetition, counts and conditional fields. A numbered table row is a documented field definition, not a fixed byte offset. Integer encodings and flow rules follow the same-version protocol chapter.", "/versions/18/tables/0/columns/0/label": "Position", "/versions/18/tables/0/columns/1/label": "Format", "/versions/18/tables/0/columns/2/label": "Meaning"}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "ad040e37f972df19696b48f31090dbb8134e57c8afa39835bc257ed3decdc19e", "canonical_center_text_hash": "f3efa1cef797fdc9069d58efed0a89ac4ba61c0a5c38960bdded6645280cbed5"}, "description_zh": "Byte1('G') \u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002 Int32 \u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002 Int8 0 \u8868\u793a\u6574\u4f53 COPY \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 COPY \u3002 Int16 \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 N \u8868\u793a\uff09\u3002 Int16[ N ] \u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002", "comparison_data": {"fields": [{"format": "Byte1('G')", "description": "Identifies the message as a Start Copy In response. The frontend must now send copy-in data (if not prepared to do so, send a CopyFail message)."}, {"format": "Int32", "description": "Length of message contents in bytes, including self."}, {"format": "Int8", "description": "0 indicates the overall COPY format is textual (rows separated by newlines, columns separated by separator characters, etc.). 1 indicates the overall copy format is binary (similar to DataRow format). See COPY for more information."}, {"format": "Int16", "description": "The number of columns in the data to be copied (denoted N below)."}, {"format": "Int16[ N ]", "description": "The format codes to be used for each column. Each must presently be zero (text) or one (binary). All must be zero if the overall copy format is textual."}], "direction": "B"}, "comparison_hash": "e94b6dcedbcee4d9e8d179f78b0bfb9de707a5b5c668419c65b88ebe0a164a44", "manual_language": "zh", "description_zh_html": "<p>\u534f\u8bae\u6d88\u606f CopyInResponse (B)\u3002</p><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u5b9a\u4e49</h3><dd><div><dl><dt><span>Byte1(&#39;G&#39;)</span> </dt><dd><p>\n         \u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002\n        </p></dd><dt><span>Int32</span> </dt><dd><p>\n         \u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002\n        </p></dd><dt><span>Int8</span> </dt><dd><p>\n         0 \u8868\u793a\u6574\u4f53 <code>COPY</code> \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 <a href=\"/zh/docs/18/sql-copy.html\" rel=\"nofollow\"><span>COPY</span></a>\u3002\n        </p></dd><dt><span>Int16</span> </dt><dd><p>\n         \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 <em><code>N</code></em> \u8868\u793a\uff09\u3002\n        </p></dd><dt><span>Int16[<em><code>N</code></em>]</span> </dt><dd><p>\n         \u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002\n        </p></dd></dl></div></dd><p><a href=\"/zh/docs/18/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS-COPYINRESPONSE\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>", "center_zh_rendered": "<p>\u534f\u8bae\u6d88\u606f CopyInResponse (B)\u3002</p><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u5b9a\u4e49</h3><dd><div><dl><dt><span>Byte1('G')</span> </dt><dd><p>\n         \u5c06\u8be5\u6d88\u606f\u6807\u8bc6\u4e3a\u5f00\u59cb COPY \u8f93\u5165\u7684\u54cd\u5e94\u3002\u524d\u7aef\u6b64\u65f6\u5fc5\u987b\u53d1\u9001 COPY \u8f93\u5165\u6570\u636e\uff08\u5982\u679c\u5c1a\u672a\u51c6\u5907\u597d\uff0c\u5e94\u53d1\u9001 CopyFail \u6d88\u606f\uff09\u3002\n        </p></dd><dt><span>Int32</span> </dt><dd><p>\n         \u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002\n        </p></dd><dt><span>Int8</span> </dt><dd><p>\n         0 \u8868\u793a\u6574\u4f53 <code>COPY</code> \u683c\u5f0f\u662f\u6587\u672c\u7684\uff08\u884c\u7531\u6362\u884c\u7b26\u5206\u9694\uff0c\u5217\u7531\u5206\u9694\u7b26\u5206\u9694\u7b49\uff09\u30021 \u8868\u793a\u6574\u4f53\u590d\u5236\u683c\u5f0f\u662f\u4e8c\u8fdb\u5236\u7684\uff08\u7c7b\u4f3c\u4e8e DataRow \u683c\u5f0f\uff09\u3002\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 <a href=\"/docs/18/sql-copy.html\"><span>COPY</span></a>\u3002\n        </p></dd><dt><span>Int16</span> </dt><dd><p>\n         \u8981\u590d\u5236\u7684\u6570\u636e\u4e2d\u7684\u5217\u6570\uff08\u4ee5\u4e0b\u7528 <em><code>N</code></em> \u8868\u793a\uff09\u3002\n        </p></dd><dt><span>Int16[<em><code>N</code></em>]</span> </dt><dd><p>\n         \u5404\u5217\u4f7f\u7528\u7684\u683c\u5f0f\u4ee3\u7801\u3002\u76ee\u524d\u6bcf\u4e2a\u4ee3\u7801\u5fc5\u987b\u4e3a\u96f6\uff08\u6587\u672c\uff09\u6216\u4e00\uff08\u4e8c\u8fdb\u5236\uff09\u3002\u5982\u679c\u6574\u4f53\u590d\u5236\u683c\u5f0f\u4e3a\u6587\u672c\uff0c\u5219\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4e3a\u96f6\u3002\n        </p></dd></dl></div></dd><p><a href=\"/docs/18/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS-COPYINRESPONSE\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "comparison": {"left": "17", "right": "18", "status": "unchanged", "diff": ""}}