{"kind": "protocol", "major": "18", "item": {"slug": "startupmessage-f", "name": "StartupMessage", "name_zh": "", "category": "\u524d\u7aef\u6d88\u606f", "summary": "StartupMessage \u662f\u524d\u7aef\u534f\u8bae\u6d88\u606f\u3002\u6d88\u606f\u5185\u5bb9\u957f\u5ea6\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff0c\u5305\u542b\u957f\u5ea6\u5b57\u6bb5\u672c\u8eab\u3002", "aliases": ["StartupMessage", "Int32"], "content_hash": "47bac38c46a5d9d2425bd2bd11a20b477e159a5f9bf2923f368ea364bb661d7f", "versions": {"10": {"facts": [{"label": "\u65b9\u5411", "value": "\u524d\u7aef \u2192 \u540e\u7aef"}, {"label": "\u9996\u4e2a\u7ebf\u4e0a\u534f\u8bae\u5b57\u6bb5", "value": "Int32"}, {"label": "\u5b57\u6bb5\u6761\u76ee", "value": "8"}, {"label": "\u624b\u518c\u4e2d\u7684\u4ea4\u4e92\u9636\u6bb5", "value": "\u53d6\u6d88\u6b63\u5728\u6267\u884c\u7684\u8bf7\u6c42\uff1bSSL \u4f1a\u8bdd\u52a0\u5bc6"}], "fields": [{"format": "Int32", "description": "Length of message contents in bytes, including self."}, {"format": "Int32(196608)", "description": "The protocol version number. The most significant 16 bits are the major version number (3 for the protocol described here). The least significant 16 bits are the minor version number (0 for the protocol described here)."}, {"format": "String", "description": "The parameter name. Currently recognized names are: user The database user name to connect as. Required; there is no default. database The database to connect to. Defaults to the user name. options Command-line arguments for the backend. (This is deprecated in favor of setting individual run-time parameters.) Spaces within this string are considered to separate arguments, unless escaped with a backslash ( \\ ); write \\\\ to represent a literal backslash. replication Used to connect in streaming replication mode, where a small set of replication commands can be issued instead of SQL statements. Value can be true , false , or database , and the default is false . See Section 52.4 for details. In addition to the above, other parameters may be listed. Parameter names beginning with _pq_. are reserved for use as protocol extensions, while others are treated as run-time parameters to be set at backend start time. Such settings will be applied during backend start (after parsing the command-line arguments if any) and will act as session defaults."}, {"format": "user", "description": "The database user name to connect as. Required; there is no default."}, {"format": "database", "description": "The database to connect to. Defaults to the user name."}, {"format": "options", "description": "Command-line arguments for the backend. (This is deprecated in favor of setting individual run-time parameters.) Spaces within this string are considered to separate arguments, unless escaped with a backslash ( \\ ); write \\\\ to represent a literal backslash."}, {"format": "replication", "description": "Used to connect in streaming replication mode, where a small set of replication commands can be issued instead of SQL statements. Value can be true , false , or database , and the default is false . See Section 52.4 for details."}, {"format": "String", "description": "The parameter value."}], "tables": [{"key": "fields", "rows": [{"c0": "1", "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": "2", "c1": "Int32(196608)", "c2": "\u534f\u8bae\u7248\u672c\u53f7\u3002\u9ad8 16 \u4f4d\u4e3a\u4e3b\u7248\u672c\u53f7\uff08\u6b64\u5904\u63cf\u8ff0\u7684\u534f\u8bae\u4e3a 3\uff09\uff1b\u4f4e 16 \u4f4d\u4e3a\u6b21\u7248\u672c\u53f7\uff08\u6b64\u5904\u63cf\u8ff0\u7684\u534f\u8bae\u4e3a 0\uff09\u3002"}, {"c0": "3", "c1": "\u5b57\u7b26\u4e32", "c2": "\u53c2\u6570\u540d\u79f0\u3002\u76ee\u524d\u8bc6\u522b\u4ee5\u4e0b\u540d\u79f0\uff1auser \u4e3a\u8fde\u63a5\u6240\u7528\u7684\u6570\u636e\u5e93\u7528\u6237\u540d\uff0c\u5fc5\u586b\u4e14\u6ca1\u6709\u9ed8\u8ba4\u503c\uff1bdatabase \u4e3a\u8981\u8fde\u63a5\u7684\u6570\u636e\u5e93\uff0c\u9ed8\u8ba4\u4e3a\u7528\u6237\u540d\uff1boptions \u4e3a\u4f20\u7ed9\u540e\u7aef\u7684\u547d\u4ee4\u884c\u53c2\u6570\uff0c\u6b64\u7528\u6cd5\u5df2\u5f03\u7528\uff0c\u5efa\u8bae\u5355\u72ec\u8bbe\u7f6e\u5404\u8fd0\u884c\u65f6\u53c2\u6570\u3002options \u5b57\u7b26\u4e32\u4e2d\u7684\u7a7a\u683c\u7528\u4e8e\u5206\u9694\u53c2\u6570\uff0c\u9664\u975e\u7528\u53cd\u659c\u6760\uff08\\\uff09\u8f6c\u4e49\uff1b\u4e24\u4e2a\u53cd\u659c\u6760\uff08\\\\\uff09\u8868\u793a\u4e00\u4e2a\u5b57\u9762\u53cd\u659c\u6760\u3002replication \u7528\u4e8e\u4ee5\u6d41\u590d\u5236\u6a21\u5f0f\u8fde\u63a5\uff0c\u6b64\u65f6\u53ef\u6267\u884c\u5c11\u91cf\u590d\u5236\u547d\u4ee4\u800c\u975e SQL \u8bed\u53e5\uff0c\u5176\u503c\u53ef\u4e3a true\u3001false \u6216 database\uff0c\u9ed8\u8ba4\u4e3a false\uff0c\u8be6\u60c5\u53c2\u89c1\u7b2c 52.4 \u8282\u3002\u8fd8\u53ef\u4ee5\u5217\u51fa\u5176\u4ed6\u53c2\u6570\uff1a\u4ee5 _pq_. \u5f00\u5934\u7684\u540d\u79f0\u4fdd\u7559\u7ed9\u534f\u8bae\u6269\u5c55\uff0c\u5176\u4ed6\u540d\u79f0\u88ab\u89c6\u4e3a\u540e\u7aef\u542f\u52a8\u65f6\u8bbe\u7f6e\u7684\u8fd0\u884c\u65f6\u53c2\u6570\u3002\u8fd9\u4e9b\u8bbe\u7f6e\u5728\u540e\u7aef\u542f\u52a8\u65f6\uff08\u82e5\u6709\u547d\u4ee4\u884c\u53c2\u6570\uff0c\u5219\u5728\u5176\u89e3\u6790\u4e4b\u540e\uff09\u5e94\u7528\uff0c\u5e76\u4f5c\u4e3a\u4f1a\u8bdd\u9ed8\u8ba4\u503c\u3002"}, {"c0": "4", "c1": "user", "c2": "\u8981\u8fde\u63a5\u7684\u6570\u636e\u5e93\u7528\u6237\u540d\u79f0\u3002\u5fc5\u586b\u9879\uff1b\u6ca1\u6709\u9ed8\u8ba4\u503c\u3002"}, {"c0": "5", "c1": "database", "c2": "\u8981\u8fde\u63a5\u7684\u6570\u636e\u5e93\u3002\u9ed8\u8ba4\u4e3a\u7528\u6237\u540d\u3002"}, {"c0": "6", "c1": "options", "c2": "\u540e\u7aef\u7684\u547d\u4ee4\u884c\u53c2\u6570\u3002\uff08\u5df2\u5f03\u7528\uff0c\u5efa\u8bae\u8bbe\u7f6e\u5355\u72ec\u7684\u8fd0\u884c\u65f6\u53c2\u6570\u3002\uff09\u6b64\u5b57\u7b26\u4e32\u4e2d\u7684\u7a7a\u683c\u88ab\u89c6\u4e3a\u5206\u9694\u53c2\u6570\uff0c\u9664\u975e\u7528\u53cd\u659c\u6760\uff08 \\ \uff09\u8f6c\u4e49\uff1b\u5199 \\\\ \u8868\u793a\u5b57\u9762\u53cd\u659c\u6760\u3002"}, {"c0": "7", "c1": "replication", "c2": "\u7528\u4e8e\u4ee5\u6d41\u590d\u5236\u6a21\u5f0f\u8fde\u63a5\uff0c\u53ef\u4ee5\u53d1\u51fa\u4e00\u5c0f\u7ec4\u590d\u5236\u547d\u4ee4\u800c\u4e0d\u662fSQL\u8bed\u53e5\u3002\u503c\u53ef\u4ee5\u662f true \u3001 false \u6216 database \uff0c\u9ed8\u8ba4\u4e3a false \u3002\u8be6\u7ec6\u4fe1\u606f\u8bf7\u53c2\u89c1 \u7b2c 52.4 \u8282 \u3002"}, {"c0": "8", "c1": "\u5b57\u7b26\u4e32", "c2": "\u53c2\u6570\u503c\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.10", "label": "\u53d6\u6d88\u6b63\u5728\u6267\u884c\u7684\u8bf7\u6c42"}, {"url": "/docs/10/protocol-flow.html#id-1.10.5.7.12", "label": "SSL \u4f1a\u8bdd\u52a0\u5bc6"}], "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": "https://pg.center/docs/10/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS", "path": "protocol-message-formats.html", "label": "PostgreSQL 10 English manual", "sha256": "b730a205dfc348a67edbc1e9687f2c2df69005fe30c062ef76e37b474538e4f8", "language": "en", "original_url": "/docs/10/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS"}], "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"]}], "direction": "F", "signature": "StartupMessage (F)", "description": ["StartupMessage \u662f\u524d\u7aef\u534f\u8bae\u6d88\u606f\u3002\u6d88\u606f\u5185\u5bb9\u957f\u5ea6\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff0c\u5305\u542b\u957f\u5ea6\u5b57\u6bb5\u672c\u8eab\u3002"], "manual_html": "<dl><dd>\n<div class=\"variablelist\">\n<dl class=\"variablelist\">\n<dt><span class=\"term\">Int32</span></dt>\n<dd>\n<p lang=\"zh\">\n<p>\u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002</p>\n</p>\n</dd>\n<dt><span class=\"term\">Int32(196608)</span></dt>\n<dd>\n<p lang=\"zh\">\n<p>\u534f\u8bae\u7248\u672c\u53f7\u3002\u9ad8 16 \u4f4d\u4e3a\u4e3b\u7248\u672c\u53f7\uff08\u6b64\u5904\u63cf\u8ff0\u7684\u534f\u8bae\u4e3a 3\uff09\uff1b\u4f4e 16 \u4f4d\u4e3a\u6b21\u7248\u672c\u53f7\uff08\u6b64\u5904\u63cf\u8ff0\u7684\u534f\u8bae\u4e3a 0\uff09\u3002</p>\n</p>\n</dd>\n</dl>\n</div>\n<p lang=\"zh\">\u534f\u8bae\u7248\u672c\u53f7\u4e4b\u540e\u662f\u4e00\u4e2a\u6216\u591a\u4e2a\u53c2\u6570\u540d\u4e0e\u53c2\u6570\u503c\u5b57\u7b26\u4e32\u5bf9\u3002\u6700\u540e\u4e00\u4e2a\u540d\u79f0/\u503c\u5bf9\u4e4b\u540e\u5fc5\u987b\u6709\u4e00\u4e2a\u96f6\u5b57\u8282\u4f5c\u4e3a\u7ec8\u6b62\u7b26\u3002\u53c2\u6570\u53ef\u4ee5\u6309\u4efb\u610f\u987a\u5e8f\u51fa\u73b0\u3002\u5176\u4e2d\uff0c<code class=\"literal\">user</code>\u662f\u5fc5\u9700\u7684\uff0c\u5176\u4f59\u5747\u4e3a\u53ef\u9009\u3002\u6bcf\u4e2a\u53c2\u6570\u6309\u4ee5\u4e0b\u65b9\u5f0f\u6307\u5b9a\uff1a</p>\n<div class=\"variablelist\">\n<dl class=\"variablelist\">\n<dt lang=\"zh\">\u5b57\u7b26\u4e32</dt>\n<dd>\n<p lang=\"zh\">\u53c2\u6570\u540d\u79f0\u3002\u76ee\u524d\u80fd\u591f\u8bc6\u522b\u7684\u540d\u79f0\u5982\u4e0b\uff1a</p>\n<div class=\"variablelist\">\n<dl class=\"variablelist\">\n<dt><span class=\"term\"><code class=\"literal\">user</code></span></dt>\n<dd>\n<p lang=\"zh\">\n<p>\u8981\u8fde\u63a5\u7684\u6570\u636e\u5e93\u7528\u6237\u540d\u79f0\u3002\u5fc5\u586b\u9879\uff1b\u6ca1\u6709\u9ed8\u8ba4\u503c\u3002</p>\n</p>\n</dd>\n<dt><span class=\"term\"><code class=\"literal\">database</code></span></dt>\n<dd>\n<p lang=\"zh\">\n<p>\u8981\u8fde\u63a5\u7684\u6570\u636e\u5e93\u3002\u9ed8\u8ba4\u4e3a\u7528\u6237\u540d\u3002</p>\n</p>\n</dd>\n<dt><span class=\"term\"><code class=\"literal\">options</code></span></dt>\n<dd>\n<p lang=\"zh\">\n<p>\u540e\u7aef\u7684\u547d\u4ee4\u884c\u53c2\u6570\u3002\uff08\u5df2\u5f03\u7528\uff0c\u5efa\u8bae\u8bbe\u7f6e\u5355\u72ec\u7684\u8fd0\u884c\u65f6\u53c2\u6570\u3002\uff09\u6b64\u5b57\u7b26\u4e32\u4e2d\u7684\u7a7a\u683c\u88ab\u89c6\u4e3a\u5206\u9694\u53c2\u6570\uff0c\u9664\u975e\u7528\u53cd\u659c\u6760\uff08<code class=\"literal\">\\</code>\uff09\u8f6c\u4e49\uff1b\u5199<code class=\"literal\">\\\\</code>\u8868\u793a\u5b57\u9762\u53cd\u659c\u6760\u3002</p>\n</p>\n</dd>\n<dt><span class=\"term\"><code class=\"literal\">replication</code></span></dt>\n<dd>\n<p lang=\"zh\">\n<p>\u7528\u4e8e\u4ee5\u6d41\u590d\u5236\u6a21\u5f0f\u8fde\u63a5\uff0c\u53ef\u4ee5\u53d1\u51fa\u4e00\u5c0f\u7ec4\u590d\u5236\u547d\u4ee4\u800c\u4e0d\u662fSQL\u8bed\u53e5\u3002\u503c\u53ef\u4ee5\u662f<code class=\"literal\">true</code>\u3001<code class=\"literal\">false</code>\u6216<code class=\"literal\">database</code>\uff0c\u9ed8\u8ba4\u4e3a<code class=\"literal\">false</code>\u3002\u8be6\u7ec6\u4fe1\u606f\u8bf7\u53c2\u89c1<a class=\"xref\" href=\"/docs/10/protocol-replication.html\" title=\"52.4.\u00a0\u6d41\u590d\u5236\u534f\u8bae\">\u7b2c\u00a052.4\u00a0\u8282</a>\u3002</p>\n</p>\n</dd>\n</dl>\n</div>\n<p lang=\"zh\">\u9664\u4e0a\u8ff0\u53c2\u6570\u5916\uff0c\u8fd8\u53ef\u4ee5\u5217\u51fa\u5176\u4ed6\u53c2\u6570\u3002\u4ee5<code class=\"literal\">_pq_.</code>\u5f00\u5934\u7684\u53c2\u6570\u540d\u79f0\u4fdd\u7559\u7528\u4e8e\u534f\u8bae\u6269\u5c55\uff0c\u5176\u4f59\u53c2\u6570\u5219\u4f5c\u4e3a\u8fd0\u884c\u65f6\u53c2\u6570\uff0c\u5728\u540e\u7aef\u542f\u52a8\u65f6\u8bbe\u7f6e\u3002\u8fd9\u4e9b\u8bbe\u7f6e\u4f1a\u5728\u540e\u7aef\u542f\u52a8\u671f\u95f4\u5e94\u7528\uff08\u5728\u89e3\u6790\u547d\u4ee4\u884c\u53c2\u6570\u4e4b\u540e\uff0c\u5982\u679c\u6709\u7684\u8bdd\uff09\uff0c\u5e76\u4f5c\u4e3a\u4f1a\u8bdd\u9ed8\u8ba4\u503c\u3002</p>\n</dd>\n<dt lang=\"zh\">\u5b57\u7b26\u4e32</dt>\n<dd>\n<p lang=\"zh\">\n<p>\u53c2\u6570\u503c\u3002</p>\n</p>\n</dd>\n</dl>\n</div>\n</dd></dl>", "manual_path": "/docs/10/protocol-message-formats.html", "localization": {"status": "complete", "sources": [{"url": "/docs/10/datatype-json.html", "method": "same-major semantic node", "sha256": "165b454cf9ff6825d21a4252844d43764fca541eafd0649170257d230e23425b", "language": "zh", "matched_nodes": ["#DATATYPE-JSON/div[18]/pre[23]/em[4]/code[0]"]}, {"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[99]/div[0]/dl[0]/dd[3]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[99]/div[2]/dl[0]/dd[1]/div[1]/dl[0]/dd[1]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[99]/div[2]/dl[0]/dd[1]/div[1]/dl[0]/dd[3]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[99]/div[2]/dl[0]/dd[1]/div[1]/dl[0]/dd[5]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[99]/div[2]/dl[0]/dd[1]/div[1]/dl[0]/dd[7]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[99]/div[2]/dl[0]/dd[1]/p[0]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[99]/div[2]/dl[0]/dd[1]/p[2]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[99]/div[2]/dl[0]/dd[3]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[99]/p[1]"]}], "language": "zh", "original_text": {"/versions/10/description/0": "StartupMessage is a frontend protocol message. Length of message contents in bytes, including self.", "/versions/10/facts/0/label": "Direction", "/versions/10/facts/0/value": "Frontend \u2192 backend", "/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": "Canceling Requests in Progress; SSL Session Encryption", "/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": "Canceling Requests in Progress", "/versions/10/related/3/label": "SSL Session Encryption", "/versions/10/sections/0/title": "Framing and repetition", "/versions/10/tables/0/rows/0/c2": "Length of message contents in bytes, including self.", "/versions/10/tables/0/rows/1/c2": "The protocol version number. The most significant 16 bits are the major version number (3 for the protocol described here). The least significant 16 bits are the minor version number (0 for the protocol described here).", "/versions/10/tables/0/rows/2/c1": "String", "/versions/10/tables/0/rows/2/c2": "The parameter name. Currently recognized names are: user The database user name to connect as. Required; there is no default. database The database to connect to. Defaults to the user name. options Command-line arguments for the backend. (This is deprecated in favor of setting individual run-time parameters.) Spaces within this string are considered to separate arguments, unless escaped with a backslash ( \\ ); write \\\\ to represent a literal backslash. replication Used to connect in streaming replication mode, where a small set of replication commands can be issued instead of SQL statements. Value can be true , false , or database , and the default is false . See Section 52.4 for details. In addition to the above, other parameters may be listed. Parameter names beginning with _pq_. are reserved for use as protocol extensions, while others are treated as run-time parameters to be set at backend start time. Such settings will be applied during backend start (after parsing the command-line arguments if any) and will act as session defaults.", "/versions/10/tables/0/rows/3/c2": "The database user name to connect as. Required; there is no default.", "/versions/10/tables/0/rows/4/c2": "The database to connect to. Defaults to the user name.", "/versions/10/tables/0/rows/5/c2": "Command-line arguments for the backend. (This is deprecated in favor of setting individual run-time parameters.) Spaces within this string are considered to separate arguments, unless escaped with a backslash ( \\ ); write \\\\ to represent a literal backslash.", "/versions/10/tables/0/rows/6/c2": "Used to connect in streaming replication mode, where a small set of replication commands can be issued instead of SQL statements. Value can be true , false , or database , and the default is false . See Section 52.4 for details.", "/versions/10/tables/0/rows/7/c1": "String", "/versions/10/tables/0/rows/7/c2": "The parameter value.", "/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": "9cff805974dc0dabd8a48ec8bbe150a0fe36cf28b3a1286dd82321a6bd9c7d73"}, "comparison_data": {"fields": [{"format": "Int32", "description": "Length of message contents in bytes, including self."}, {"format": "Int32(196608)", "description": "The protocol version number. The most significant 16 bits are the major version number (3 for the protocol described here). The least significant 16 bits are the minor version number (0 for the protocol described here)."}, {"format": "String", "description": "The parameter name. Currently recognized names are: user The database user name to connect as. Required; there is no default. database The database to connect to. Defaults to the user name. options Command-line arguments for the backend. (This is deprecated in favor of setting individual run-time parameters.) Spaces within this string are considered to separate arguments, unless escaped with a backslash ( \\ ); write \\\\ to represent a literal backslash. replication Used to connect in streaming replication mode, where a small set of replication commands can be issued instead of SQL statements. Value can be true , false , or database , and the default is false . See Section 52.4 for details. In addition to the above, other parameters may be listed. Parameter names beginning with _pq_. are reserved for use as protocol extensions, while others are treated as run-time parameters to be set at backend start time. Such settings will be applied during backend start (after parsing the command-line arguments if any) and will act as session defaults."}, {"format": "user", "description": "The database user name to connect as. Required; there is no default."}, {"format": "database", "description": "The database to connect to. Defaults to the user name."}, {"format": "options", "description": "Command-line arguments for the backend. (This is deprecated in favor of setting individual run-time parameters.) Spaces within this string are considered to separate arguments, unless escaped with a backslash ( \\ ); write \\\\ to represent a literal backslash."}, {"format": "replication", "description": "Used to connect in streaming replication mode, where a small set of replication commands can be issued instead of SQL statements. Value can be true , false , or database , and the default is false . See Section 52.4 for details."}, {"format": "String", "description": "The parameter value."}], "direction": "F"}, "comparison_hash": "141486d7d0c3639d33a8a806d2daec19812aa848ae516a6719f055353eae58f2", "manual_language": "zh"}, "11": {"facts": [{"label": "\u65b9\u5411", "value": "\u524d\u7aef \u2192 \u540e\u7aef"}, {"label": "\u9996\u4e2a\u7ebf\u4e0a\u534f\u8bae\u5b57\u6bb5", "value": "Int32"}, {"label": "\u5b57\u6bb5\u6761\u76ee", "value": "8"}, {"label": "\u624b\u518c\u4e2d\u7684\u4ea4\u4e92\u9636\u6bb5", "value": "\u53d6\u6d88\u6b63\u5728\u6267\u884c\u7684\u8bf7\u6c42\uff1bSSL \u4f1a\u8bdd\u52a0\u5bc6"}], "fields": [{"format": "Int32", "description": "Length of message contents in bytes, including self."}, {"format": "Int32(196608)", "description": "The protocol version number. The most significant 16 bits are the major version number (3 for the protocol described here). The least significant 16 bits are the minor version number (0 for the protocol described here)."}, {"format": "String", "description": "The parameter name. Currently recognized names are: user The database user name to connect as. Required; there is no default. database The database to connect to. Defaults to the user name. options Command-line arguments for the backend. (This is deprecated in favor of setting individual run-time parameters.) Spaces within this string are considered to separate arguments, unless escaped with a backslash ( \\ ); write \\\\ to represent a literal backslash. replication Used to connect in streaming replication mode, where a small set of replication commands can be issued instead of SQL statements. Value can be true , false , or database , and the default is false . See Section 53.4 for details. In addition to the above, other parameters may be listed. Parameter names beginning with _pq_. are reserved for use as protocol extensions, while others are treated as run-time parameters to be set at backend start time. Such settings will be applied during backend start (after parsing the command-line arguments if any) and will act as session defaults."}, {"format": "user", "description": "The database user name to connect as. Required; there is no default."}, {"format": "database", "description": "The database to connect to. Defaults to the user name."}, {"format": "options", "description": "Command-line arguments for the backend. (This is deprecated in favor of setting individual run-time parameters.) Spaces within this string are considered to separate arguments, unless escaped with a backslash ( \\ ); write \\\\ to represent a literal backslash."}, {"format": "replication", "description": "Used to connect in streaming replication mode, where a small set of replication commands can be issued instead of SQL statements. Value can be true , false , or database , and the default is false . See Section 53.4 for details."}, {"format": "String", "description": "The parameter value."}], "tables": [{"key": "fields", "rows": [{"c0": "1", "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": "2", "c1": "Int32(196608)", "c2": "\u534f\u8bae\u7248\u672c\u53f7\u3002\u9ad8 16 \u4f4d\u4e3a\u4e3b\u7248\u672c\u53f7\uff08\u6b64\u5904\u63cf\u8ff0\u7684\u534f\u8bae\u4e3a 3\uff09\uff1b\u4f4e 16 \u4f4d\u4e3a\u6b21\u7248\u672c\u53f7\uff08\u6b64\u5904\u63cf\u8ff0\u7684\u534f\u8bae\u4e3a 0\uff09\u3002"}, {"c0": "3", "c1": "\u5b57\u7b26\u4e32", "c2": "\u53c2\u6570\u540d\u79f0\u3002\u76ee\u524d\u8bc6\u522b\u4ee5\u4e0b\u540d\u79f0\uff1auser \u4e3a\u8fde\u63a5\u6240\u7528\u7684\u6570\u636e\u5e93\u7528\u6237\u540d\uff0c\u5fc5\u586b\u4e14\u6ca1\u6709\u9ed8\u8ba4\u503c\uff1bdatabase \u4e3a\u8981\u8fde\u63a5\u7684\u6570\u636e\u5e93\uff0c\u9ed8\u8ba4\u4e3a\u7528\u6237\u540d\uff1boptions \u4e3a\u4f20\u7ed9\u540e\u7aef\u7684\u547d\u4ee4\u884c\u53c2\u6570\uff0c\u6b64\u7528\u6cd5\u5df2\u5f03\u7528\uff0c\u5efa\u8bae\u5355\u72ec\u8bbe\u7f6e\u5404\u8fd0\u884c\u65f6\u53c2\u6570\u3002options \u5b57\u7b26\u4e32\u4e2d\u7684\u7a7a\u683c\u7528\u4e8e\u5206\u9694\u53c2\u6570\uff0c\u9664\u975e\u7528\u53cd\u659c\u6760\uff08\\\uff09\u8f6c\u4e49\uff1b\u4e24\u4e2a\u53cd\u659c\u6760\uff08\\\\\uff09\u8868\u793a\u4e00\u4e2a\u5b57\u9762\u53cd\u659c\u6760\u3002replication \u7528\u4e8e\u4ee5\u6d41\u590d\u5236\u6a21\u5f0f\u8fde\u63a5\uff0c\u6b64\u65f6\u53ef\u6267\u884c\u5c11\u91cf\u590d\u5236\u547d\u4ee4\u800c\u975e SQL \u8bed\u53e5\uff0c\u5176\u503c\u53ef\u4e3a true\u3001false \u6216 database\uff0c\u9ed8\u8ba4\u4e3a false\uff0c\u8be6\u60c5\u53c2\u89c1\u7b2c 53.4 \u8282\u3002\u8fd8\u53ef\u4ee5\u5217\u51fa\u5176\u4ed6\u53c2\u6570\uff1a\u4ee5 _pq_. \u5f00\u5934\u7684\u540d\u79f0\u4fdd\u7559\u7ed9\u534f\u8bae\u6269\u5c55\uff0c\u5176\u4ed6\u540d\u79f0\u88ab\u89c6\u4e3a\u540e\u7aef\u542f\u52a8\u65f6\u8bbe\u7f6e\u7684\u8fd0\u884c\u65f6\u53c2\u6570\u3002\u8fd9\u4e9b\u8bbe\u7f6e\u5728\u540e\u7aef\u542f\u52a8\u65f6\uff08\u82e5\u6709\u547d\u4ee4\u884c\u53c2\u6570\uff0c\u5219\u5728\u5176\u89e3\u6790\u4e4b\u540e\uff09\u5e94\u7528\uff0c\u5e76\u4f5c\u4e3a\u4f1a\u8bdd\u9ed8\u8ba4\u503c\u3002"}, {"c0": "4", "c1": "user", "c2": "\u8981\u8fde\u63a5\u7684\u6570\u636e\u5e93\u7528\u6237\u540d\u79f0\u3002\u5fc5\u586b\u9879\uff1b\u6ca1\u6709\u9ed8\u8ba4\u503c\u3002"}, {"c0": "5", "c1": "database", "c2": "\u8981\u8fde\u63a5\u7684\u6570\u636e\u5e93\u3002\u9ed8\u8ba4\u4e3a\u7528\u6237\u540d\u3002"}, {"c0": "6", "c1": "options", "c2": "\u540e\u7aef\u7684\u547d\u4ee4\u884c\u53c2\u6570\u3002\uff08\u5df2\u5f03\u7528\uff0c\u5efa\u8bae\u8bbe\u7f6e\u5355\u72ec\u7684\u8fd0\u884c\u65f6\u53c2\u6570\u3002\uff09\u6b64\u5b57\u7b26\u4e32\u4e2d\u7684\u7a7a\u683c\u88ab\u89c6\u4e3a\u5206\u9694\u53c2\u6570\uff0c\u9664\u975e\u7528\u53cd\u659c\u6760\uff08 \\ \uff09\u8f6c\u4e49\uff1b\u5199 \\\\ \u8868\u793a\u5b57\u9762\u53cd\u659c\u6760\u3002"}, {"c0": "7", "c1": "replication", "c2": "\u7528\u4e8e\u4ee5\u6d41\u590d\u5236\u6a21\u5f0f\u8fde\u63a5\uff0c\u53ef\u4ee5\u53d1\u51fa\u4e00\u5c0f\u7ec4\u590d\u5236\u547d\u4ee4\u800c\u4e0d\u662fSQL\u8bed\u53e5\u3002\u503c\u53ef\u4ee5\u662f true \u3001 false \u6216 database \uff0c\u9ed8\u8ba4\u4e3a false \u3002\u8be6\u7ec6\u4fe1\u606f\u8bf7\u53c2\u89c1 \u7b2c 53.4 \u8282 \u3002"}, {"c0": "8", "c1": "\u5b57\u7b26\u4e32", "c2": "\u53c2\u6570\u503c\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.10", "label": "\u53d6\u6d88\u6b63\u5728\u6267\u884c\u7684\u8bf7\u6c42"}, {"url": "/docs/11/protocol-flow.html#id-1.10.5.7.12", "label": "SSL \u4f1a\u8bdd\u52a0\u5bc6"}], "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": "https://pg.center/docs/11/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS", "path": "protocol-message-formats.html", "label": "PostgreSQL 11 English manual", "sha256": "a6087693de687f5a6582bfa6529356ecb8a089e2d56694482352a55eb6ccfdf1", "language": "en", "original_url": "/docs/11/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS"}], "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"]}], "direction": "F", "signature": "StartupMessage (F)", "description": ["StartupMessage \u662f\u524d\u7aef\u534f\u8bae\u6d88\u606f\u3002\u6d88\u606f\u5185\u5bb9\u957f\u5ea6\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff0c\u5305\u542b\u957f\u5ea6\u5b57\u6bb5\u672c\u8eab\u3002"], "manual_html": "<dl><dd>\n<div class=\"variablelist\">\n<dl class=\"variablelist\">\n<dt><span class=\"term\">Int32</span></dt>\n<dd>\n<p lang=\"zh\">\n<p>\u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002</p>\n</p>\n</dd>\n<dt><span class=\"term\">Int32(196608)</span></dt>\n<dd>\n<p lang=\"zh\">\n<p>\u534f\u8bae\u7248\u672c\u53f7\u3002\u9ad8 16 \u4f4d\u4e3a\u4e3b\u7248\u672c\u53f7\uff08\u6b64\u5904\u63cf\u8ff0\u7684\u534f\u8bae\u4e3a 3\uff09\uff1b\u4f4e 16 \u4f4d\u4e3a\u6b21\u7248\u672c\u53f7\uff08\u6b64\u5904\u63cf\u8ff0\u7684\u534f\u8bae\u4e3a 0\uff09\u3002</p>\n</p>\n</dd>\n</dl>\n</div>\n<p lang=\"zh\">\u534f\u8bae\u7248\u672c\u53f7\u4e4b\u540e\u662f\u4e00\u4e2a\u6216\u591a\u4e2a\u53c2\u6570\u540d\u4e0e\u53c2\u6570\u503c\u5b57\u7b26\u4e32\u5bf9\u3002\u6700\u540e\u4e00\u4e2a\u540d\u79f0/\u503c\u5bf9\u4e4b\u540e\u5fc5\u987b\u6709\u4e00\u4e2a\u96f6\u5b57\u8282\u4f5c\u4e3a\u7ec8\u6b62\u7b26\u3002\u53c2\u6570\u53ef\u4ee5\u6309\u4efb\u610f\u987a\u5e8f\u51fa\u73b0\u3002\u5176\u4e2d\uff0c<code class=\"literal\">user</code>\u662f\u5fc5\u9700\u7684\uff0c\u5176\u4f59\u5747\u4e3a\u53ef\u9009\u3002\u6bcf\u4e2a\u53c2\u6570\u6309\u4ee5\u4e0b\u65b9\u5f0f\u6307\u5b9a\uff1a</p>\n<div class=\"variablelist\">\n<dl class=\"variablelist\">\n<dt lang=\"zh\">\u5b57\u7b26\u4e32</dt>\n<dd>\n<p lang=\"zh\">\u53c2\u6570\u540d\u79f0\u3002\u76ee\u524d\u80fd\u591f\u8bc6\u522b\u7684\u540d\u79f0\u5982\u4e0b\uff1a</p>\n<div class=\"variablelist\">\n<dl class=\"variablelist\">\n<dt><span class=\"term\"><code class=\"literal\">user</code></span></dt>\n<dd>\n<p lang=\"zh\">\n<p>\u8981\u8fde\u63a5\u7684\u6570\u636e\u5e93\u7528\u6237\u540d\u79f0\u3002\u5fc5\u586b\u9879\uff1b\u6ca1\u6709\u9ed8\u8ba4\u503c\u3002</p>\n</p>\n</dd>\n<dt><span class=\"term\"><code class=\"literal\">database</code></span></dt>\n<dd>\n<p lang=\"zh\">\n<p>\u8981\u8fde\u63a5\u7684\u6570\u636e\u5e93\u3002\u9ed8\u8ba4\u4e3a\u7528\u6237\u540d\u3002</p>\n</p>\n</dd>\n<dt><span class=\"term\"><code class=\"literal\">options</code></span></dt>\n<dd>\n<p lang=\"zh\">\n<p>\u540e\u7aef\u7684\u547d\u4ee4\u884c\u53c2\u6570\u3002\uff08\u5df2\u5f03\u7528\uff0c\u5efa\u8bae\u8bbe\u7f6e\u5355\u72ec\u7684\u8fd0\u884c\u65f6\u53c2\u6570\u3002\uff09\u6b64\u5b57\u7b26\u4e32\u4e2d\u7684\u7a7a\u683c\u88ab\u89c6\u4e3a\u5206\u9694\u53c2\u6570\uff0c\u9664\u975e\u7528\u53cd\u659c\u6760\uff08<code class=\"literal\">\\</code>\uff09\u8f6c\u4e49\uff1b\u5199<code class=\"literal\">\\\\</code>\u8868\u793a\u5b57\u9762\u53cd\u659c\u6760\u3002</p>\n</p>\n</dd>\n<dt><span class=\"term\"><code class=\"literal\">replication</code></span></dt>\n<dd>\n<p lang=\"zh\">\n<p>\u7528\u4e8e\u4ee5\u6d41\u590d\u5236\u6a21\u5f0f\u8fde\u63a5\uff0c\u53ef\u4ee5\u53d1\u51fa\u4e00\u5c0f\u7ec4\u590d\u5236\u547d\u4ee4\u800c\u4e0d\u662fSQL\u8bed\u53e5\u3002\u503c\u53ef\u4ee5\u662f<code class=\"literal\">true</code>\u3001<code class=\"literal\">false</code>\u6216<code class=\"literal\">database</code>\uff0c\u9ed8\u8ba4\u4e3a<code class=\"literal\">false</code>\u3002\u8be6\u7ec6\u4fe1\u606f\u8bf7\u53c2\u89c1<a class=\"xref\" href=\"/docs/11/protocol-replication.html\" title=\"53.4.\u00a0\u6d41\u590d\u5236\u534f\u8bae\">\u7b2c\u00a053.4\u00a0\u8282</a>\u3002</p>\n</p>\n</dd>\n</dl>\n</div>\n<p lang=\"zh\">\u9664\u4e0a\u8ff0\u53c2\u6570\u5916\uff0c\u8fd8\u53ef\u4ee5\u5217\u51fa\u5176\u4ed6\u53c2\u6570\u3002\u4ee5<code class=\"literal\">_pq_.</code>\u5f00\u5934\u7684\u53c2\u6570\u540d\u79f0\u4fdd\u7559\u7528\u4e8e\u534f\u8bae\u6269\u5c55\uff0c\u5176\u4f59\u53c2\u6570\u5219\u4f5c\u4e3a\u8fd0\u884c\u65f6\u53c2\u6570\uff0c\u5728\u540e\u7aef\u542f\u52a8\u65f6\u8bbe\u7f6e\u3002\u8fd9\u4e9b\u8bbe\u7f6e\u4f1a\u5728\u540e\u7aef\u542f\u52a8\u671f\u95f4\u5e94\u7528\uff08\u5728\u89e3\u6790\u547d\u4ee4\u884c\u53c2\u6570\u4e4b\u540e\uff0c\u5982\u679c\u6709\u7684\u8bdd\uff09\uff0c\u5e76\u4f5c\u4e3a\u4f1a\u8bdd\u9ed8\u8ba4\u503c\u3002</p>\n</dd>\n<dt lang=\"zh\">\u5b57\u7b26\u4e32</dt>\n<dd>\n<p lang=\"zh\">\n<p>\u53c2\u6570\u503c\u3002</p>\n</p>\n</dd>\n</dl>\n</div>\n</dd></dl>", "manual_path": "/docs/11/protocol-message-formats.html", "localization": {"status": "complete", "sources": [{"url": "/docs/11/datatype-json.html", "method": "same-major semantic node", "sha256": "e3239ad05fc4bad945529e631d9e5da84363b31e6e589461b97d69386cc43e7f", "language": "zh", "matched_nodes": ["#DATATYPE-JSON/div[18]/pre[23]/em[4]/code[0]"]}, {"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[99]/div[0]/dl[0]/dd[3]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[99]/div[2]/dl[0]/dd[1]/div[1]/dl[0]/dd[1]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[99]/div[2]/dl[0]/dd[1]/div[1]/dl[0]/dd[3]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[99]/div[2]/dl[0]/dd[1]/div[1]/dl[0]/dd[5]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[99]/div[2]/dl[0]/dd[1]/div[1]/dl[0]/dd[7]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[99]/div[2]/dl[0]/dd[1]/p[0]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[99]/div[2]/dl[0]/dd[1]/p[2]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[99]/div[2]/dl[0]/dd[3]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[99]/p[1]"]}], "language": "zh", "original_text": {"/versions/11/description/0": "StartupMessage is a frontend protocol message. Length of message contents in bytes, including self.", "/versions/11/facts/0/label": "Direction", "/versions/11/facts/0/value": "Frontend \u2192 backend", "/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": "Canceling Requests in Progress; SSL Session Encryption", "/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": "Canceling Requests in Progress", "/versions/11/related/3/label": "SSL Session Encryption", "/versions/11/sections/0/title": "Framing and repetition", "/versions/11/tables/0/rows/0/c2": "Length of message contents in bytes, including self.", "/versions/11/tables/0/rows/1/c2": "The protocol version number. The most significant 16 bits are the major version number (3 for the protocol described here). The least significant 16 bits are the minor version number (0 for the protocol described here).", "/versions/11/tables/0/rows/2/c1": "String", "/versions/11/tables/0/rows/2/c2": "The parameter name. Currently recognized names are: user The database user name to connect as. Required; there is no default. database The database to connect to. Defaults to the user name. options Command-line arguments for the backend. (This is deprecated in favor of setting individual run-time parameters.) Spaces within this string are considered to separate arguments, unless escaped with a backslash ( \\ ); write \\\\ to represent a literal backslash. replication Used to connect in streaming replication mode, where a small set of replication commands can be issued instead of SQL statements. Value can be true , false , or database , and the default is false . See Section 53.4 for details. In addition to the above, other parameters may be listed. Parameter names beginning with _pq_. are reserved for use as protocol extensions, while others are treated as run-time parameters to be set at backend start time. Such settings will be applied during backend start (after parsing the command-line arguments if any) and will act as session defaults.", "/versions/11/tables/0/rows/3/c2": "The database user name to connect as. Required; there is no default.", "/versions/11/tables/0/rows/4/c2": "The database to connect to. Defaults to the user name.", "/versions/11/tables/0/rows/5/c2": "Command-line arguments for the backend. (This is deprecated in favor of setting individual run-time parameters.) Spaces within this string are considered to separate arguments, unless escaped with a backslash ( \\ ); write \\\\ to represent a literal backslash.", "/versions/11/tables/0/rows/6/c2": "Used to connect in streaming replication mode, where a small set of replication commands can be issued instead of SQL statements. Value can be true , false , or database , and the default is false . See Section 53.4 for details.", "/versions/11/tables/0/rows/7/c1": "String", "/versions/11/tables/0/rows/7/c2": "The parameter value.", "/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": "50e6e4d1bd38ac5df5f5c1a273e90cf2042909c41de36956020f1df533aab2c6"}, "comparison_data": {"fields": [{"format": "Int32", "description": "Length of message contents in bytes, including self."}, {"format": "Int32(196608)", "description": "The protocol version number. The most significant 16 bits are the major version number (3 for the protocol described here). The least significant 16 bits are the minor version number (0 for the protocol described here)."}, {"format": "String", "description": "The parameter name. Currently recognized names are: user The database user name to connect as. Required; there is no default. database The database to connect to. Defaults to the user name. options Command-line arguments for the backend. (This is deprecated in favor of setting individual run-time parameters.) Spaces within this string are considered to separate arguments, unless escaped with a backslash ( \\ ); write \\\\ to represent a literal backslash. replication Used to connect in streaming replication mode, where a small set of replication commands can be issued instead of SQL statements. Value can be true , false , or database , and the default is false . See Section 53.4 for details. In addition to the above, other parameters may be listed. Parameter names beginning with _pq_. are reserved for use as protocol extensions, while others are treated as run-time parameters to be set at backend start time. Such settings will be applied during backend start (after parsing the command-line arguments if any) and will act as session defaults."}, {"format": "user", "description": "The database user name to connect as. Required; there is no default."}, {"format": "database", "description": "The database to connect to. Defaults to the user name."}, {"format": "options", "description": "Command-line arguments for the backend. (This is deprecated in favor of setting individual run-time parameters.) Spaces within this string are considered to separate arguments, unless escaped with a backslash ( \\ ); write \\\\ to represent a literal backslash."}, {"format": "replication", "description": "Used to connect in streaming replication mode, where a small set of replication commands can be issued instead of SQL statements. Value can be true , false , or database , and the default is false . See Section 53.4 for details."}, {"format": "String", "description": "The parameter value."}], "direction": "F"}, "comparison_hash": "bcfe2a9d0912c977ac383c8a67059748f2ed01142bddd6db754f1cf6eb013fa7", "manual_language": "zh"}, "12": {"facts": [{"label": "\u65b9\u5411", "value": "\u524d\u7aef \u2192 \u540e\u7aef"}, {"label": "\u9996\u4e2a\u7ebf\u4e0a\u534f\u8bae\u5b57\u6bb5", "value": "Int32"}, {"label": "\u5b57\u6bb5\u6761\u76ee", "value": "8"}, {"label": "\u624b\u518c\u4e2d\u7684\u4ea4\u4e92\u9636\u6bb5", "value": "\u53d6\u6d88\u6b63\u5728\u6267\u884c\u7684\u8bf7\u6c42\uff1bSSL \u4f1a\u8bdd\u52a0\u5bc6\uff1bGSSAPI \u4f1a\u8bdd\u52a0\u5bc6"}], "fields": [{"format": "Int32", "description": "Length of message contents in bytes, including self."}, {"format": "Int32(196608)", "description": "The protocol version number. The most significant 16 bits are the major version number (3 for the protocol described here). The least significant 16 bits are the minor version number (0 for the protocol described here)."}, {"format": "String", "description": "The parameter name. Currently recognized names are: user The database user name to connect as. Required; there is no default. database The database to connect to. Defaults to the user name. options Command-line arguments for the backend. (This is deprecated in favor of setting individual run-time parameters.) Spaces within this string are considered to separate arguments, unless escaped with a backslash ( \\ ); write \\\\ to represent a literal backslash. replication Used to connect in streaming replication mode, where a small set of replication commands can be issued instead of SQL statements. Value can be true , false , or database , and the default is false . See Section 52.4 for details. In addition to the above, other parameters may be listed. Parameter names beginning with _pq_. are reserved for use as protocol extensions, while others are treated as run-time parameters to be set at backend start time. Such settings will be applied during backend start (after parsing the command-line arguments if any) and will act as session defaults."}, {"format": "user", "description": "The database user name to connect as. Required; there is no default."}, {"format": "database", "description": "The database to connect to. Defaults to the user name."}, {"format": "options", "description": "Command-line arguments for the backend. (This is deprecated in favor of setting individual run-time parameters.) Spaces within this string are considered to separate arguments, unless escaped with a backslash ( \\ ); write \\\\ to represent a literal backslash."}, {"format": "replication", "description": "Used to connect in streaming replication mode, where a small set of replication commands can be issued instead of SQL statements. Value can be true , false , or database , and the default is false . See Section 52.4 for details."}, {"format": "String", "description": "The parameter value."}], "tables": [{"key": "fields", "rows": [{"c0": "1", "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": "2", "c1": "Int32(196608)", "c2": "\u534f\u8bae\u7248\u672c\u53f7\u3002\u9ad8 16 \u4f4d\u4e3a\u4e3b\u7248\u672c\u53f7\uff08\u6b64\u5904\u63cf\u8ff0\u7684\u534f\u8bae\u4e3a 3\uff09\uff1b\u4f4e 16 \u4f4d\u4e3a\u6b21\u7248\u672c\u53f7\uff08\u6b64\u5904\u63cf\u8ff0\u7684\u534f\u8bae\u4e3a 0\uff09\u3002"}, {"c0": "3", "c1": "\u5b57\u7b26\u4e32", "c2": "\u53c2\u6570\u540d\u79f0\u3002\u76ee\u524d\u8bc6\u522b\u4ee5\u4e0b\u540d\u79f0\uff1auser \u4e3a\u8fde\u63a5\u6240\u7528\u7684\u6570\u636e\u5e93\u7528\u6237\u540d\uff0c\u5fc5\u586b\u4e14\u6ca1\u6709\u9ed8\u8ba4\u503c\uff1bdatabase \u4e3a\u8981\u8fde\u63a5\u7684\u6570\u636e\u5e93\uff0c\u9ed8\u8ba4\u4e3a\u7528\u6237\u540d\uff1boptions \u4e3a\u4f20\u7ed9\u540e\u7aef\u7684\u547d\u4ee4\u884c\u53c2\u6570\uff0c\u6b64\u7528\u6cd5\u5df2\u5f03\u7528\uff0c\u5efa\u8bae\u5355\u72ec\u8bbe\u7f6e\u5404\u8fd0\u884c\u65f6\u53c2\u6570\u3002options \u5b57\u7b26\u4e32\u4e2d\u7684\u7a7a\u683c\u7528\u4e8e\u5206\u9694\u53c2\u6570\uff0c\u9664\u975e\u7528\u53cd\u659c\u6760\uff08\\\uff09\u8f6c\u4e49\uff1b\u4e24\u4e2a\u53cd\u659c\u6760\uff08\\\\\uff09\u8868\u793a\u4e00\u4e2a\u5b57\u9762\u53cd\u659c\u6760\u3002replication \u7528\u4e8e\u4ee5\u6d41\u590d\u5236\u6a21\u5f0f\u8fde\u63a5\uff0c\u6b64\u65f6\u53ef\u6267\u884c\u5c11\u91cf\u590d\u5236\u547d\u4ee4\u800c\u975e SQL \u8bed\u53e5\uff0c\u5176\u503c\u53ef\u4e3a true\u3001false \u6216 database\uff0c\u9ed8\u8ba4\u4e3a false\uff0c\u8be6\u60c5\u53c2\u89c1\u7b2c 52.4 \u8282\u3002\u8fd8\u53ef\u4ee5\u5217\u51fa\u5176\u4ed6\u53c2\u6570\uff1a\u4ee5 _pq_. \u5f00\u5934\u7684\u540d\u79f0\u4fdd\u7559\u7ed9\u534f\u8bae\u6269\u5c55\uff0c\u5176\u4ed6\u540d\u79f0\u88ab\u89c6\u4e3a\u540e\u7aef\u542f\u52a8\u65f6\u8bbe\u7f6e\u7684\u8fd0\u884c\u65f6\u53c2\u6570\u3002\u8fd9\u4e9b\u8bbe\u7f6e\u5728\u540e\u7aef\u542f\u52a8\u65f6\uff08\u82e5\u6709\u547d\u4ee4\u884c\u53c2\u6570\uff0c\u5219\u5728\u5176\u89e3\u6790\u4e4b\u540e\uff09\u5e94\u7528\uff0c\u5e76\u4f5c\u4e3a\u4f1a\u8bdd\u9ed8\u8ba4\u503c\u3002"}, {"c0": "4", "c1": "user", "c2": "\u8981\u8fde\u63a5\u7684\u6570\u636e\u5e93\u7528\u6237\u540d\u79f0\u3002\u5fc5\u586b\u9879\uff1b\u6ca1\u6709\u9ed8\u8ba4\u503c\u3002"}, {"c0": "5", "c1": "database", "c2": "\u8981\u8fde\u63a5\u7684\u6570\u636e\u5e93\u3002\u9ed8\u8ba4\u4e3a\u7528\u6237\u540d\u3002"}, {"c0": "6", "c1": "options", "c2": "\u540e\u7aef\u7684\u547d\u4ee4\u884c\u53c2\u6570\u3002\uff08\u5df2\u5f03\u7528\uff0c\u5efa\u8bae\u8bbe\u7f6e\u5355\u72ec\u7684\u8fd0\u884c\u65f6\u53c2\u6570\u3002\uff09\u6b64\u5b57\u7b26\u4e32\u4e2d\u7684\u7a7a\u683c\u88ab\u89c6\u4e3a\u5206\u9694\u53c2\u6570\uff0c\u9664\u975e\u7528\u53cd\u659c\u6760\uff08 \\ \uff09\u8f6c\u4e49\uff1b\u5199 \\\\ \u8868\u793a\u5b57\u9762\u53cd\u659c\u6760\u3002"}, {"c0": "7", "c1": "replication", "c2": "\u7528\u4e8e\u4ee5\u6d41\u590d\u5236\u6a21\u5f0f\u8fde\u63a5\uff0c\u53ef\u4ee5\u53d1\u51fa\u4e00\u5c0f\u7ec4\u590d\u5236\u547d\u4ee4\u800c\u4e0d\u662fSQL\u8bed\u53e5\u3002\u503c\u53ef\u4ee5\u662f true \u3001 false \u6216 database \uff0c\u9ed8\u8ba4\u4e3a false \u3002\u8be6\u7ec6\u4fe1\u606f\u8bf7\u53c2\u89c1 \u7b2c 52.4 \u8282 \u3002"}, {"c0": "8", "c1": "\u5b57\u7b26\u4e32", "c2": "\u53c2\u6570\u503c\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.10", "label": "\u53d6\u6d88\u6b63\u5728\u6267\u884c\u7684\u8bf7\u6c42"}, {"url": "/docs/12/protocol-flow.html#id-1.10.5.7.12", "label": "SSL \u4f1a\u8bdd\u52a0\u5bc6"}, {"url": "/docs/12/protocol-flow.html#id-1.10.5.7.13", "label": "GSSAPI \u4f1a\u8bdd\u52a0\u5bc6"}], "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": "https://pg.center/docs/12/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS", "path": "protocol-message-formats.html", "label": "PostgreSQL 12 English manual", "sha256": "00f6cafbcaad89c7e7982faed10a2896b7188de151ac9137633021207f7c2b70", "language": "en", "original_url": "/docs/12/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS"}], "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"]}], "direction": "F", "signature": "StartupMessage (F)", "description": ["StartupMessage \u662f\u524d\u7aef\u534f\u8bae\u6d88\u606f\u3002\u6d88\u606f\u5185\u5bb9\u957f\u5ea6\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff0c\u5305\u542b\u957f\u5ea6\u5b57\u6bb5\u672c\u8eab\u3002"], "manual_html": "<dl><dd>\n<div class=\"variablelist\">\n<dl class=\"variablelist\">\n<dt><span class=\"term\">Int32</span></dt>\n<dd>\n<p lang=\"zh\">\n<p>\u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002</p>\n</p>\n</dd>\n<dt><span class=\"term\">Int32(196608)</span></dt>\n<dd>\n<p lang=\"zh\">\n<p>\u534f\u8bae\u7248\u672c\u53f7\u3002\u9ad8 16 \u4f4d\u4e3a\u4e3b\u7248\u672c\u53f7\uff08\u6b64\u5904\u63cf\u8ff0\u7684\u534f\u8bae\u4e3a 3\uff09\uff1b\u4f4e 16 \u4f4d\u4e3a\u6b21\u7248\u672c\u53f7\uff08\u6b64\u5904\u63cf\u8ff0\u7684\u534f\u8bae\u4e3a 0\uff09\u3002</p>\n</p>\n</dd>\n</dl>\n</div>\n<p lang=\"zh\">\u534f\u8bae\u7248\u672c\u53f7\u4e4b\u540e\u662f\u4e00\u4e2a\u6216\u591a\u4e2a\u53c2\u6570\u540d\u4e0e\u53c2\u6570\u503c\u5b57\u7b26\u4e32\u5bf9\u3002\u6700\u540e\u4e00\u4e2a\u540d\u79f0/\u503c\u5bf9\u4e4b\u540e\u5fc5\u987b\u6709\u4e00\u4e2a\u96f6\u5b57\u8282\u4f5c\u4e3a\u7ec8\u6b62\u7b26\u3002\u53c2\u6570\u53ef\u4ee5\u6309\u4efb\u610f\u987a\u5e8f\u51fa\u73b0\u3002\u5176\u4e2d\uff0c<code class=\"literal\">user</code>\u662f\u5fc5\u9700\u7684\uff0c\u5176\u4f59\u5747\u4e3a\u53ef\u9009\u3002\u6bcf\u4e2a\u53c2\u6570\u6309\u4ee5\u4e0b\u65b9\u5f0f\u6307\u5b9a\uff1a</p>\n<div class=\"variablelist\">\n<dl class=\"variablelist\">\n<dt lang=\"zh\">\u5b57\u7b26\u4e32</dt>\n<dd>\n<p lang=\"zh\">\u53c2\u6570\u540d\u79f0\u3002\u76ee\u524d\u80fd\u591f\u8bc6\u522b\u7684\u540d\u79f0\u5982\u4e0b\uff1a</p>\n<div class=\"variablelist\">\n<dl class=\"variablelist\">\n<dt><span class=\"term\"><code class=\"literal\">user</code></span></dt>\n<dd>\n<p lang=\"zh\">\n<p>\u8981\u8fde\u63a5\u7684\u6570\u636e\u5e93\u7528\u6237\u540d\u79f0\u3002\u5fc5\u586b\u9879\uff1b\u6ca1\u6709\u9ed8\u8ba4\u503c\u3002</p>\n</p>\n</dd>\n<dt><span class=\"term\"><code class=\"literal\">database</code></span></dt>\n<dd>\n<p lang=\"zh\">\n<p>\u8981\u8fde\u63a5\u7684\u6570\u636e\u5e93\u3002\u9ed8\u8ba4\u4e3a\u7528\u6237\u540d\u3002</p>\n</p>\n</dd>\n<dt><span class=\"term\"><code class=\"literal\">options</code></span></dt>\n<dd>\n<p lang=\"zh\">\n<p>\u540e\u7aef\u7684\u547d\u4ee4\u884c\u53c2\u6570\u3002\uff08\u5df2\u5f03\u7528\uff0c\u5efa\u8bae\u8bbe\u7f6e\u5355\u72ec\u7684\u8fd0\u884c\u65f6\u53c2\u6570\u3002\uff09\u6b64\u5b57\u7b26\u4e32\u4e2d\u7684\u7a7a\u683c\u88ab\u89c6\u4e3a\u5206\u9694\u53c2\u6570\uff0c\u9664\u975e\u7528\u53cd\u659c\u6760\uff08<code class=\"literal\">\\</code>\uff09\u8f6c\u4e49\uff1b\u5199<code class=\"literal\">\\\\</code>\u8868\u793a\u5b57\u9762\u53cd\u659c\u6760\u3002</p>\n</p>\n</dd>\n<dt><span class=\"term\"><code class=\"literal\">replication</code></span></dt>\n<dd>\n<p lang=\"zh\">\n<p>\u7528\u4e8e\u4ee5\u6d41\u590d\u5236\u6a21\u5f0f\u8fde\u63a5\uff0c\u53ef\u4ee5\u53d1\u51fa\u4e00\u5c0f\u7ec4\u590d\u5236\u547d\u4ee4\u800c\u4e0d\u662fSQL\u8bed\u53e5\u3002\u503c\u53ef\u4ee5\u662f<code class=\"literal\">true</code>\u3001<code class=\"literal\">false</code>\u6216<code class=\"literal\">database</code>\uff0c\u9ed8\u8ba4\u4e3a<code class=\"literal\">false</code>\u3002\u8be6\u7ec6\u4fe1\u606f\u8bf7\u53c2\u89c1<a class=\"xref\" href=\"/docs/12/protocol-replication.html\" title=\"52.4.\u00a0\u6d41\u590d\u5236\u534f\u8bae\">\u7b2c\u00a052.4\u00a0\u8282</a>\u3002</p>\n</p>\n</dd>\n</dl>\n</div>\n<p lang=\"zh\">\u9664\u4e0a\u8ff0\u53c2\u6570\u5916\uff0c\u8fd8\u53ef\u4ee5\u5217\u51fa\u5176\u4ed6\u53c2\u6570\u3002\u4ee5<code class=\"literal\">_pq_.</code>\u5f00\u5934\u7684\u53c2\u6570\u540d\u79f0\u4fdd\u7559\u7528\u4e8e\u534f\u8bae\u6269\u5c55\uff0c\u5176\u4f59\u53c2\u6570\u5219\u4f5c\u4e3a\u8fd0\u884c\u65f6\u53c2\u6570\uff0c\u5728\u540e\u7aef\u542f\u52a8\u65f6\u8bbe\u7f6e\u3002\u8fd9\u4e9b\u8bbe\u7f6e\u4f1a\u5728\u540e\u7aef\u542f\u52a8\u671f\u95f4\u5e94\u7528\uff08\u5728\u89e3\u6790\u547d\u4ee4\u884c\u53c2\u6570\u4e4b\u540e\uff0c\u5982\u679c\u6709\u7684\u8bdd\uff09\uff0c\u5e76\u4f5c\u4e3a\u4f1a\u8bdd\u9ed8\u8ba4\u503c\u3002</p>\n</dd>\n<dt lang=\"zh\">\u5b57\u7b26\u4e32</dt>\n<dd>\n<p lang=\"zh\">\n<p>\u53c2\u6570\u503c\u3002</p>\n</p>\n</dd>\n</dl>\n</div>\n</dd></dl>", "manual_path": "/docs/12/protocol-message-formats.html", "localization": {"status": "complete", "sources": [{"url": "/docs/12/datatype-json.html", "method": "same-major semantic node", "sha256": "5a46150e3fb4bd47dd2a421735d2e7672c4368f9209446b850d6adbf92d51b7e", "language": "zh", "matched_nodes": ["#DATATYPE-JSON/div[19]/pre[27]/em[4]/code[0]"]}, {"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[101]/div[0]/dl[0]/dd[3]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[101]/div[2]/dl[0]/dd[1]/div[1]/dl[0]/dd[1]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[101]/div[2]/dl[0]/dd[1]/div[1]/dl[0]/dd[3]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[101]/div[2]/dl[0]/dd[1]/div[1]/dl[0]/dd[5]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[101]/div[2]/dl[0]/dd[1]/div[1]/dl[0]/dd[7]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[101]/div[2]/dl[0]/dd[1]/p[0]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[101]/div[2]/dl[0]/dd[1]/p[2]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[101]/div[2]/dl[0]/dd[3]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[101]/p[1]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[1]/div[0]/dl[0]/dd[3]"]}], "language": "zh", "original_text": {"/versions/12/description/0": "StartupMessage is a frontend protocol message. Length of message contents in bytes, including self.", "/versions/12/facts/0/label": "Direction", "/versions/12/facts/0/value": "Frontend \u2192 backend", "/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": "Canceling Requests in Progress; SSL Session Encryption; GSSAPI Session Encryption", "/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": "Canceling Requests in Progress", "/versions/12/related/3/label": "SSL Session Encryption", "/versions/12/related/4/label": "GSSAPI Session Encryption", "/versions/12/sections/0/title": "Framing and repetition", "/versions/12/tables/0/rows/0/c2": "Length of message contents in bytes, including self.", "/versions/12/tables/0/rows/1/c2": "The protocol version number. The most significant 16 bits are the major version number (3 for the protocol described here). The least significant 16 bits are the minor version number (0 for the protocol described here).", "/versions/12/tables/0/rows/2/c1": "String", "/versions/12/tables/0/rows/2/c2": "The parameter name. Currently recognized names are: user The database user name to connect as. Required; there is no default. database The database to connect to. Defaults to the user name. options Command-line arguments for the backend. (This is deprecated in favor of setting individual run-time parameters.) Spaces within this string are considered to separate arguments, unless escaped with a backslash ( \\ ); write \\\\ to represent a literal backslash. replication Used to connect in streaming replication mode, where a small set of replication commands can be issued instead of SQL statements. Value can be true , false , or database , and the default is false . See Section 52.4 for details. In addition to the above, other parameters may be listed. Parameter names beginning with _pq_. are reserved for use as protocol extensions, while others are treated as run-time parameters to be set at backend start time. Such settings will be applied during backend start (after parsing the command-line arguments if any) and will act as session defaults.", "/versions/12/tables/0/rows/3/c2": "The database user name to connect as. Required; there is no default.", "/versions/12/tables/0/rows/4/c2": "The database to connect to. Defaults to the user name.", "/versions/12/tables/0/rows/5/c2": "Command-line arguments for the backend. (This is deprecated in favor of setting individual run-time parameters.) Spaces within this string are considered to separate arguments, unless escaped with a backslash ( \\ ); write \\\\ to represent a literal backslash.", "/versions/12/tables/0/rows/6/c2": "Used to connect in streaming replication mode, where a small set of replication commands can be issued instead of SQL statements. Value can be true , false , or database , and the default is false . See Section 52.4 for details.", "/versions/12/tables/0/rows/7/c1": "String", "/versions/12/tables/0/rows/7/c2": "The parameter value.", "/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": "d2a5e8ff815b308de69bbb2c386d9e69a893b90bf9f13b8ecb193cf8c8c0ba91"}, "comparison_data": {"fields": [{"format": "Int32", "description": "Length of message contents in bytes, including self."}, {"format": "Int32(196608)", "description": "The protocol version number. The most significant 16 bits are the major version number (3 for the protocol described here). The least significant 16 bits are the minor version number (0 for the protocol described here)."}, {"format": "String", "description": "The parameter name. Currently recognized names are: user The database user name to connect as. Required; there is no default. database The database to connect to. Defaults to the user name. options Command-line arguments for the backend. (This is deprecated in favor of setting individual run-time parameters.) Spaces within this string are considered to separate arguments, unless escaped with a backslash ( \\ ); write \\\\ to represent a literal backslash. replication Used to connect in streaming replication mode, where a small set of replication commands can be issued instead of SQL statements. Value can be true , false , or database , and the default is false . See Section 52.4 for details. In addition to the above, other parameters may be listed. Parameter names beginning with _pq_. are reserved for use as protocol extensions, while others are treated as run-time parameters to be set at backend start time. Such settings will be applied during backend start (after parsing the command-line arguments if any) and will act as session defaults."}, {"format": "user", "description": "The database user name to connect as. Required; there is no default."}, {"format": "database", "description": "The database to connect to. Defaults to the user name."}, {"format": "options", "description": "Command-line arguments for the backend. (This is deprecated in favor of setting individual run-time parameters.) Spaces within this string are considered to separate arguments, unless escaped with a backslash ( \\ ); write \\\\ to represent a literal backslash."}, {"format": "replication", "description": "Used to connect in streaming replication mode, where a small set of replication commands can be issued instead of SQL statements. Value can be true , false , or database , and the default is false . See Section 52.4 for details."}, {"format": "String", "description": "The parameter value."}], "direction": "F"}, "comparison_hash": "141486d7d0c3639d33a8a806d2daec19812aa848ae516a6719f055353eae58f2", "manual_language": "zh"}, "13": {"facts": [{"label": "\u65b9\u5411", "value": "\u524d\u7aef \u2192 \u540e\u7aef"}, {"label": "\u9996\u4e2a\u7ebf\u4e0a\u534f\u8bae\u5b57\u6bb5", "value": "Int32"}, {"label": "\u5b57\u6bb5\u6761\u76ee", "value": "8"}, {"label": "\u624b\u518c\u4e2d\u7684\u4ea4\u4e92\u9636\u6bb5", "value": "\u53d6\u6d88\u6b63\u5728\u6267\u884c\u7684\u8bf7\u6c42\uff1bSSL \u4f1a\u8bdd\u52a0\u5bc6\uff1bGSSAPI \u4f1a\u8bdd\u52a0\u5bc6"}], "fields": [{"format": "Int32", "description": "Length of message contents in bytes, including self."}, {"format": "Int32(196608)", "description": "The protocol version number. The most significant 16 bits are the major version number (3 for the protocol described here). The least significant 16 bits are the minor version number (0 for the protocol described here)."}, {"format": "String", "description": "The parameter name. Currently recognized names are: user The database user name to connect as. Required; there is no default. database The database to connect to. Defaults to the user name. options Command-line arguments for the backend. (This is deprecated in favor of setting individual run-time parameters.) Spaces within this string are considered to separate arguments, unless escaped with a backslash ( \\ ); write \\\\ to represent a literal backslash. replication Used to connect in streaming replication mode, where a small set of replication commands can be issued instead of SQL statements. Value can be true , false , or database , and the default is false . See Section 52.4 for details. In addition to the above, other parameters may be listed. Parameter names beginning with _pq_. are reserved for use as protocol extensions, while others are treated as run-time parameters to be set at backend start time. Such settings will be applied during backend start (after parsing the command-line arguments if any) and will act as session defaults."}, {"format": "user", "description": "The database user name to connect as. Required; there is no default."}, {"format": "database", "description": "The database to connect to. Defaults to the user name."}, {"format": "options", "description": "Command-line arguments for the backend. (This is deprecated in favor of setting individual run-time parameters.) Spaces within this string are considered to separate arguments, unless escaped with a backslash ( \\ ); write \\\\ to represent a literal backslash."}, {"format": "replication", "description": "Used to connect in streaming replication mode, where a small set of replication commands can be issued instead of SQL statements. Value can be true , false , or database , and the default is false . See Section 52.4 for details."}, {"format": "String", "description": "The parameter value."}], "tables": [{"key": "fields", "rows": [{"c0": "1", "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": "2", "c1": "Int32(196608)", "c2": "\u534f\u8bae\u7248\u672c\u53f7\u3002\u9ad8 16 \u4f4d\u4e3a\u4e3b\u7248\u672c\u53f7\uff08\u6b64\u5904\u63cf\u8ff0\u7684\u534f\u8bae\u4e3a 3\uff09\uff1b\u4f4e 16 \u4f4d\u4e3a\u6b21\u7248\u672c\u53f7\uff08\u6b64\u5904\u63cf\u8ff0\u7684\u534f\u8bae\u4e3a 0\uff09\u3002"}, {"c0": "3", "c1": "\u5b57\u7b26\u4e32", "c2": "\u53c2\u6570\u540d\u79f0\u3002\u76ee\u524d\u8bc6\u522b\u4ee5\u4e0b\u540d\u79f0\uff1auser \u4e3a\u8fde\u63a5\u6240\u7528\u7684\u6570\u636e\u5e93\u7528\u6237\u540d\uff0c\u5fc5\u586b\u4e14\u6ca1\u6709\u9ed8\u8ba4\u503c\uff1bdatabase \u4e3a\u8981\u8fde\u63a5\u7684\u6570\u636e\u5e93\uff0c\u9ed8\u8ba4\u4e3a\u7528\u6237\u540d\uff1boptions \u4e3a\u4f20\u7ed9\u540e\u7aef\u7684\u547d\u4ee4\u884c\u53c2\u6570\uff0c\u6b64\u7528\u6cd5\u5df2\u5f03\u7528\uff0c\u5efa\u8bae\u5355\u72ec\u8bbe\u7f6e\u5404\u8fd0\u884c\u65f6\u53c2\u6570\u3002options \u5b57\u7b26\u4e32\u4e2d\u7684\u7a7a\u683c\u7528\u4e8e\u5206\u9694\u53c2\u6570\uff0c\u9664\u975e\u7528\u53cd\u659c\u6760\uff08\\\uff09\u8f6c\u4e49\uff1b\u4e24\u4e2a\u53cd\u659c\u6760\uff08\\\\\uff09\u8868\u793a\u4e00\u4e2a\u5b57\u9762\u53cd\u659c\u6760\u3002replication \u7528\u4e8e\u4ee5\u6d41\u590d\u5236\u6a21\u5f0f\u8fde\u63a5\uff0c\u6b64\u65f6\u53ef\u6267\u884c\u5c11\u91cf\u590d\u5236\u547d\u4ee4\u800c\u975e SQL \u8bed\u53e5\uff0c\u5176\u503c\u53ef\u4e3a true\u3001false \u6216 database\uff0c\u9ed8\u8ba4\u4e3a false\uff0c\u8be6\u60c5\u53c2\u89c1\u7b2c 52.4 \u8282\u3002\u8fd8\u53ef\u4ee5\u5217\u51fa\u5176\u4ed6\u53c2\u6570\uff1a\u4ee5 _pq_. \u5f00\u5934\u7684\u540d\u79f0\u4fdd\u7559\u7ed9\u534f\u8bae\u6269\u5c55\uff0c\u5176\u4ed6\u540d\u79f0\u88ab\u89c6\u4e3a\u540e\u7aef\u542f\u52a8\u65f6\u8bbe\u7f6e\u7684\u8fd0\u884c\u65f6\u53c2\u6570\u3002\u8fd9\u4e9b\u8bbe\u7f6e\u5728\u540e\u7aef\u542f\u52a8\u65f6\uff08\u82e5\u6709\u547d\u4ee4\u884c\u53c2\u6570\uff0c\u5219\u5728\u5176\u89e3\u6790\u4e4b\u540e\uff09\u5e94\u7528\uff0c\u5e76\u4f5c\u4e3a\u4f1a\u8bdd\u9ed8\u8ba4\u503c\u3002"}, {"c0": "4", "c1": "user", "c2": "\u8981\u8fde\u63a5\u7684\u6570\u636e\u5e93\u7528\u6237\u540d\u79f0\u3002\u5fc5\u586b\u9879\uff1b\u6ca1\u6709\u9ed8\u8ba4\u503c\u3002"}, {"c0": "5", "c1": "database", "c2": "\u8981\u8fde\u63a5\u7684\u6570\u636e\u5e93\u3002\u9ed8\u8ba4\u4e3a\u7528\u6237\u540d\u3002"}, {"c0": "6", "c1": "options", "c2": "\u540e\u7aef\u7684\u547d\u4ee4\u884c\u53c2\u6570\u3002\uff08\u5df2\u5f03\u7528\uff0c\u5efa\u8bae\u8bbe\u7f6e\u5355\u72ec\u7684\u8fd0\u884c\u65f6\u53c2\u6570\u3002\uff09\u6b64\u5b57\u7b26\u4e32\u4e2d\u7684\u7a7a\u683c\u88ab\u89c6\u4e3a\u5206\u9694\u53c2\u6570\uff0c\u9664\u975e\u7528\u53cd\u659c\u6760\uff08 \\ \uff09\u8f6c\u4e49\uff1b\u5199 \\\\ \u8868\u793a\u5b57\u9762\u53cd\u659c\u6760\u3002"}, {"c0": "7", "c1": "replication", "c2": "\u7528\u4e8e\u4ee5\u6d41\u590d\u5236\u6a21\u5f0f\u8fde\u63a5\uff0c\u53ef\u4ee5\u53d1\u51fa\u4e00\u5c0f\u7ec4\u590d\u5236\u547d\u4ee4\u800c\u4e0d\u662fSQL\u8bed\u53e5\u3002\u503c\u53ef\u4ee5\u662f true \u3001 false \u6216 database \uff0c\u9ed8\u8ba4\u4e3a false \u3002\u8be6\u7ec6\u4fe1\u606f\u8bf7\u53c2\u89c1 \u7b2c 52.4 \u8282 \u3002"}, {"c0": "8", "c1": "\u5b57\u7b26\u4e32", "c2": "\u53c2\u6570\u503c\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.10", "label": "\u53d6\u6d88\u6b63\u5728\u6267\u884c\u7684\u8bf7\u6c42"}, {"url": "/docs/13/protocol-flow.html#id-1.10.5.7.12", "label": "SSL \u4f1a\u8bdd\u52a0\u5bc6"}, {"url": "/docs/13/protocol-flow.html#id-1.10.5.7.13", "label": "GSSAPI \u4f1a\u8bdd\u52a0\u5bc6"}], "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": "https://pg.center/docs/13/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS", "path": "protocol-message-formats.html", "label": "PostgreSQL 13 English manual", "sha256": "86bc62b343a9bd881a6832cced7d81285a9924985ea598ee2b207bbb4ba9666e", "language": "en", "original_url": "/docs/13/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS"}], "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"]}], "direction": "F", "signature": "StartupMessage (F)", "description": ["StartupMessage \u662f\u524d\u7aef\u534f\u8bae\u6d88\u606f\u3002\u6d88\u606f\u5185\u5bb9\u957f\u5ea6\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff0c\u5305\u542b\u957f\u5ea6\u5b57\u6bb5\u672c\u8eab\u3002"], "manual_html": "<dl><dd>\n<div class=\"variablelist\">\n<dl class=\"variablelist\">\n<dt><span class=\"term\">Int32</span></dt>\n<dd>\n<p lang=\"zh\">\n<p>\u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002</p>\n</p>\n</dd>\n<dt><span class=\"term\">Int32(196608)</span></dt>\n<dd>\n<p lang=\"zh\">\n<p>\u534f\u8bae\u7248\u672c\u53f7\u3002\u9ad8 16 \u4f4d\u4e3a\u4e3b\u7248\u672c\u53f7\uff08\u6b64\u5904\u63cf\u8ff0\u7684\u534f\u8bae\u4e3a 3\uff09\uff1b\u4f4e 16 \u4f4d\u4e3a\u6b21\u7248\u672c\u53f7\uff08\u6b64\u5904\u63cf\u8ff0\u7684\u534f\u8bae\u4e3a 0\uff09\u3002</p>\n</p>\n</dd>\n</dl>\n</div>\n<p lang=\"zh\">\u534f\u8bae\u7248\u672c\u53f7\u4e4b\u540e\u662f\u4e00\u4e2a\u6216\u591a\u4e2a\u53c2\u6570\u540d\u4e0e\u53c2\u6570\u503c\u5b57\u7b26\u4e32\u5bf9\u3002\u6700\u540e\u4e00\u4e2a\u540d\u79f0/\u503c\u5bf9\u4e4b\u540e\u5fc5\u987b\u6709\u4e00\u4e2a\u96f6\u5b57\u8282\u4f5c\u4e3a\u7ec8\u6b62\u7b26\u3002\u53c2\u6570\u53ef\u4ee5\u6309\u4efb\u610f\u987a\u5e8f\u51fa\u73b0\u3002\u5176\u4e2d\uff0c<code class=\"literal\">user</code>\u662f\u5fc5\u9700\u7684\uff0c\u5176\u4f59\u5747\u4e3a\u53ef\u9009\u3002\u6bcf\u4e2a\u53c2\u6570\u6309\u4ee5\u4e0b\u65b9\u5f0f\u6307\u5b9a\uff1a</p>\n<div class=\"variablelist\">\n<dl class=\"variablelist\">\n<dt lang=\"zh\">\u5b57\u7b26\u4e32</dt>\n<dd>\n<p lang=\"zh\">\u53c2\u6570\u540d\u79f0\u3002\u76ee\u524d\u80fd\u591f\u8bc6\u522b\u7684\u540d\u79f0\u5982\u4e0b\uff1a</p>\n<div class=\"variablelist\">\n<dl class=\"variablelist\">\n<dt><span class=\"term\"><code class=\"literal\">user</code></span></dt>\n<dd>\n<p lang=\"zh\">\n<p>\u8981\u8fde\u63a5\u7684\u6570\u636e\u5e93\u7528\u6237\u540d\u79f0\u3002\u5fc5\u586b\u9879\uff1b\u6ca1\u6709\u9ed8\u8ba4\u503c\u3002</p>\n</p>\n</dd>\n<dt><span class=\"term\"><code class=\"literal\">database</code></span></dt>\n<dd>\n<p lang=\"zh\">\n<p>\u8981\u8fde\u63a5\u7684\u6570\u636e\u5e93\u3002\u9ed8\u8ba4\u4e3a\u7528\u6237\u540d\u3002</p>\n</p>\n</dd>\n<dt><span class=\"term\"><code class=\"literal\">options</code></span></dt>\n<dd>\n<p lang=\"zh\">\n<p>\u540e\u7aef\u7684\u547d\u4ee4\u884c\u53c2\u6570\u3002\uff08\u5df2\u5f03\u7528\uff0c\u5efa\u8bae\u8bbe\u7f6e\u5355\u72ec\u7684\u8fd0\u884c\u65f6\u53c2\u6570\u3002\uff09\u6b64\u5b57\u7b26\u4e32\u4e2d\u7684\u7a7a\u683c\u88ab\u89c6\u4e3a\u5206\u9694\u53c2\u6570\uff0c\u9664\u975e\u7528\u53cd\u659c\u6760\uff08<code class=\"literal\">\\</code>\uff09\u8f6c\u4e49\uff1b\u5199<code class=\"literal\">\\\\</code>\u8868\u793a\u5b57\u9762\u53cd\u659c\u6760\u3002</p>\n</p>\n</dd>\n<dt><span class=\"term\"><code class=\"literal\">replication</code></span></dt>\n<dd>\n<p lang=\"zh\">\n<p>\u7528\u4e8e\u4ee5\u6d41\u590d\u5236\u6a21\u5f0f\u8fde\u63a5\uff0c\u53ef\u4ee5\u53d1\u51fa\u4e00\u5c0f\u7ec4\u590d\u5236\u547d\u4ee4\u800c\u4e0d\u662fSQL\u8bed\u53e5\u3002\u503c\u53ef\u4ee5\u662f<code class=\"literal\">true</code>\u3001<code class=\"literal\">false</code>\u6216<code class=\"literal\">database</code>\uff0c\u9ed8\u8ba4\u4e3a<code class=\"literal\">false</code>\u3002\u8be6\u7ec6\u4fe1\u606f\u8bf7\u53c2\u89c1<a class=\"xref\" href=\"/docs/13/protocol-replication.html\" title=\"52.4.\u00a0\u6d41\u590d\u5236\u534f\u8bae\">\u7b2c\u00a052.4\u00a0\u8282</a>\u3002</p>\n</p>\n</dd>\n</dl>\n</div>\n<p lang=\"zh\">\u9664\u4e0a\u8ff0\u53c2\u6570\u5916\uff0c\u8fd8\u53ef\u4ee5\u5217\u51fa\u5176\u4ed6\u53c2\u6570\u3002\u4ee5<code class=\"literal\">_pq_.</code>\u5f00\u5934\u7684\u53c2\u6570\u540d\u79f0\u4fdd\u7559\u7528\u4e8e\u534f\u8bae\u6269\u5c55\uff0c\u5176\u4f59\u53c2\u6570\u5219\u4f5c\u4e3a\u8fd0\u884c\u65f6\u53c2\u6570\uff0c\u5728\u540e\u7aef\u542f\u52a8\u65f6\u8bbe\u7f6e\u3002\u8fd9\u4e9b\u8bbe\u7f6e\u4f1a\u5728\u540e\u7aef\u542f\u52a8\u671f\u95f4\u5e94\u7528\uff08\u5728\u89e3\u6790\u547d\u4ee4\u884c\u53c2\u6570\u4e4b\u540e\uff0c\u5982\u679c\u6709\u7684\u8bdd\uff09\uff0c\u5e76\u4f5c\u4e3a\u4f1a\u8bdd\u9ed8\u8ba4\u503c\u3002</p>\n</dd>\n<dt lang=\"zh\">\u5b57\u7b26\u4e32</dt>\n<dd>\n<p lang=\"zh\">\n<p>\u53c2\u6570\u503c\u3002</p>\n</p>\n</dd>\n</dl>\n</div>\n</dd></dl>", "manual_path": "/docs/13/protocol-message-formats.html", "localization": {"status": "complete", "sources": [{"url": "/docs/13/datatype-json.html", "method": "same-major semantic node", "sha256": "4f40d591dd48f8b5cb58a4f0af9b824d2b0b6dee2132a6a010128e4f9b64184b", "language": "zh", "matched_nodes": ["#DATATYPE-JSON/div[19]/pre[27]/em[4]/code[0]"]}, {"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[101]/div[0]/dl[0]/dd[3]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[101]/div[2]/dl[0]/dd[1]/div[1]/dl[0]/dd[1]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[101]/div[2]/dl[0]/dd[1]/div[1]/dl[0]/dd[3]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[101]/div[2]/dl[0]/dd[1]/div[1]/dl[0]/dd[5]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[101]/div[2]/dl[0]/dd[1]/div[1]/dl[0]/dd[7]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[101]/div[2]/dl[0]/dd[1]/p[0]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[101]/div[2]/dl[0]/dd[1]/p[2]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[101]/div[2]/dl[0]/dd[3]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[101]/p[1]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[1]/div[0]/dl[0]/dd[3]"]}], "language": "zh", "original_text": {"/versions/13/description/0": "StartupMessage is a frontend protocol message. Length of message contents in bytes, including self.", "/versions/13/facts/0/label": "Direction", "/versions/13/facts/0/value": "Frontend \u2192 backend", "/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": "Canceling Requests in Progress; SSL Session Encryption; GSSAPI Session Encryption", "/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": "Canceling Requests in Progress", "/versions/13/related/3/label": "SSL Session Encryption", "/versions/13/related/4/label": "GSSAPI Session Encryption", "/versions/13/sections/0/title": "Framing and repetition", "/versions/13/tables/0/rows/0/c2": "Length of message contents in bytes, including self.", "/versions/13/tables/0/rows/1/c2": "The protocol version number. The most significant 16 bits are the major version number (3 for the protocol described here). The least significant 16 bits are the minor version number (0 for the protocol described here).", "/versions/13/tables/0/rows/2/c1": "String", "/versions/13/tables/0/rows/2/c2": "The parameter name. Currently recognized names are: user The database user name to connect as. Required; there is no default. database The database to connect to. Defaults to the user name. options Command-line arguments for the backend. (This is deprecated in favor of setting individual run-time parameters.) Spaces within this string are considered to separate arguments, unless escaped with a backslash ( \\ ); write \\\\ to represent a literal backslash. replication Used to connect in streaming replication mode, where a small set of replication commands can be issued instead of SQL statements. Value can be true , false , or database , and the default is false . See Section 52.4 for details. In addition to the above, other parameters may be listed. Parameter names beginning with _pq_. are reserved for use as protocol extensions, while others are treated as run-time parameters to be set at backend start time. Such settings will be applied during backend start (after parsing the command-line arguments if any) and will act as session defaults.", "/versions/13/tables/0/rows/3/c2": "The database user name to connect as. Required; there is no default.", "/versions/13/tables/0/rows/4/c2": "The database to connect to. Defaults to the user name.", "/versions/13/tables/0/rows/5/c2": "Command-line arguments for the backend. (This is deprecated in favor of setting individual run-time parameters.) Spaces within this string are considered to separate arguments, unless escaped with a backslash ( \\ ); write \\\\ to represent a literal backslash.", "/versions/13/tables/0/rows/6/c2": "Used to connect in streaming replication mode, where a small set of replication commands can be issued instead of SQL statements. Value can be true , false , or database , and the default is false . See Section 52.4 for details.", "/versions/13/tables/0/rows/7/c1": "String", "/versions/13/tables/0/rows/7/c2": "The parameter value.", "/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": "9677d28c19fef40acbd8897074c7c610c8fe1232acfe498f13def13b53eeca85"}, "comparison_data": {"fields": [{"format": "Int32", "description": "Length of message contents in bytes, including self."}, {"format": "Int32(196608)", "description": "The protocol version number. The most significant 16 bits are the major version number (3 for the protocol described here). The least significant 16 bits are the minor version number (0 for the protocol described here)."}, {"format": "String", "description": "The parameter name. Currently recognized names are: user The database user name to connect as. Required; there is no default. database The database to connect to. Defaults to the user name. options Command-line arguments for the backend. (This is deprecated in favor of setting individual run-time parameters.) Spaces within this string are considered to separate arguments, unless escaped with a backslash ( \\ ); write \\\\ to represent a literal backslash. replication Used to connect in streaming replication mode, where a small set of replication commands can be issued instead of SQL statements. Value can be true , false , or database , and the default is false . See Section 52.4 for details. In addition to the above, other parameters may be listed. Parameter names beginning with _pq_. are reserved for use as protocol extensions, while others are treated as run-time parameters to be set at backend start time. Such settings will be applied during backend start (after parsing the command-line arguments if any) and will act as session defaults."}, {"format": "user", "description": "The database user name to connect as. Required; there is no default."}, {"format": "database", "description": "The database to connect to. Defaults to the user name."}, {"format": "options", "description": "Command-line arguments for the backend. (This is deprecated in favor of setting individual run-time parameters.) Spaces within this string are considered to separate arguments, unless escaped with a backslash ( \\ ); write \\\\ to represent a literal backslash."}, {"format": "replication", "description": "Used to connect in streaming replication mode, where a small set of replication commands can be issued instead of SQL statements. Value can be true , false , or database , and the default is false . See Section 52.4 for details."}, {"format": "String", "description": "The parameter value."}], "direction": "F"}, "comparison_hash": "141486d7d0c3639d33a8a806d2daec19812aa848ae516a6719f055353eae58f2", "manual_language": "zh"}, "14": {"facts": [{"label": "\u65b9\u5411", "value": "\u524d\u7aef \u2192 \u540e\u7aef"}, {"label": "\u9996\u4e2a\u7ebf\u4e0a\u534f\u8bae\u5b57\u6bb5", "value": "Int32"}, {"label": "\u5b57\u6bb5\u6761\u76ee", "value": "8"}, {"label": "\u624b\u518c\u4e2d\u7684\u4ea4\u4e92\u9636\u6bb5", "value": "\u53d6\u6d88\u6b63\u5728\u6267\u884c\u7684\u8bf7\u6c42\uff1bSSL \u4f1a\u8bdd\u52a0\u5bc6\uff1bGSSAPI \u4f1a\u8bdd\u52a0\u5bc6"}], "fields": [{"format": "Int32", "description": "Length of message contents in bytes, including self."}, {"format": "Int32(196608)", "description": "The protocol version number. The most significant 16 bits are the major version number (3 for the protocol described here). The least significant 16 bits are the minor version number (0 for the protocol described here)."}, {"format": "String", "description": "The parameter name. Currently recognized names are: user The database user name to connect as. Required; there is no default. database The database to connect to. Defaults to the user name. options Command-line arguments for the backend. (This is deprecated in favor of setting individual run-time parameters.) Spaces within this string are considered to separate arguments, unless escaped with a backslash ( \\ ); write \\\\ to represent a literal backslash. replication Used to connect in streaming replication mode, where a small set of replication commands can be issued instead of SQL statements. Value can be true , false , or database , and the default is false . See Section 53.4 for details. In addition to the above, other parameters may be listed. Parameter names beginning with _pq_. are reserved for use as protocol extensions, while others are treated as run-time parameters to be set at backend start time. Such settings will be applied during backend start (after parsing the command-line arguments if any) and will act as session defaults."}, {"format": "user", "description": "The database user name to connect as. Required; there is no default."}, {"format": "database", "description": "The database to connect to. Defaults to the user name."}, {"format": "options", "description": "Command-line arguments for the backend. (This is deprecated in favor of setting individual run-time parameters.) Spaces within this string are considered to separate arguments, unless escaped with a backslash ( \\ ); write \\\\ to represent a literal backslash."}, {"format": "replication", "description": "Used to connect in streaming replication mode, where a small set of replication commands can be issued instead of SQL statements. Value can be true , false , or database , and the default is false . See Section 53.4 for details."}, {"format": "String", "description": "The parameter value."}], "tables": [{"key": "fields", "rows": [{"c0": "1", "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": "2", "c1": "Int32(196608)", "c2": "\u534f\u8bae\u7248\u672c\u53f7\u3002\u9ad8 16 \u4f4d\u4e3a\u4e3b\u7248\u672c\u53f7\uff08\u6b64\u5904\u63cf\u8ff0\u7684\u534f\u8bae\u4e3a 3\uff09\uff1b\u4f4e 16 \u4f4d\u4e3a\u6b21\u7248\u672c\u53f7\uff08\u6b64\u5904\u63cf\u8ff0\u7684\u534f\u8bae\u4e3a 0\uff09\u3002"}, {"c0": "3", "c1": "\u5b57\u7b26\u4e32", "c2": "\u53c2\u6570\u540d\u79f0\u3002\u76ee\u524d\u8bc6\u522b\u4ee5\u4e0b\u540d\u79f0\uff1auser \u4e3a\u8fde\u63a5\u6240\u7528\u7684\u6570\u636e\u5e93\u7528\u6237\u540d\uff0c\u5fc5\u586b\u4e14\u6ca1\u6709\u9ed8\u8ba4\u503c\uff1bdatabase \u4e3a\u8981\u8fde\u63a5\u7684\u6570\u636e\u5e93\uff0c\u9ed8\u8ba4\u4e3a\u7528\u6237\u540d\uff1boptions \u4e3a\u4f20\u7ed9\u540e\u7aef\u7684\u547d\u4ee4\u884c\u53c2\u6570\uff0c\u6b64\u7528\u6cd5\u5df2\u5f03\u7528\uff0c\u5efa\u8bae\u5355\u72ec\u8bbe\u7f6e\u5404\u8fd0\u884c\u65f6\u53c2\u6570\u3002options \u5b57\u7b26\u4e32\u4e2d\u7684\u7a7a\u683c\u7528\u4e8e\u5206\u9694\u53c2\u6570\uff0c\u9664\u975e\u7528\u53cd\u659c\u6760\uff08\\\uff09\u8f6c\u4e49\uff1b\u4e24\u4e2a\u53cd\u659c\u6760\uff08\\\\\uff09\u8868\u793a\u4e00\u4e2a\u5b57\u9762\u53cd\u659c\u6760\u3002replication \u7528\u4e8e\u4ee5\u6d41\u590d\u5236\u6a21\u5f0f\u8fde\u63a5\uff0c\u6b64\u65f6\u53ef\u6267\u884c\u5c11\u91cf\u590d\u5236\u547d\u4ee4\u800c\u975e SQL \u8bed\u53e5\uff0c\u5176\u503c\u53ef\u4e3a true\u3001false \u6216 database\uff0c\u9ed8\u8ba4\u4e3a false\uff0c\u8be6\u60c5\u53c2\u89c1\u7b2c 53.4 \u8282\u3002\u8fd8\u53ef\u4ee5\u5217\u51fa\u5176\u4ed6\u53c2\u6570\uff1a\u4ee5 _pq_. \u5f00\u5934\u7684\u540d\u79f0\u4fdd\u7559\u7ed9\u534f\u8bae\u6269\u5c55\uff0c\u5176\u4ed6\u540d\u79f0\u88ab\u89c6\u4e3a\u540e\u7aef\u542f\u52a8\u65f6\u8bbe\u7f6e\u7684\u8fd0\u884c\u65f6\u53c2\u6570\u3002\u8fd9\u4e9b\u8bbe\u7f6e\u5728\u540e\u7aef\u542f\u52a8\u65f6\uff08\u82e5\u6709\u547d\u4ee4\u884c\u53c2\u6570\uff0c\u5219\u5728\u5176\u89e3\u6790\u4e4b\u540e\uff09\u5e94\u7528\uff0c\u5e76\u4f5c\u4e3a\u4f1a\u8bdd\u9ed8\u8ba4\u503c\u3002"}, {"c0": "4", "c1": "user", "c2": "\u8981\u8fde\u63a5\u7684\u6570\u636e\u5e93\u7528\u6237\u540d\u79f0\u3002\u5fc5\u586b\u9879\uff1b\u6ca1\u6709\u9ed8\u8ba4\u503c\u3002"}, {"c0": "5", "c1": "database", "c2": "\u8981\u8fde\u63a5\u7684\u6570\u636e\u5e93\u3002\u9ed8\u8ba4\u4e3a\u7528\u6237\u540d\u3002"}, {"c0": "6", "c1": "options", "c2": "\u540e\u7aef\u7684\u547d\u4ee4\u884c\u53c2\u6570\u3002\uff08\u5df2\u5f03\u7528\uff0c\u5efa\u8bae\u8bbe\u7f6e\u5355\u72ec\u7684\u8fd0\u884c\u65f6\u53c2\u6570\u3002\uff09\u6b64\u5b57\u7b26\u4e32\u4e2d\u7684\u7a7a\u683c\u88ab\u89c6\u4e3a\u5206\u9694\u53c2\u6570\uff0c\u9664\u975e\u7528\u53cd\u659c\u6760\uff08 \\ \uff09\u8f6c\u4e49\uff1b\u5199 \\\\ \u8868\u793a\u5b57\u9762\u53cd\u659c\u6760\u3002"}, {"c0": "7", "c1": "replication", "c2": "\u7528\u4e8e\u4ee5\u6d41\u590d\u5236\u6a21\u5f0f\u8fde\u63a5\uff0c\u53ef\u4ee5\u53d1\u51fa\u4e00\u5c0f\u7ec4\u590d\u5236\u547d\u4ee4\u800c\u4e0d\u662fSQL\u8bed\u53e5\u3002\u503c\u53ef\u4ee5\u662f true \u3001 false \u6216 database \uff0c\u9ed8\u8ba4\u4e3a false \u3002\u8be6\u7ec6\u4fe1\u606f\u8bf7\u53c2\u89c1 \u7b2c 53.4 \u8282 \u3002"}, {"c0": "8", "c1": "\u5b57\u7b26\u4e32", "c2": "\u53c2\u6570\u503c\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.10", "label": "\u53d6\u6d88\u6b63\u5728\u6267\u884c\u7684\u8bf7\u6c42"}, {"url": "/docs/14/protocol-flow.html#id-1.10.5.7.12", "label": "SSL \u4f1a\u8bdd\u52a0\u5bc6"}, {"url": "/docs/14/protocol-flow.html#id-1.10.5.7.13", "label": "GSSAPI \u4f1a\u8bdd\u52a0\u5bc6"}], "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": "https://pg.center/docs/14/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS", "path": "protocol-message-formats.html", "label": "PostgreSQL 14 English manual", "sha256": "250fd6a2529964948260a546f72931e259885bb222b62c3bdbf5ab402b72987b", "language": "en", "original_url": "/docs/14/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS"}], "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"]}], "direction": "F", "signature": "StartupMessage (F)", "description": ["StartupMessage \u662f\u524d\u7aef\u534f\u8bae\u6d88\u606f\u3002\u6d88\u606f\u5185\u5bb9\u957f\u5ea6\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff0c\u5305\u542b\u957f\u5ea6\u5b57\u6bb5\u672c\u8eab\u3002"], "manual_html": "<dl><dd>\n<div class=\"variablelist\">\n<dl class=\"variablelist\">\n<dt><span class=\"term\">Int32</span></dt>\n<dd>\n<p lang=\"zh\">\n<p>\u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002</p>\n</p>\n</dd>\n<dt><span class=\"term\">Int32(196608)</span></dt>\n<dd>\n<p lang=\"zh\">\n<p>\u534f\u8bae\u7248\u672c\u53f7\u3002\u9ad8 16 \u4f4d\u4e3a\u4e3b\u7248\u672c\u53f7\uff08\u6b64\u5904\u63cf\u8ff0\u7684\u534f\u8bae\u4e3a 3\uff09\uff1b\u4f4e 16 \u4f4d\u4e3a\u6b21\u7248\u672c\u53f7\uff08\u6b64\u5904\u63cf\u8ff0\u7684\u534f\u8bae\u4e3a 0\uff09\u3002</p>\n</p>\n</dd>\n</dl>\n</div>\n<p lang=\"zh\">\u534f\u8bae\u7248\u672c\u53f7\u4e4b\u540e\u662f\u4e00\u4e2a\u6216\u591a\u4e2a\u53c2\u6570\u540d\u4e0e\u53c2\u6570\u503c\u5b57\u7b26\u4e32\u5bf9\u3002\u6700\u540e\u4e00\u4e2a\u540d\u79f0/\u503c\u5bf9\u4e4b\u540e\u5fc5\u987b\u6709\u4e00\u4e2a\u96f6\u5b57\u8282\u4f5c\u4e3a\u7ec8\u6b62\u7b26\u3002\u53c2\u6570\u53ef\u4ee5\u6309\u4efb\u610f\u987a\u5e8f\u51fa\u73b0\u3002\u5176\u4e2d\uff0c<code class=\"literal\">user</code>\u662f\u5fc5\u9700\u7684\uff0c\u5176\u4f59\u5747\u4e3a\u53ef\u9009\u3002\u6bcf\u4e2a\u53c2\u6570\u6309\u4ee5\u4e0b\u65b9\u5f0f\u6307\u5b9a\uff1a</p>\n<div class=\"variablelist\">\n<dl class=\"variablelist\">\n<dt lang=\"zh\">\u5b57\u7b26\u4e32</dt>\n<dd>\n<p lang=\"zh\">\u53c2\u6570\u540d\u79f0\u3002\u76ee\u524d\u80fd\u591f\u8bc6\u522b\u7684\u540d\u79f0\u5982\u4e0b\uff1a</p>\n<div class=\"variablelist\">\n<dl class=\"variablelist\">\n<dt><span class=\"term\"><code class=\"literal\">user</code></span></dt>\n<dd>\n<p lang=\"zh\">\n<p>\u8981\u8fde\u63a5\u7684\u6570\u636e\u5e93\u7528\u6237\u540d\u79f0\u3002\u5fc5\u586b\u9879\uff1b\u6ca1\u6709\u9ed8\u8ba4\u503c\u3002</p>\n</p>\n</dd>\n<dt><span class=\"term\"><code class=\"literal\">database</code></span></dt>\n<dd>\n<p lang=\"zh\">\n<p>\u8981\u8fde\u63a5\u7684\u6570\u636e\u5e93\u3002\u9ed8\u8ba4\u4e3a\u7528\u6237\u540d\u3002</p>\n</p>\n</dd>\n<dt><span class=\"term\"><code class=\"literal\">options</code></span></dt>\n<dd>\n<p lang=\"zh\">\n<p>\u540e\u7aef\u7684\u547d\u4ee4\u884c\u53c2\u6570\u3002\uff08\u5df2\u5f03\u7528\uff0c\u5efa\u8bae\u8bbe\u7f6e\u5355\u72ec\u7684\u8fd0\u884c\u65f6\u53c2\u6570\u3002\uff09\u6b64\u5b57\u7b26\u4e32\u4e2d\u7684\u7a7a\u683c\u88ab\u89c6\u4e3a\u5206\u9694\u53c2\u6570\uff0c\u9664\u975e\u7528\u53cd\u659c\u6760\uff08<code class=\"literal\">\\</code>\uff09\u8f6c\u4e49\uff1b\u5199<code class=\"literal\">\\\\</code>\u8868\u793a\u5b57\u9762\u53cd\u659c\u6760\u3002</p>\n</p>\n</dd>\n<dt><span class=\"term\"><code class=\"literal\">replication</code></span></dt>\n<dd>\n<p lang=\"zh\">\n<p>\u7528\u4e8e\u4ee5\u6d41\u590d\u5236\u6a21\u5f0f\u8fde\u63a5\uff0c\u53ef\u4ee5\u53d1\u51fa\u4e00\u5c0f\u7ec4\u590d\u5236\u547d\u4ee4\u800c\u4e0d\u662fSQL\u8bed\u53e5\u3002\u503c\u53ef\u4ee5\u662f<code class=\"literal\">true</code>\u3001<code class=\"literal\">false</code>\u6216<code class=\"literal\">database</code>\uff0c\u9ed8\u8ba4\u4e3a<code class=\"literal\">false</code>\u3002\u8be6\u7ec6\u4fe1\u606f\u8bf7\u53c2\u89c1<a class=\"xref\" href=\"/docs/14/protocol-replication.html\" title=\"53.4.\u00a0\u6d41\u590d\u5236\u534f\u8bae\">\u7b2c\u00a053.4\u00a0\u8282</a>\u3002</p>\n</p>\n</dd>\n</dl>\n</div>\n<p lang=\"zh\">\u9664\u4e0a\u8ff0\u53c2\u6570\u5916\uff0c\u8fd8\u53ef\u4ee5\u5217\u51fa\u5176\u4ed6\u53c2\u6570\u3002\u4ee5<code class=\"literal\">_pq_.</code>\u5f00\u5934\u7684\u53c2\u6570\u540d\u79f0\u4fdd\u7559\u7528\u4e8e\u534f\u8bae\u6269\u5c55\uff0c\u5176\u4f59\u53c2\u6570\u5219\u4f5c\u4e3a\u8fd0\u884c\u65f6\u53c2\u6570\uff0c\u5728\u540e\u7aef\u542f\u52a8\u65f6\u8bbe\u7f6e\u3002\u8fd9\u4e9b\u8bbe\u7f6e\u4f1a\u5728\u540e\u7aef\u542f\u52a8\u671f\u95f4\u5e94\u7528\uff08\u5728\u89e3\u6790\u547d\u4ee4\u884c\u53c2\u6570\u4e4b\u540e\uff0c\u5982\u679c\u6709\u7684\u8bdd\uff09\uff0c\u5e76\u4f5c\u4e3a\u4f1a\u8bdd\u9ed8\u8ba4\u503c\u3002</p>\n</dd>\n<dt lang=\"zh\">\u5b57\u7b26\u4e32</dt>\n<dd>\n<p lang=\"zh\">\n<p>\u53c2\u6570\u503c\u3002</p>\n</p>\n</dd>\n</dl>\n</div>\n</dd></dl>", "manual_path": "/docs/14/protocol-message-formats.html", "localization": {"status": "complete", "sources": [{"url": "/docs/14/datatype-json.html", "method": "same-major semantic node", "sha256": "6caaf22252a97833322c667923644122c2e880284c9f623b4ccbad4929b6ce66", "language": "zh", "matched_nodes": ["#DATATYPE-JSON/div[19]/pre[27]/em[4]/code[0]"]}, {"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[101]/div[0]/dl[0]/dd[3]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[101]/div[2]/dl[0]/dd[1]/div[1]/dl[0]/dd[1]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[101]/div[2]/dl[0]/dd[1]/div[1]/dl[0]/dd[3]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[101]/div[2]/dl[0]/dd[1]/div[1]/dl[0]/dd[5]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[101]/div[2]/dl[0]/dd[1]/div[1]/dl[0]/dd[7]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[101]/div[2]/dl[0]/dd[1]/p[0]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[101]/div[2]/dl[0]/dd[1]/p[2]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[101]/div[2]/dl[0]/dd[3]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[101]/p[1]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[1]/div[0]/dl[0]/dd[3]"]}], "language": "zh", "original_text": {"/versions/14/description/0": "StartupMessage is a frontend protocol message. Length of message contents in bytes, including self.", "/versions/14/facts/0/label": "Direction", "/versions/14/facts/0/value": "Frontend \u2192 backend", "/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": "Canceling Requests in Progress; SSL Session Encryption; GSSAPI Session Encryption", "/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": "Canceling Requests in Progress", "/versions/14/related/3/label": "SSL Session Encryption", "/versions/14/related/4/label": "GSSAPI Session Encryption", "/versions/14/sections/0/title": "Framing and repetition", "/versions/14/tables/0/rows/0/c2": "Length of message contents in bytes, including self.", "/versions/14/tables/0/rows/1/c2": "The protocol version number. The most significant 16 bits are the major version number (3 for the protocol described here). The least significant 16 bits are the minor version number (0 for the protocol described here).", "/versions/14/tables/0/rows/2/c1": "String", "/versions/14/tables/0/rows/2/c2": "The parameter name. Currently recognized names are: user The database user name to connect as. Required; there is no default. database The database to connect to. Defaults to the user name. options Command-line arguments for the backend. (This is deprecated in favor of setting individual run-time parameters.) Spaces within this string are considered to separate arguments, unless escaped with a backslash ( \\ ); write \\\\ to represent a literal backslash. replication Used to connect in streaming replication mode, where a small set of replication commands can be issued instead of SQL statements. Value can be true , false , or database , and the default is false . See Section 53.4 for details. In addition to the above, other parameters may be listed. Parameter names beginning with _pq_. are reserved for use as protocol extensions, while others are treated as run-time parameters to be set at backend start time. Such settings will be applied during backend start (after parsing the command-line arguments if any) and will act as session defaults.", "/versions/14/tables/0/rows/3/c2": "The database user name to connect as. Required; there is no default.", "/versions/14/tables/0/rows/4/c2": "The database to connect to. Defaults to the user name.", "/versions/14/tables/0/rows/5/c2": "Command-line arguments for the backend. (This is deprecated in favor of setting individual run-time parameters.) Spaces within this string are considered to separate arguments, unless escaped with a backslash ( \\ ); write \\\\ to represent a literal backslash.", "/versions/14/tables/0/rows/6/c2": "Used to connect in streaming replication mode, where a small set of replication commands can be issued instead of SQL statements. Value can be true , false , or database , and the default is false . See Section 53.4 for details.", "/versions/14/tables/0/rows/7/c1": "String", "/versions/14/tables/0/rows/7/c2": "The parameter value.", "/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": "1a8a49269fa5b5a0109fd380626d37223c79ce0f6978f5301a4eab532160f17c"}, "comparison_data": {"fields": [{"format": "Int32", "description": "Length of message contents in bytes, including self."}, {"format": "Int32(196608)", "description": "The protocol version number. The most significant 16 bits are the major version number (3 for the protocol described here). The least significant 16 bits are the minor version number (0 for the protocol described here)."}, {"format": "String", "description": "The parameter name. Currently recognized names are: user The database user name to connect as. Required; there is no default. database The database to connect to. Defaults to the user name. options Command-line arguments for the backend. (This is deprecated in favor of setting individual run-time parameters.) Spaces within this string are considered to separate arguments, unless escaped with a backslash ( \\ ); write \\\\ to represent a literal backslash. replication Used to connect in streaming replication mode, where a small set of replication commands can be issued instead of SQL statements. Value can be true , false , or database , and the default is false . See Section 53.4 for details. In addition to the above, other parameters may be listed. Parameter names beginning with _pq_. are reserved for use as protocol extensions, while others are treated as run-time parameters to be set at backend start time. Such settings will be applied during backend start (after parsing the command-line arguments if any) and will act as session defaults."}, {"format": "user", "description": "The database user name to connect as. Required; there is no default."}, {"format": "database", "description": "The database to connect to. Defaults to the user name."}, {"format": "options", "description": "Command-line arguments for the backend. (This is deprecated in favor of setting individual run-time parameters.) Spaces within this string are considered to separate arguments, unless escaped with a backslash ( \\ ); write \\\\ to represent a literal backslash."}, {"format": "replication", "description": "Used to connect in streaming replication mode, where a small set of replication commands can be issued instead of SQL statements. Value can be true , false , or database , and the default is false . See Section 53.4 for details."}, {"format": "String", "description": "The parameter value."}], "direction": "F"}, "comparison_hash": "bcfe2a9d0912c977ac383c8a67059748f2ed01142bddd6db754f1cf6eb013fa7", "manual_language": "zh"}, "15": {"facts": [{"label": "\u65b9\u5411", "value": "\u524d\u7aef \u2192 \u540e\u7aef"}, {"label": "\u9996\u4e2a\u7ebf\u4e0a\u534f\u8bae\u5b57\u6bb5", "value": "Int32"}, {"label": "\u5b57\u6bb5\u6761\u76ee", "value": "8"}, {"label": "\u624b\u518c\u4e2d\u7684\u4ea4\u4e92\u9636\u6bb5", "value": "\u53d6\u6d88\u6b63\u5728\u6267\u884c\u7684\u8bf7\u6c42\uff1bSSL \u4f1a\u8bdd\u52a0\u5bc6\uff1bGSSAPI \u4f1a\u8bdd\u52a0\u5bc6"}], "fields": [{"format": "Int32", "description": "Length of message contents in bytes, including self."}, {"format": "Int32(196608)", "description": "The protocol version number. The most significant 16 bits are the major version number (3 for the protocol described here). The least significant 16 bits are the minor version number (0 for the protocol described here)."}, {"format": "String", "description": "The parameter name. Currently recognized names are: user The database user name to connect as. Required; there is no default. database The database to connect to. Defaults to the user name. options Command-line arguments for the backend. (This is deprecated in favor of setting individual run-time parameters.) Spaces within this string are considered to separate arguments, unless escaped with a backslash ( \\ ); write \\\\ to represent a literal backslash. replication Used to connect in streaming replication mode, where a small set of replication commands can be issued instead of SQL statements. Value can be true , false , or database , and the default is false . See Section 55.4 for details. In addition to the above, other parameters may be listed. Parameter names beginning with _pq_. are reserved for use as protocol extensions, while others are treated as run-time parameters to be set at backend start time. Such settings will be applied during backend start (after parsing the command-line arguments if any) and will act as session defaults."}, {"format": "user", "description": "The database user name to connect as. Required; there is no default."}, {"format": "database", "description": "The database to connect to. Defaults to the user name."}, {"format": "options", "description": "Command-line arguments for the backend. (This is deprecated in favor of setting individual run-time parameters.) Spaces within this string are considered to separate arguments, unless escaped with a backslash ( \\ ); write \\\\ to represent a literal backslash."}, {"format": "replication", "description": "Used to connect in streaming replication mode, where a small set of replication commands can be issued instead of SQL statements. Value can be true , false , or database , and the default is false . See Section 55.4 for details."}, {"format": "String", "description": "The parameter value."}], "tables": [{"key": "fields", "rows": [{"c0": "1", "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": "2", "c1": "Int32(196608)", "c2": "\u534f\u8bae\u7248\u672c\u53f7\u3002\u9ad8 16 \u4f4d\u4e3a\u4e3b\u7248\u672c\u53f7\uff08\u6b64\u5904\u63cf\u8ff0\u7684\u534f\u8bae\u4e3a 3\uff09\uff1b\u4f4e 16 \u4f4d\u4e3a\u6b21\u7248\u672c\u53f7\uff08\u6b64\u5904\u63cf\u8ff0\u7684\u534f\u8bae\u4e3a 0\uff09\u3002"}, {"c0": "3", "c1": "\u5b57\u7b26\u4e32", "c2": "\u53c2\u6570\u540d\u79f0\u3002\u76ee\u524d\u8bc6\u522b\u4ee5\u4e0b\u540d\u79f0\uff1auser \u4e3a\u8fde\u63a5\u6240\u7528\u7684\u6570\u636e\u5e93\u7528\u6237\u540d\uff0c\u5fc5\u586b\u4e14\u6ca1\u6709\u9ed8\u8ba4\u503c\uff1bdatabase \u4e3a\u8981\u8fde\u63a5\u7684\u6570\u636e\u5e93\uff0c\u9ed8\u8ba4\u4e3a\u7528\u6237\u540d\uff1boptions \u4e3a\u4f20\u7ed9\u540e\u7aef\u7684\u547d\u4ee4\u884c\u53c2\u6570\uff0c\u6b64\u7528\u6cd5\u5df2\u5f03\u7528\uff0c\u5efa\u8bae\u5355\u72ec\u8bbe\u7f6e\u5404\u8fd0\u884c\u65f6\u53c2\u6570\u3002options \u5b57\u7b26\u4e32\u4e2d\u7684\u7a7a\u683c\u7528\u4e8e\u5206\u9694\u53c2\u6570\uff0c\u9664\u975e\u7528\u53cd\u659c\u6760\uff08\\\uff09\u8f6c\u4e49\uff1b\u4e24\u4e2a\u53cd\u659c\u6760\uff08\\\\\uff09\u8868\u793a\u4e00\u4e2a\u5b57\u9762\u53cd\u659c\u6760\u3002replication \u7528\u4e8e\u4ee5\u6d41\u590d\u5236\u6a21\u5f0f\u8fde\u63a5\uff0c\u6b64\u65f6\u53ef\u6267\u884c\u5c11\u91cf\u590d\u5236\u547d\u4ee4\u800c\u975e SQL \u8bed\u53e5\uff0c\u5176\u503c\u53ef\u4e3a true\u3001false \u6216 database\uff0c\u9ed8\u8ba4\u4e3a false\uff0c\u8be6\u60c5\u53c2\u89c1\u7b2c 55.4 \u8282\u3002\u8fd8\u53ef\u4ee5\u5217\u51fa\u5176\u4ed6\u53c2\u6570\uff1a\u4ee5 _pq_. \u5f00\u5934\u7684\u540d\u79f0\u4fdd\u7559\u7ed9\u534f\u8bae\u6269\u5c55\uff0c\u5176\u4ed6\u540d\u79f0\u88ab\u89c6\u4e3a\u540e\u7aef\u542f\u52a8\u65f6\u8bbe\u7f6e\u7684\u8fd0\u884c\u65f6\u53c2\u6570\u3002\u8fd9\u4e9b\u8bbe\u7f6e\u5728\u540e\u7aef\u542f\u52a8\u65f6\uff08\u82e5\u6709\u547d\u4ee4\u884c\u53c2\u6570\uff0c\u5219\u5728\u5176\u89e3\u6790\u4e4b\u540e\uff09\u5e94\u7528\uff0c\u5e76\u4f5c\u4e3a\u4f1a\u8bdd\u9ed8\u8ba4\u503c\u3002"}, {"c0": "4", "c1": "user", "c2": "\u8981\u8fde\u63a5\u7684\u6570\u636e\u5e93\u7528\u6237\u540d\u79f0\u3002\u5fc5\u586b\u9879\uff1b\u6ca1\u6709\u9ed8\u8ba4\u503c\u3002"}, {"c0": "5", "c1": "database", "c2": "\u8981\u8fde\u63a5\u7684\u6570\u636e\u5e93\u3002\u9ed8\u8ba4\u4e3a\u7528\u6237\u540d\u3002"}, {"c0": "6", "c1": "options", "c2": "\u540e\u7aef\u7684\u547d\u4ee4\u884c\u53c2\u6570\u3002\uff08\u5df2\u5f03\u7528\uff0c\u5efa\u8bae\u8bbe\u7f6e\u5355\u72ec\u7684\u8fd0\u884c\u65f6\u53c2\u6570\u3002\uff09\u6b64\u5b57\u7b26\u4e32\u4e2d\u7684\u7a7a\u683c\u88ab\u89c6\u4e3a\u5206\u9694\u53c2\u6570\uff0c\u9664\u975e\u7528\u53cd\u659c\u6760\uff08 \\ \uff09\u8f6c\u4e49\uff1b\u5199 \\\\ \u8868\u793a\u5b57\u9762\u53cd\u659c\u6760\u3002"}, {"c0": "7", "c1": "replication", "c2": "\u7528\u4e8e\u4ee5\u6d41\u590d\u5236\u6a21\u5f0f\u8fde\u63a5\uff0c\u53ef\u4ee5\u53d1\u51fa\u4e00\u5c0f\u7ec4\u590d\u5236\u547d\u4ee4\u800c\u4e0d\u662fSQL\u8bed\u53e5\u3002\u503c\u53ef\u4ee5\u662f true \u3001 false \u6216 database \uff0c\u9ed8\u8ba4\u4e3a false \u3002\u8be6\u7ec6\u4fe1\u606f\u8bf7\u53c2\u89c1 \u7b2c 55.4 \u8282 \u3002"}, {"c0": "8", "c1": "\u5b57\u7b26\u4e32", "c2": "\u53c2\u6570\u503c\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.10", "label": "\u53d6\u6d88\u6b63\u5728\u6267\u884c\u7684\u8bf7\u6c42"}, {"url": "/docs/15/protocol-flow.html#id-1.10.6.7.12", "label": "SSL \u4f1a\u8bdd\u52a0\u5bc6"}, {"url": "/docs/15/protocol-flow.html#id-1.10.6.7.13", "label": "GSSAPI \u4f1a\u8bdd\u52a0\u5bc6"}], "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": "https://pg.center/docs/15/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS-STARTUPMESSAGE", "path": "protocol-message-formats.html", "label": "PostgreSQL 15 English manual", "sha256": "8c5c191eef74cd3249dabab5d6714b0f516b88c4658da4d6cce6c003bc45d919", "language": "en", "original_url": "/docs/15/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS-STARTUPMESSAGE"}], "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"]}], "direction": "F", "signature": "StartupMessage (F)", "description": ["StartupMessage \u662f\u524d\u7aef\u534f\u8bae\u6d88\u606f\u3002\u6d88\u606f\u5185\u5bb9\u957f\u5ea6\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff0c\u5305\u542b\u957f\u5ea6\u5b57\u6bb5\u672c\u8eab\u3002"], "manual_html": "<dl><dd>\n<div class=\"variablelist\">\n<dl class=\"variablelist\">\n<dt><span class=\"term\">Int32</span></dt>\n<dd>\n<p lang=\"zh\">\n<p>\u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002</p>\n</p>\n</dd>\n<dt><span class=\"term\">Int32(196608)</span></dt>\n<dd>\n<p lang=\"zh\">\n<p>\u534f\u8bae\u7248\u672c\u53f7\u3002\u9ad8 16 \u4f4d\u4e3a\u4e3b\u7248\u672c\u53f7\uff08\u6b64\u5904\u63cf\u8ff0\u7684\u534f\u8bae\u4e3a 3\uff09\uff1b\u4f4e 16 \u4f4d\u4e3a\u6b21\u7248\u672c\u53f7\uff08\u6b64\u5904\u63cf\u8ff0\u7684\u534f\u8bae\u4e3a 0\uff09\u3002</p>\n</p>\n</dd>\n</dl>\n</div>\n<p lang=\"zh\">\u534f\u8bae\u7248\u672c\u53f7\u4e4b\u540e\u662f\u4e00\u4e2a\u6216\u591a\u4e2a\u53c2\u6570\u540d\u4e0e\u53c2\u6570\u503c\u5b57\u7b26\u4e32\u5bf9\u3002\u6700\u540e\u4e00\u4e2a\u540d\u79f0/\u503c\u5bf9\u4e4b\u540e\u5fc5\u987b\u6709\u4e00\u4e2a\u96f6\u5b57\u8282\u4f5c\u4e3a\u7ec8\u6b62\u7b26\u3002\u53c2\u6570\u53ef\u4ee5\u6309\u4efb\u610f\u987a\u5e8f\u51fa\u73b0\u3002\u5176\u4e2d\uff0c<code class=\"literal\">user</code>\u662f\u5fc5\u9700\u7684\uff0c\u5176\u4f59\u5747\u4e3a\u53ef\u9009\u3002\u6bcf\u4e2a\u53c2\u6570\u6309\u4ee5\u4e0b\u65b9\u5f0f\u6307\u5b9a\uff1a</p>\n<div class=\"variablelist\">\n<dl class=\"variablelist\">\n<dt lang=\"zh\">\u5b57\u7b26\u4e32</dt>\n<dd>\n<p lang=\"zh\">\u53c2\u6570\u540d\u79f0\u3002\u76ee\u524d\u80fd\u591f\u8bc6\u522b\u7684\u540d\u79f0\u5982\u4e0b\uff1a</p>\n<div class=\"variablelist\">\n<dl class=\"variablelist\">\n<dt><span class=\"term\"><code class=\"literal\">user</code></span></dt>\n<dd>\n<p lang=\"zh\">\n<p>\u8981\u8fde\u63a5\u7684\u6570\u636e\u5e93\u7528\u6237\u540d\u79f0\u3002\u5fc5\u586b\u9879\uff1b\u6ca1\u6709\u9ed8\u8ba4\u503c\u3002</p>\n</p>\n</dd>\n<dt><span class=\"term\"><code class=\"literal\">database</code></span></dt>\n<dd>\n<p lang=\"zh\">\n<p>\u8981\u8fde\u63a5\u7684\u6570\u636e\u5e93\u3002\u9ed8\u8ba4\u4e3a\u7528\u6237\u540d\u3002</p>\n</p>\n</dd>\n<dt><span class=\"term\"><code class=\"literal\">options</code></span></dt>\n<dd>\n<p lang=\"zh\">\n<p>\u540e\u7aef\u7684\u547d\u4ee4\u884c\u53c2\u6570\u3002\uff08\u5df2\u5f03\u7528\uff0c\u5efa\u8bae\u8bbe\u7f6e\u5355\u72ec\u7684\u8fd0\u884c\u65f6\u53c2\u6570\u3002\uff09\u6b64\u5b57\u7b26\u4e32\u4e2d\u7684\u7a7a\u683c\u88ab\u89c6\u4e3a\u5206\u9694\u53c2\u6570\uff0c\u9664\u975e\u7528\u53cd\u659c\u6760\uff08<code class=\"literal\">\\</code>\uff09\u8f6c\u4e49\uff1b\u5199<code class=\"literal\">\\\\</code>\u8868\u793a\u5b57\u9762\u53cd\u659c\u6760\u3002</p>\n</p>\n</dd>\n<dt><span class=\"term\"><code class=\"literal\">replication</code></span></dt>\n<dd>\n<p lang=\"zh\">\n<p>\u7528\u4e8e\u4ee5\u6d41\u590d\u5236\u6a21\u5f0f\u8fde\u63a5\uff0c\u53ef\u4ee5\u53d1\u51fa\u4e00\u5c0f\u7ec4\u590d\u5236\u547d\u4ee4\u800c\u4e0d\u662fSQL\u8bed\u53e5\u3002\u503c\u53ef\u4ee5\u662f<code class=\"literal\">true</code>\u3001<code class=\"literal\">false</code>\u6216<code class=\"literal\">database</code>\uff0c\u9ed8\u8ba4\u4e3a<code class=\"literal\">false</code>\u3002\u8be6\u7ec6\u4fe1\u606f\u8bf7\u53c2\u89c1<a class=\"xref\" href=\"/docs/15/protocol-replication.html\" title=\"55.4.\u00a0\u6d41\u590d\u5236\u534f\u8bae\">\u7b2c\u00a055.4\u00a0\u8282</a>\u3002</p>\n</p>\n</dd>\n</dl>\n</div>\n<p lang=\"zh\">\u9664\u4e0a\u8ff0\u53c2\u6570\u5916\uff0c\u8fd8\u53ef\u4ee5\u5217\u51fa\u5176\u4ed6\u53c2\u6570\u3002\u4ee5<code class=\"literal\">_pq_.</code>\u5f00\u5934\u7684\u53c2\u6570\u540d\u79f0\u4fdd\u7559\u7528\u4e8e\u534f\u8bae\u6269\u5c55\uff0c\u5176\u4f59\u53c2\u6570\u5219\u4f5c\u4e3a\u8fd0\u884c\u65f6\u53c2\u6570\uff0c\u5728\u540e\u7aef\u542f\u52a8\u65f6\u8bbe\u7f6e\u3002\u8fd9\u4e9b\u8bbe\u7f6e\u4f1a\u5728\u540e\u7aef\u542f\u52a8\u671f\u95f4\u5e94\u7528\uff08\u5728\u89e3\u6790\u547d\u4ee4\u884c\u53c2\u6570\u4e4b\u540e\uff0c\u5982\u679c\u6709\u7684\u8bdd\uff09\uff0c\u5e76\u4f5c\u4e3a\u4f1a\u8bdd\u9ed8\u8ba4\u503c\u3002</p>\n</dd>\n<dt lang=\"zh\">\u5b57\u7b26\u4e32</dt>\n<dd>\n<p lang=\"zh\">\n<p>\u53c2\u6570\u503c\u3002</p>\n</p>\n</dd>\n</dl>\n</div>\n</dd></dl>", "manual_path": "/docs/15/protocol-message-formats.html", "localization": {"status": "complete", "sources": [{"url": "/docs/15/datatype-json.html", "method": "same-major semantic node", "sha256": "1de5ac3fcff666e4a6ac070ff5320df19ce2a518ff29c894afc9071d51b938ff", "language": "zh", "matched_nodes": ["#DATATYPE-JSON/div[19]/pre[27]/em[4]/code[0]"]}, {"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[101]/div[0]/dl[0]/dd[3]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[101]/div[2]/dl[0]/dd[1]/div[1]/dl[0]/dd[1]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[101]/div[2]/dl[0]/dd[1]/div[1]/dl[0]/dd[3]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[101]/div[2]/dl[0]/dd[1]/div[1]/dl[0]/dd[5]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[101]/div[2]/dl[0]/dd[1]/div[1]/dl[0]/dd[7]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[101]/div[2]/dl[0]/dd[1]/p[0]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[101]/div[2]/dl[0]/dd[1]/p[2]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[101]/div[2]/dl[0]/dd[3]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[101]/p[1]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[1]/div[0]/dl[0]/dd[3]"]}], "language": "zh", "original_text": {"/versions/15/description/0": "StartupMessage is a frontend protocol message. Length of message contents in bytes, including self.", "/versions/15/facts/0/label": "Direction", "/versions/15/facts/0/value": "Frontend \u2192 backend", "/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": "Canceling Requests in Progress; SSL Session Encryption; GSSAPI Session Encryption", "/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": "Canceling Requests in Progress", "/versions/15/related/3/label": "SSL Session Encryption", "/versions/15/related/4/label": "GSSAPI Session Encryption", "/versions/15/sections/0/title": "Framing and repetition", "/versions/15/tables/0/rows/0/c2": "Length of message contents in bytes, including self.", "/versions/15/tables/0/rows/1/c2": "The protocol version number. The most significant 16 bits are the major version number (3 for the protocol described here). The least significant 16 bits are the minor version number (0 for the protocol described here).", "/versions/15/tables/0/rows/2/c1": "String", "/versions/15/tables/0/rows/2/c2": "The parameter name. Currently recognized names are: user The database user name to connect as. Required; there is no default. database The database to connect to. Defaults to the user name. options Command-line arguments for the backend. (This is deprecated in favor of setting individual run-time parameters.) Spaces within this string are considered to separate arguments, unless escaped with a backslash ( \\ ); write \\\\ to represent a literal backslash. replication Used to connect in streaming replication mode, where a small set of replication commands can be issued instead of SQL statements. Value can be true , false , or database , and the default is false . See Section 55.4 for details. In addition to the above, other parameters may be listed. Parameter names beginning with _pq_. are reserved for use as protocol extensions, while others are treated as run-time parameters to be set at backend start time. Such settings will be applied during backend start (after parsing the command-line arguments if any) and will act as session defaults.", "/versions/15/tables/0/rows/3/c2": "The database user name to connect as. Required; there is no default.", "/versions/15/tables/0/rows/4/c2": "The database to connect to. Defaults to the user name.", "/versions/15/tables/0/rows/5/c2": "Command-line arguments for the backend. (This is deprecated in favor of setting individual run-time parameters.) Spaces within this string are considered to separate arguments, unless escaped with a backslash ( \\ ); write \\\\ to represent a literal backslash.", "/versions/15/tables/0/rows/6/c2": "Used to connect in streaming replication mode, where a small set of replication commands can be issued instead of SQL statements. Value can be true , false , or database , and the default is false . See Section 55.4 for details.", "/versions/15/tables/0/rows/7/c1": "String", "/versions/15/tables/0/rows/7/c2": "The parameter value.", "/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": "ace03df28380745d7688b8ecbdc2d829787ea782c870996307c66b4c2d6d1759"}, "comparison_data": {"fields": [{"format": "Int32", "description": "Length of message contents in bytes, including self."}, {"format": "Int32(196608)", "description": "The protocol version number. The most significant 16 bits are the major version number (3 for the protocol described here). The least significant 16 bits are the minor version number (0 for the protocol described here)."}, {"format": "String", "description": "The parameter name. Currently recognized names are: user The database user name to connect as. Required; there is no default. database The database to connect to. Defaults to the user name. options Command-line arguments for the backend. (This is deprecated in favor of setting individual run-time parameters.) Spaces within this string are considered to separate arguments, unless escaped with a backslash ( \\ ); write \\\\ to represent a literal backslash. replication Used to connect in streaming replication mode, where a small set of replication commands can be issued instead of SQL statements. Value can be true , false , or database , and the default is false . See Section 55.4 for details. In addition to the above, other parameters may be listed. Parameter names beginning with _pq_. are reserved for use as protocol extensions, while others are treated as run-time parameters to be set at backend start time. Such settings will be applied during backend start (after parsing the command-line arguments if any) and will act as session defaults."}, {"format": "user", "description": "The database user name to connect as. Required; there is no default."}, {"format": "database", "description": "The database to connect to. Defaults to the user name."}, {"format": "options", "description": "Command-line arguments for the backend. (This is deprecated in favor of setting individual run-time parameters.) Spaces within this string are considered to separate arguments, unless escaped with a backslash ( \\ ); write \\\\ to represent a literal backslash."}, {"format": "replication", "description": "Used to connect in streaming replication mode, where a small set of replication commands can be issued instead of SQL statements. Value can be true , false , or database , and the default is false . See Section 55.4 for details."}, {"format": "String", "description": "The parameter value."}], "direction": "F"}, "comparison_hash": "e258e6a51b0066862593a9539b3c56d341220985be192f3cfb2a06ad96940c1a", "manual_language": "zh"}, "16": {"facts": [{"label": "\u65b9\u5411", "value": "\u524d\u7aef \u2192 \u540e\u7aef"}, {"label": "\u9996\u4e2a\u7ebf\u4e0a\u534f\u8bae\u5b57\u6bb5", "value": "Int32"}, {"label": "\u5b57\u6bb5\u6761\u76ee", "value": "8"}, {"label": "\u624b\u518c\u4e2d\u7684\u4ea4\u4e92\u9636\u6bb5", "value": "\u53d6\u6d88\u6b63\u5728\u6267\u884c\u7684\u8bf7\u6c42\uff1bSSL \u4f1a\u8bdd\u52a0\u5bc6\uff1bGSSAPI \u4f1a\u8bdd\u52a0\u5bc6"}], "fields": [{"format": "Int32", "description": "Length of message contents in bytes, including self."}, {"format": "Int32(196608)", "description": "The protocol version number. The most significant 16 bits are the major version number (3 for the protocol described here). The least significant 16 bits are the minor version number (0 for the protocol described here)."}, {"format": "String", "description": "The parameter name. Currently recognized names are: user The database user name to connect as. Required; there is no default. database The database to connect to. Defaults to the user name. options Command-line arguments for the backend. (This is deprecated in favor of setting individual run-time parameters.) Spaces within this string are considered to separate arguments, unless escaped with a backslash ( \\ ); write \\\\ to represent a literal backslash. replication Used to connect in streaming replication mode, where a small set of replication commands can be issued instead of SQL statements. Value can be true , false , or database , and the default is false . See Section 55.4 for details. In addition to the above, other parameters may be listed. Parameter names beginning with _pq_. are reserved for use as protocol extensions, while others are treated as run-time parameters to be set at backend start time. Such settings will be applied during backend start (after parsing the command-line arguments if any) and will act as session defaults."}, {"format": "user", "description": "The database user name to connect as. Required; there is no default."}, {"format": "database", "description": "The database to connect to. Defaults to the user name."}, {"format": "options", "description": "Command-line arguments for the backend. (This is deprecated in favor of setting individual run-time parameters.) Spaces within this string are considered to separate arguments, unless escaped with a backslash ( \\ ); write \\\\ to represent a literal backslash."}, {"format": "replication", "description": "Used to connect in streaming replication mode, where a small set of replication commands can be issued instead of SQL statements. Value can be true , false , or database , and the default is false . See Section 55.4 for details."}, {"format": "String", "description": "The parameter value."}], "tables": [{"key": "fields", "rows": [{"c0": "1", "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": "2", "c1": "Int32(196608)", "c2": "\u534f\u8bae\u7248\u672c\u53f7\u3002\u9ad8 16 \u4f4d\u4e3a\u4e3b\u7248\u672c\u53f7\uff08\u6b64\u5904\u63cf\u8ff0\u7684\u534f\u8bae\u4e3a 3\uff09\uff1b\u4f4e 16 \u4f4d\u4e3a\u6b21\u7248\u672c\u53f7\uff08\u6b64\u5904\u63cf\u8ff0\u7684\u534f\u8bae\u4e3a 0\uff09\u3002"}, {"c0": "3", "c1": "\u5b57\u7b26\u4e32", "c2": "\u53c2\u6570\u540d\u79f0\u3002\u76ee\u524d\u8bc6\u522b\u4ee5\u4e0b\u540d\u79f0\uff1auser \u4e3a\u8fde\u63a5\u6240\u7528\u7684\u6570\u636e\u5e93\u7528\u6237\u540d\uff0c\u5fc5\u586b\u4e14\u6ca1\u6709\u9ed8\u8ba4\u503c\uff1bdatabase \u4e3a\u8981\u8fde\u63a5\u7684\u6570\u636e\u5e93\uff0c\u9ed8\u8ba4\u4e3a\u7528\u6237\u540d\uff1boptions \u4e3a\u4f20\u7ed9\u540e\u7aef\u7684\u547d\u4ee4\u884c\u53c2\u6570\uff0c\u6b64\u7528\u6cd5\u5df2\u5f03\u7528\uff0c\u5efa\u8bae\u5355\u72ec\u8bbe\u7f6e\u5404\u8fd0\u884c\u65f6\u53c2\u6570\u3002options \u5b57\u7b26\u4e32\u4e2d\u7684\u7a7a\u683c\u7528\u4e8e\u5206\u9694\u53c2\u6570\uff0c\u9664\u975e\u7528\u53cd\u659c\u6760\uff08\\\uff09\u8f6c\u4e49\uff1b\u4e24\u4e2a\u53cd\u659c\u6760\uff08\\\\\uff09\u8868\u793a\u4e00\u4e2a\u5b57\u9762\u53cd\u659c\u6760\u3002replication \u7528\u4e8e\u4ee5\u6d41\u590d\u5236\u6a21\u5f0f\u8fde\u63a5\uff0c\u6b64\u65f6\u53ef\u6267\u884c\u5c11\u91cf\u590d\u5236\u547d\u4ee4\u800c\u975e SQL \u8bed\u53e5\uff0c\u5176\u503c\u53ef\u4e3a true\u3001false \u6216 database\uff0c\u9ed8\u8ba4\u4e3a false\uff0c\u8be6\u60c5\u53c2\u89c1\u7b2c 55.4 \u8282\u3002\u8fd8\u53ef\u4ee5\u5217\u51fa\u5176\u4ed6\u53c2\u6570\uff1a\u4ee5 _pq_. \u5f00\u5934\u7684\u540d\u79f0\u4fdd\u7559\u7ed9\u534f\u8bae\u6269\u5c55\uff0c\u5176\u4ed6\u540d\u79f0\u88ab\u89c6\u4e3a\u540e\u7aef\u542f\u52a8\u65f6\u8bbe\u7f6e\u7684\u8fd0\u884c\u65f6\u53c2\u6570\u3002\u8fd9\u4e9b\u8bbe\u7f6e\u5728\u540e\u7aef\u542f\u52a8\u65f6\uff08\u82e5\u6709\u547d\u4ee4\u884c\u53c2\u6570\uff0c\u5219\u5728\u5176\u89e3\u6790\u4e4b\u540e\uff09\u5e94\u7528\uff0c\u5e76\u4f5c\u4e3a\u4f1a\u8bdd\u9ed8\u8ba4\u503c\u3002"}, {"c0": "4", "c1": "user", "c2": "\u8981\u8fde\u63a5\u7684\u6570\u636e\u5e93\u7528\u6237\u540d\u79f0\u3002\u5fc5\u586b\u9879\uff1b\u6ca1\u6709\u9ed8\u8ba4\u503c\u3002"}, {"c0": "5", "c1": "database", "c2": "\u8981\u8fde\u63a5\u7684\u6570\u636e\u5e93\u3002\u9ed8\u8ba4\u4e3a\u7528\u6237\u540d\u3002"}, {"c0": "6", "c1": "options", "c2": "\u540e\u7aef\u7684\u547d\u4ee4\u884c\u53c2\u6570\u3002\uff08\u5df2\u5f03\u7528\uff0c\u5efa\u8bae\u8bbe\u7f6e\u5355\u72ec\u7684\u8fd0\u884c\u65f6\u53c2\u6570\u3002\uff09\u6b64\u5b57\u7b26\u4e32\u4e2d\u7684\u7a7a\u683c\u88ab\u89c6\u4e3a\u5206\u9694\u53c2\u6570\uff0c\u9664\u975e\u7528\u53cd\u659c\u6760\uff08 \\ \uff09\u8f6c\u4e49\uff1b\u5199 \\\\ \u8868\u793a\u5b57\u9762\u53cd\u659c\u6760\u3002"}, {"c0": "7", "c1": "replication", "c2": "\u7528\u4e8e\u4ee5\u6d41\u590d\u5236\u6a21\u5f0f\u8fde\u63a5\uff0c\u53ef\u4ee5\u53d1\u51fa\u4e00\u5c0f\u7ec4\u590d\u5236\u547d\u4ee4\u800c\u4e0d\u662fSQL\u8bed\u53e5\u3002\u503c\u53ef\u4ee5\u662f true \u3001 false \u6216 database \uff0c\u9ed8\u8ba4\u4e3a false \u3002\u8be6\u7ec6\u4fe1\u606f\u8bf7\u53c2\u89c1 \u7b2c 55.4 \u8282 \u3002"}, {"c0": "8", "c1": "\u5b57\u7b26\u4e32", "c2": "\u53c2\u6570\u503c\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-CANCELING-REQUESTS", "label": "\u53d6\u6d88\u6b63\u5728\u6267\u884c\u7684\u8bf7\u6c42"}, {"url": "/docs/16/protocol-flow.html#PROTOCOL-FLOW-SSL", "label": "SSL \u4f1a\u8bdd\u52a0\u5bc6"}, {"url": "/docs/16/protocol-flow.html#PROTOCOL-FLOW-GSSAPI", "label": "GSSAPI \u4f1a\u8bdd\u52a0\u5bc6"}], "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": "https://pg.center/docs/16/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS-STARTUPMESSAGE", "path": "protocol-message-formats.html", "label": "PostgreSQL 16 English manual", "sha256": "c15646b30727f469cdac3bd411e50dc9b14ee85982a9c9c8a2b3e16449b39a46", "language": "en", "original_url": "/docs/16/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS-STARTUPMESSAGE"}], "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"]}], "direction": "F", "signature": "StartupMessage (F)", "description": ["StartupMessage \u662f\u524d\u7aef\u534f\u8bae\u6d88\u606f\u3002\u6d88\u606f\u5185\u5bb9\u957f\u5ea6\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff0c\u5305\u542b\u957f\u5ea6\u5b57\u6bb5\u672c\u8eab\u3002"], "manual_html": "<dl><dd>\n<div class=\"variablelist\">\n<dl class=\"variablelist\">\n<dt><span class=\"term\">Int32</span></dt>\n<dd>\n<p lang=\"zh\">\n<p>\u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002</p>\n</p>\n</dd>\n<dt><span class=\"term\">Int32(196608)</span></dt>\n<dd>\n<p lang=\"zh\">\n<p>\u534f\u8bae\u7248\u672c\u53f7\u3002\u9ad8 16 \u4f4d\u4e3a\u4e3b\u7248\u672c\u53f7\uff08\u6b64\u5904\u63cf\u8ff0\u7684\u534f\u8bae\u4e3a 3\uff09\uff1b\u4f4e 16 \u4f4d\u4e3a\u6b21\u7248\u672c\u53f7\uff08\u6b64\u5904\u63cf\u8ff0\u7684\u534f\u8bae\u4e3a 0\uff09\u3002</p>\n</p>\n</dd>\n</dl>\n</div>\n<p lang=\"zh\">\u534f\u8bae\u7248\u672c\u53f7\u4e4b\u540e\u662f\u4e00\u4e2a\u6216\u591a\u4e2a\u53c2\u6570\u540d\u4e0e\u53c2\u6570\u503c\u5b57\u7b26\u4e32\u5bf9\u3002\u6700\u540e\u4e00\u4e2a\u540d\u79f0/\u503c\u5bf9\u4e4b\u540e\u5fc5\u987b\u6709\u4e00\u4e2a\u96f6\u5b57\u8282\u4f5c\u4e3a\u7ec8\u6b62\u7b26\u3002\u53c2\u6570\u53ef\u4ee5\u6309\u4efb\u610f\u987a\u5e8f\u51fa\u73b0\u3002\u5176\u4e2d\uff0c<code class=\"literal\">user</code>\u662f\u5fc5\u9700\u7684\uff0c\u5176\u4f59\u5747\u4e3a\u53ef\u9009\u3002\u6bcf\u4e2a\u53c2\u6570\u6309\u4ee5\u4e0b\u65b9\u5f0f\u6307\u5b9a\uff1a</p>\n<div class=\"variablelist\">\n<dl class=\"variablelist\">\n<dt lang=\"zh\">\u5b57\u7b26\u4e32</dt>\n<dd>\n<p lang=\"zh\">\u53c2\u6570\u540d\u79f0\u3002\u76ee\u524d\u80fd\u591f\u8bc6\u522b\u7684\u540d\u79f0\u5982\u4e0b\uff1a</p>\n<div class=\"variablelist\">\n<dl class=\"variablelist\">\n<dt><span class=\"term\"><code class=\"literal\">user</code></span></dt>\n<dd>\n<p lang=\"zh\">\n<p>\u8981\u8fde\u63a5\u7684\u6570\u636e\u5e93\u7528\u6237\u540d\u79f0\u3002\u5fc5\u586b\u9879\uff1b\u6ca1\u6709\u9ed8\u8ba4\u503c\u3002</p>\n</p>\n</dd>\n<dt><span class=\"term\"><code class=\"literal\">database</code></span></dt>\n<dd>\n<p lang=\"zh\">\n<p>\u8981\u8fde\u63a5\u7684\u6570\u636e\u5e93\u3002\u9ed8\u8ba4\u4e3a\u7528\u6237\u540d\u3002</p>\n</p>\n</dd>\n<dt><span class=\"term\"><code class=\"literal\">options</code></span></dt>\n<dd>\n<p lang=\"zh\">\n<p>\u540e\u7aef\u7684\u547d\u4ee4\u884c\u53c2\u6570\u3002\uff08\u5df2\u5f03\u7528\uff0c\u5efa\u8bae\u8bbe\u7f6e\u5355\u72ec\u7684\u8fd0\u884c\u65f6\u53c2\u6570\u3002\uff09\u6b64\u5b57\u7b26\u4e32\u4e2d\u7684\u7a7a\u683c\u88ab\u89c6\u4e3a\u5206\u9694\u53c2\u6570\uff0c\u9664\u975e\u7528\u53cd\u659c\u6760\uff08<code class=\"literal\">\\</code>\uff09\u8f6c\u4e49\uff1b\u5199<code class=\"literal\">\\\\</code>\u8868\u793a\u5b57\u9762\u53cd\u659c\u6760\u3002</p>\n</p>\n</dd>\n<dt><span class=\"term\"><code class=\"literal\">replication</code></span></dt>\n<dd>\n<p lang=\"zh\">\n<p>\u7528\u4e8e\u4ee5\u6d41\u590d\u5236\u6a21\u5f0f\u8fde\u63a5\uff0c\u53ef\u4ee5\u53d1\u51fa\u4e00\u5c0f\u7ec4\u590d\u5236\u547d\u4ee4\u800c\u4e0d\u662fSQL\u8bed\u53e5\u3002\u503c\u53ef\u4ee5\u662f<code class=\"literal\">true</code>\u3001<code class=\"literal\">false</code>\u6216<code class=\"literal\">database</code>\uff0c\u9ed8\u8ba4\u4e3a<code class=\"literal\">false</code>\u3002\u8be6\u7ec6\u4fe1\u606f\u8bf7\u53c2\u89c1<a class=\"xref\" href=\"/docs/16/protocol-replication.html\" title=\"55.4.\u00a0\u6d41\u590d\u5236\u534f\u8bae\">\u7b2c\u00a055.4\u00a0\u8282</a>\u3002</p>\n</p>\n</dd>\n</dl>\n</div>\n<p lang=\"zh\">\u9664\u4e0a\u8ff0\u53c2\u6570\u5916\uff0c\u8fd8\u53ef\u4ee5\u5217\u51fa\u5176\u4ed6\u53c2\u6570\u3002\u4ee5<code class=\"literal\">_pq_.</code>\u5f00\u5934\u7684\u53c2\u6570\u540d\u79f0\u4fdd\u7559\u7528\u4e8e\u534f\u8bae\u6269\u5c55\uff0c\u5176\u4f59\u53c2\u6570\u5219\u4f5c\u4e3a\u8fd0\u884c\u65f6\u53c2\u6570\uff0c\u5728\u540e\u7aef\u542f\u52a8\u65f6\u8bbe\u7f6e\u3002\u8fd9\u4e9b\u8bbe\u7f6e\u4f1a\u5728\u540e\u7aef\u542f\u52a8\u671f\u95f4\u5e94\u7528\uff08\u5728\u89e3\u6790\u547d\u4ee4\u884c\u53c2\u6570\u4e4b\u540e\uff0c\u5982\u679c\u6709\u7684\u8bdd\uff09\uff0c\u5e76\u4f5c\u4e3a\u4f1a\u8bdd\u9ed8\u8ba4\u503c\u3002</p>\n</dd>\n<dt lang=\"zh\">\u5b57\u7b26\u4e32</dt>\n<dd>\n<p lang=\"zh\">\n<p>\u53c2\u6570\u503c\u3002</p>\n</p>\n</dd>\n</dl>\n</div>\n</dd></dl>", "manual_path": "/docs/16/protocol-message-formats.html", "localization": {"status": "complete", "sources": [{"url": "/docs/16/datatype-json.html", "method": "same-major semantic node", "sha256": "4d3ca6065016169a03abc9b3a57654fda5765ebb94074fa4eb578485f6807205", "language": "zh", "matched_nodes": ["#DATATYPE-JSON/div[19]/pre[27]/em[4]/code[0]"]}, {"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[99]/div[0]/dl[0]/dd[3]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[99]/div[2]/dl[0]/dd[1]/div[1]/dl[0]/dd[1]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[99]/div[2]/dl[0]/dd[1]/div[1]/dl[0]/dd[3]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[99]/div[2]/dl[0]/dd[1]/div[1]/dl[0]/dd[5]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[99]/div[2]/dl[0]/dd[1]/div[1]/dl[0]/dd[7]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[99]/div[2]/dl[0]/dd[1]/p[0]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[99]/div[2]/dl[0]/dd[1]/p[2]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[99]/div[2]/dl[0]/dd[3]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[99]/p[1]"]}], "language": "zh", "original_text": {"/versions/16/description/0": "StartupMessage is a frontend protocol message. Length of message contents in bytes, including self.", "/versions/16/facts/0/label": "Direction", "/versions/16/facts/0/value": "Frontend \u2192 backend", "/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": "Canceling Requests in Progress; SSL Session Encryption; GSSAPI Session Encryption", "/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": "Canceling Requests in Progress", "/versions/16/related/3/label": "SSL Session Encryption", "/versions/16/related/4/label": "GSSAPI Session Encryption", "/versions/16/sections/0/title": "Framing and repetition", "/versions/16/tables/0/rows/0/c2": "Length of message contents in bytes, including self.", "/versions/16/tables/0/rows/1/c2": "The protocol version number. The most significant 16 bits are the major version number (3 for the protocol described here). The least significant 16 bits are the minor version number (0 for the protocol described here).", "/versions/16/tables/0/rows/2/c1": "String", "/versions/16/tables/0/rows/2/c2": "The parameter name. Currently recognized names are: user The database user name to connect as. Required; there is no default. database The database to connect to. Defaults to the user name. options Command-line arguments for the backend. (This is deprecated in favor of setting individual run-time parameters.) Spaces within this string are considered to separate arguments, unless escaped with a backslash ( \\ ); write \\\\ to represent a literal backslash. replication Used to connect in streaming replication mode, where a small set of replication commands can be issued instead of SQL statements. Value can be true , false , or database , and the default is false . See Section 55.4 for details. In addition to the above, other parameters may be listed. Parameter names beginning with _pq_. are reserved for use as protocol extensions, while others are treated as run-time parameters to be set at backend start time. Such settings will be applied during backend start (after parsing the command-line arguments if any) and will act as session defaults.", "/versions/16/tables/0/rows/3/c2": "The database user name to connect as. Required; there is no default.", "/versions/16/tables/0/rows/4/c2": "The database to connect to. Defaults to the user name.", "/versions/16/tables/0/rows/5/c2": "Command-line arguments for the backend. (This is deprecated in favor of setting individual run-time parameters.) Spaces within this string are considered to separate arguments, unless escaped with a backslash ( \\ ); write \\\\ to represent a literal backslash.", "/versions/16/tables/0/rows/6/c2": "Used to connect in streaming replication mode, where a small set of replication commands can be issued instead of SQL statements. Value can be true , false , or database , and the default is false . See Section 55.4 for details.", "/versions/16/tables/0/rows/7/c1": "String", "/versions/16/tables/0/rows/7/c2": "The parameter value.", "/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": "179e6db8dbc747e2f86037b335c8238f3980e036b95a7bd5c6622f71e2641fac"}, "comparison_data": {"fields": [{"format": "Int32", "description": "Length of message contents in bytes, including self."}, {"format": "Int32(196608)", "description": "The protocol version number. The most significant 16 bits are the major version number (3 for the protocol described here). The least significant 16 bits are the minor version number (0 for the protocol described here)."}, {"format": "String", "description": "The parameter name. Currently recognized names are: user The database user name to connect as. Required; there is no default. database The database to connect to. Defaults to the user name. options Command-line arguments for the backend. (This is deprecated in favor of setting individual run-time parameters.) Spaces within this string are considered to separate arguments, unless escaped with a backslash ( \\ ); write \\\\ to represent a literal backslash. replication Used to connect in streaming replication mode, where a small set of replication commands can be issued instead of SQL statements. Value can be true , false , or database , and the default is false . See Section 55.4 for details. In addition to the above, other parameters may be listed. Parameter names beginning with _pq_. are reserved for use as protocol extensions, while others are treated as run-time parameters to be set at backend start time. Such settings will be applied during backend start (after parsing the command-line arguments if any) and will act as session defaults."}, {"format": "user", "description": "The database user name to connect as. Required; there is no default."}, {"format": "database", "description": "The database to connect to. Defaults to the user name."}, {"format": "options", "description": "Command-line arguments for the backend. (This is deprecated in favor of setting individual run-time parameters.) Spaces within this string are considered to separate arguments, unless escaped with a backslash ( \\ ); write \\\\ to represent a literal backslash."}, {"format": "replication", "description": "Used to connect in streaming replication mode, where a small set of replication commands can be issued instead of SQL statements. Value can be true , false , or database , and the default is false . See Section 55.4 for details."}, {"format": "String", "description": "The parameter value."}], "direction": "F"}, "comparison_hash": "e258e6a51b0066862593a9539b3c56d341220985be192f3cfb2a06ad96940c1a", "manual_language": "zh"}, "17": {"facts": [{"label": "\u65b9\u5411", "value": "\u524d\u7aef \u2192 \u540e\u7aef"}, {"label": "\u9996\u4e2a\u7ebf\u4e0a\u534f\u8bae\u5b57\u6bb5", "value": "Int32"}, {"label": "\u5b57\u6bb5\u6761\u76ee", "value": "8"}, {"label": "\u624b\u518c\u4e2d\u7684\u4ea4\u4e92\u9636\u6bb5", "value": "\u53d6\u6d88\u6b63\u5728\u6267\u884c\u7684\u8bf7\u6c42\uff1bSSL \u4f1a\u8bdd\u52a0\u5bc6\uff1bGSSAPI \u4f1a\u8bdd\u52a0\u5bc6"}], "fields": [{"format": "Int32", "description": "Length of message contents in bytes, including self."}, {"format": "Int32(196608)", "description": "The protocol version number. The most significant 16 bits are the major version number (3 for the protocol described here). The least significant 16 bits are the minor version number (0 for the protocol described here)."}, {"format": "String", "description": "The parameter name. Currently recognized names are: user The database user name to connect as. Required; there is no default. database The database to connect to. Defaults to the user name. options Command-line arguments for the backend. (This is deprecated in favor of setting individual run-time parameters.) Spaces within this string are considered to separate arguments, unless escaped with a backslash ( \\ ); write \\\\ to represent a literal backslash. replication Used to connect in streaming replication mode, where a small set of replication commands can be issued instead of SQL statements. Value can be true , false , or database , and the default is false . See Section 53.4 for details. In addition to the above, other parameters may be listed. Parameter names beginning with _pq_. are reserved for use as protocol extensions, while others are treated as run-time parameters to be set at backend start time. Such settings will be applied during backend start (after parsing the command-line arguments if any) and will act as session defaults."}, {"format": "user", "description": "The database user name to connect as. Required; there is no default."}, {"format": "database", "description": "The database to connect to. Defaults to the user name."}, {"format": "options", "description": "Command-line arguments for the backend. (This is deprecated in favor of setting individual run-time parameters.) Spaces within this string are considered to separate arguments, unless escaped with a backslash ( \\ ); write \\\\ to represent a literal backslash."}, {"format": "replication", "description": "Used to connect in streaming replication mode, where a small set of replication commands can be issued instead of SQL statements. Value can be true , false , or database , and the default is false . See Section 53.4 for details."}, {"format": "String", "description": "The parameter value."}], "tables": [{"key": "fields", "rows": [{"c0": "1", "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": "2", "c1": "Int32(196608)", "c2": "\u534f\u8bae\u7248\u672c\u53f7\u3002\u9ad8 16 \u4f4d\u4e3a\u4e3b\u7248\u672c\u53f7\uff08\u6b64\u5904\u63cf\u8ff0\u7684\u534f\u8bae\u4e3a 3\uff09\uff1b\u4f4e 16 \u4f4d\u4e3a\u6b21\u7248\u672c\u53f7\uff08\u6b64\u5904\u63cf\u8ff0\u7684\u534f\u8bae\u4e3a 0\uff09\u3002"}, {"c0": "3", "c1": "\u5b57\u7b26\u4e32", "c2": "\u53c2\u6570\u540d\u79f0\u3002\u76ee\u524d\u8bc6\u522b\u4ee5\u4e0b\u540d\u79f0\uff1auser \u4e3a\u8fde\u63a5\u6240\u7528\u7684\u6570\u636e\u5e93\u7528\u6237\u540d\uff0c\u5fc5\u586b\u4e14\u6ca1\u6709\u9ed8\u8ba4\u503c\uff1bdatabase \u4e3a\u8981\u8fde\u63a5\u7684\u6570\u636e\u5e93\uff0c\u9ed8\u8ba4\u4e3a\u7528\u6237\u540d\uff1boptions \u4e3a\u4f20\u7ed9\u540e\u7aef\u7684\u547d\u4ee4\u884c\u53c2\u6570\uff0c\u6b64\u7528\u6cd5\u5df2\u5f03\u7528\uff0c\u5efa\u8bae\u5355\u72ec\u8bbe\u7f6e\u5404\u8fd0\u884c\u65f6\u53c2\u6570\u3002options \u5b57\u7b26\u4e32\u4e2d\u7684\u7a7a\u683c\u7528\u4e8e\u5206\u9694\u53c2\u6570\uff0c\u9664\u975e\u7528\u53cd\u659c\u6760\uff08\\\uff09\u8f6c\u4e49\uff1b\u4e24\u4e2a\u53cd\u659c\u6760\uff08\\\\\uff09\u8868\u793a\u4e00\u4e2a\u5b57\u9762\u53cd\u659c\u6760\u3002replication \u7528\u4e8e\u4ee5\u6d41\u590d\u5236\u6a21\u5f0f\u8fde\u63a5\uff0c\u6b64\u65f6\u53ef\u6267\u884c\u5c11\u91cf\u590d\u5236\u547d\u4ee4\u800c\u975e SQL \u8bed\u53e5\uff0c\u5176\u503c\u53ef\u4e3a true\u3001false \u6216 database\uff0c\u9ed8\u8ba4\u4e3a false\uff0c\u8be6\u60c5\u53c2\u89c1\u7b2c 53.4 \u8282\u3002\u8fd8\u53ef\u4ee5\u5217\u51fa\u5176\u4ed6\u53c2\u6570\uff1a\u4ee5 _pq_. \u5f00\u5934\u7684\u540d\u79f0\u4fdd\u7559\u7ed9\u534f\u8bae\u6269\u5c55\uff0c\u5176\u4ed6\u540d\u79f0\u88ab\u89c6\u4e3a\u540e\u7aef\u542f\u52a8\u65f6\u8bbe\u7f6e\u7684\u8fd0\u884c\u65f6\u53c2\u6570\u3002\u8fd9\u4e9b\u8bbe\u7f6e\u5728\u540e\u7aef\u542f\u52a8\u65f6\uff08\u82e5\u6709\u547d\u4ee4\u884c\u53c2\u6570\uff0c\u5219\u5728\u5176\u89e3\u6790\u4e4b\u540e\uff09\u5e94\u7528\uff0c\u5e76\u4f5c\u4e3a\u4f1a\u8bdd\u9ed8\u8ba4\u503c\u3002"}, {"c0": "4", "c1": "user", "c2": "\u8981\u8fde\u63a5\u7684\u6570\u636e\u5e93\u7528\u6237\u540d\u79f0\u3002\u5fc5\u586b\u9879\uff1b\u6ca1\u6709\u9ed8\u8ba4\u503c\u3002"}, {"c0": "5", "c1": "database", "c2": "\u8981\u8fde\u63a5\u7684\u6570\u636e\u5e93\u3002\u9ed8\u8ba4\u4e3a\u7528\u6237\u540d\u3002"}, {"c0": "6", "c1": "options", "c2": "\u540e\u7aef\u7684\u547d\u4ee4\u884c\u53c2\u6570\u3002\uff08\u5df2\u5f03\u7528\uff0c\u5efa\u8bae\u8bbe\u7f6e\u5355\u72ec\u7684\u8fd0\u884c\u65f6\u53c2\u6570\u3002\uff09\u6b64\u5b57\u7b26\u4e32\u4e2d\u7684\u7a7a\u683c\u88ab\u89c6\u4e3a\u5206\u9694\u53c2\u6570\uff0c\u9664\u975e\u7528\u53cd\u659c\u6760\uff08 \\ \uff09\u8f6c\u4e49\uff1b\u5199 \\\\ \u8868\u793a\u5b57\u9762\u53cd\u659c\u6760\u3002"}, {"c0": "7", "c1": "replication", "c2": "\u7528\u4e8e\u4ee5\u6d41\u590d\u5236\u6a21\u5f0f\u8fde\u63a5\uff0c\u53ef\u4ee5\u53d1\u51fa\u4e00\u5c0f\u7ec4\u590d\u5236\u547d\u4ee4\u800c\u4e0d\u662fSQL\u8bed\u53e5\u3002\u503c\u53ef\u4ee5\u662f true \u3001 false \u6216 database \uff0c\u9ed8\u8ba4\u4e3a false \u3002\u8be6\u7ec6\u4fe1\u606f\u8bf7\u53c2\u89c1 \u7b2c 53.4 \u8282 \u3002"}, {"c0": "8", "c1": "\u5b57\u7b26\u4e32", "c2": "\u53c2\u6570\u503c\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-CANCELING-REQUESTS", "label": "\u53d6\u6d88\u6b63\u5728\u6267\u884c\u7684\u8bf7\u6c42"}, {"url": "/docs/17/protocol-flow.html#PROTOCOL-FLOW-SSL", "label": "SSL \u4f1a\u8bdd\u52a0\u5bc6"}, {"url": "/docs/17/protocol-flow.html#PROTOCOL-FLOW-GSSAPI", "label": "GSSAPI \u4f1a\u8bdd\u52a0\u5bc6"}], "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": "https://pg.center/docs/17/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS-STARTUPMESSAGE", "path": "protocol-message-formats.html", "label": "PostgreSQL 17 English manual", "sha256": "3c0e7b8a1a8f7ec5026226eab83d6704b7c5199ec9ba1aaaf91ea517609eed4e", "language": "en", "original_url": "/docs/17/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS-STARTUPMESSAGE"}], "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"]}], "direction": "F", "signature": "StartupMessage (F)", "description": ["StartupMessage \u662f\u524d\u7aef\u534f\u8bae\u6d88\u606f\u3002\u6d88\u606f\u5185\u5bb9\u957f\u5ea6\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff0c\u5305\u542b\u957f\u5ea6\u5b57\u6bb5\u672c\u8eab\u3002"], "manual_html": "<dl><dd>\n<div class=\"variablelist\">\n<dl class=\"variablelist\">\n<dt><span class=\"term\">Int32</span></dt>\n<dd>\n<p lang=\"zh\">\n<p>\u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002</p>\n</p>\n</dd>\n<dt><span class=\"term\">Int32(196608)</span></dt>\n<dd>\n<p lang=\"zh\">\n<p>\u534f\u8bae\u7248\u672c\u53f7\u3002\u9ad8 16 \u4f4d\u4e3a\u4e3b\u7248\u672c\u53f7\uff08\u6b64\u5904\u63cf\u8ff0\u7684\u534f\u8bae\u4e3a 3\uff09\uff1b\u4f4e 16 \u4f4d\u4e3a\u6b21\u7248\u672c\u53f7\uff08\u6b64\u5904\u63cf\u8ff0\u7684\u534f\u8bae\u4e3a 0\uff09\u3002</p>\n</p>\n</dd>\n</dl>\n</div>\n<p lang=\"zh\">\u534f\u8bae\u7248\u672c\u53f7\u4e4b\u540e\u662f\u4e00\u4e2a\u6216\u591a\u4e2a\u53c2\u6570\u540d\u4e0e\u53c2\u6570\u503c\u5b57\u7b26\u4e32\u5bf9\u3002\u6700\u540e\u4e00\u4e2a\u540d\u79f0/\u503c\u5bf9\u4e4b\u540e\u5fc5\u987b\u6709\u4e00\u4e2a\u96f6\u5b57\u8282\u4f5c\u4e3a\u7ec8\u6b62\u7b26\u3002\u53c2\u6570\u53ef\u4ee5\u6309\u4efb\u610f\u987a\u5e8f\u51fa\u73b0\u3002\u5176\u4e2d\uff0c<code class=\"literal\">user</code>\u662f\u5fc5\u9700\u7684\uff0c\u5176\u4f59\u5747\u4e3a\u53ef\u9009\u3002\u6bcf\u4e2a\u53c2\u6570\u6309\u4ee5\u4e0b\u65b9\u5f0f\u6307\u5b9a\uff1a</p>\n<div class=\"variablelist\">\n<dl class=\"variablelist\">\n<dt lang=\"zh\">\u5b57\u7b26\u4e32</dt>\n<dd>\n<p lang=\"zh\">\u53c2\u6570\u540d\u79f0\u3002\u76ee\u524d\u80fd\u591f\u8bc6\u522b\u7684\u540d\u79f0\u5982\u4e0b\uff1a</p>\n<div class=\"variablelist\">\n<dl class=\"variablelist\">\n<dt><span class=\"term\"><code class=\"literal\">user</code></span></dt>\n<dd>\n<p lang=\"zh\">\n<p>\u8981\u8fde\u63a5\u7684\u6570\u636e\u5e93\u7528\u6237\u540d\u79f0\u3002\u5fc5\u586b\u9879\uff1b\u6ca1\u6709\u9ed8\u8ba4\u503c\u3002</p>\n</p>\n</dd>\n<dt><span class=\"term\"><code class=\"literal\">database</code></span></dt>\n<dd>\n<p lang=\"zh\">\n<p>\u8981\u8fde\u63a5\u7684\u6570\u636e\u5e93\u3002\u9ed8\u8ba4\u4e3a\u7528\u6237\u540d\u3002</p>\n</p>\n</dd>\n<dt><span class=\"term\"><code class=\"literal\">options</code></span></dt>\n<dd>\n<p lang=\"zh\">\n<p>\u540e\u7aef\u7684\u547d\u4ee4\u884c\u53c2\u6570\u3002\uff08\u5df2\u5f03\u7528\uff0c\u5efa\u8bae\u8bbe\u7f6e\u5355\u72ec\u7684\u8fd0\u884c\u65f6\u53c2\u6570\u3002\uff09\u6b64\u5b57\u7b26\u4e32\u4e2d\u7684\u7a7a\u683c\u88ab\u89c6\u4e3a\u5206\u9694\u53c2\u6570\uff0c\u9664\u975e\u7528\u53cd\u659c\u6760\uff08<code class=\"literal\">\\</code>\uff09\u8f6c\u4e49\uff1b\u5199<code class=\"literal\">\\\\</code>\u8868\u793a\u5b57\u9762\u53cd\u659c\u6760\u3002</p>\n</p>\n</dd>\n<dt><span class=\"term\"><code class=\"literal\">replication</code></span></dt>\n<dd>\n<p lang=\"zh\">\n<p>\u7528\u4e8e\u4ee5\u6d41\u590d\u5236\u6a21\u5f0f\u8fde\u63a5\uff0c\u53ef\u4ee5\u53d1\u51fa\u4e00\u5c0f\u7ec4\u590d\u5236\u547d\u4ee4\u800c\u4e0d\u662fSQL\u8bed\u53e5\u3002\u503c\u53ef\u4ee5\u662f<code class=\"literal\">true</code>\u3001<code class=\"literal\">false</code>\u6216<code class=\"literal\">database</code>\uff0c\u9ed8\u8ba4\u4e3a<code class=\"literal\">false</code>\u3002\u8be6\u7ec6\u4fe1\u606f\u8bf7\u53c2\u89c1<a class=\"xref\" href=\"/docs/17/protocol-replication.html\" title=\"53.4.\u00a0\u6d41\u590d\u5236\u534f\u8bae\">\u7b2c\u00a053.4\u00a0\u8282</a>\u3002</p>\n</p>\n</dd>\n</dl>\n</div>\n<p lang=\"zh\">\u9664\u4e0a\u8ff0\u53c2\u6570\u5916\uff0c\u8fd8\u53ef\u4ee5\u5217\u51fa\u5176\u4ed6\u53c2\u6570\u3002\u4ee5<code class=\"literal\">_pq_.</code>\u5f00\u5934\u7684\u53c2\u6570\u540d\u79f0\u4fdd\u7559\u7528\u4e8e\u534f\u8bae\u6269\u5c55\uff0c\u5176\u4f59\u53c2\u6570\u5219\u4f5c\u4e3a\u8fd0\u884c\u65f6\u53c2\u6570\uff0c\u5728\u540e\u7aef\u542f\u52a8\u65f6\u8bbe\u7f6e\u3002\u8fd9\u4e9b\u8bbe\u7f6e\u4f1a\u5728\u540e\u7aef\u542f\u52a8\u671f\u95f4\u5e94\u7528\uff08\u5728\u89e3\u6790\u547d\u4ee4\u884c\u53c2\u6570\u4e4b\u540e\uff0c\u5982\u679c\u6709\u7684\u8bdd\uff09\uff0c\u5e76\u4f5c\u4e3a\u4f1a\u8bdd\u9ed8\u8ba4\u503c\u3002</p>\n</dd>\n<dt lang=\"zh\">\u5b57\u7b26\u4e32</dt>\n<dd>\n<p lang=\"zh\">\n<p>\u53c2\u6570\u503c\u3002</p>\n</p>\n</dd>\n</dl>\n</div>\n</dd></dl>", "manual_path": "/docs/17/protocol-message-formats.html", "localization": {"status": "complete", "sources": [{"url": "/docs/17/datatype-json.html", "method": "same-major semantic node", "sha256": "8d2627b39aa9ad8449221de824f0c89af32197e8db7972fbc03b43dfcd0e9a93", "language": "zh", "matched_nodes": ["#DATATYPE-JSON/div[19]/pre[27]/em[4]/code[0]"]}, {"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[99]/div[0]/dl[0]/dd[3]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[99]/div[2]/dl[0]/dd[1]/div[1]/dl[0]/dd[1]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[99]/div[2]/dl[0]/dd[1]/div[1]/dl[0]/dd[3]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[99]/div[2]/dl[0]/dd[1]/div[1]/dl[0]/dd[5]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[99]/div[2]/dl[0]/dd[1]/div[1]/dl[0]/dd[7]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[99]/div[2]/dl[0]/dd[1]/p[0]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[99]/div[2]/dl[0]/dd[1]/p[2]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[99]/div[2]/dl[0]/dd[3]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[99]/p[1]"]}], "language": "zh", "original_text": {"/versions/17/description/0": "StartupMessage is a frontend protocol message. Length of message contents in bytes, including self.", "/versions/17/facts/0/label": "Direction", "/versions/17/facts/0/value": "Frontend \u2192 backend", "/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": "Canceling Requests in Progress; SSL Session Encryption; GSSAPI Session Encryption", "/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": "Canceling Requests in Progress", "/versions/17/related/3/label": "SSL Session Encryption", "/versions/17/related/4/label": "GSSAPI Session Encryption", "/versions/17/sections/0/title": "Framing and repetition", "/versions/17/tables/0/rows/0/c2": "Length of message contents in bytes, including self.", "/versions/17/tables/0/rows/1/c2": "The protocol version number. The most significant 16 bits are the major version number (3 for the protocol described here). The least significant 16 bits are the minor version number (0 for the protocol described here).", "/versions/17/tables/0/rows/2/c1": "String", "/versions/17/tables/0/rows/2/c2": "The parameter name. Currently recognized names are: user The database user name to connect as. Required; there is no default. database The database to connect to. Defaults to the user name. options Command-line arguments for the backend. (This is deprecated in favor of setting individual run-time parameters.) Spaces within this string are considered to separate arguments, unless escaped with a backslash ( \\ ); write \\\\ to represent a literal backslash. replication Used to connect in streaming replication mode, where a small set of replication commands can be issued instead of SQL statements. Value can be true , false , or database , and the default is false . See Section 53.4 for details. In addition to the above, other parameters may be listed. Parameter names beginning with _pq_. are reserved for use as protocol extensions, while others are treated as run-time parameters to be set at backend start time. Such settings will be applied during backend start (after parsing the command-line arguments if any) and will act as session defaults.", "/versions/17/tables/0/rows/3/c2": "The database user name to connect as. Required; there is no default.", "/versions/17/tables/0/rows/4/c2": "The database to connect to. Defaults to the user name.", "/versions/17/tables/0/rows/5/c2": "Command-line arguments for the backend. (This is deprecated in favor of setting individual run-time parameters.) Spaces within this string are considered to separate arguments, unless escaped with a backslash ( \\ ); write \\\\ to represent a literal backslash.", "/versions/17/tables/0/rows/6/c2": "Used to connect in streaming replication mode, where a small set of replication commands can be issued instead of SQL statements. Value can be true , false , or database , and the default is false . See Section 53.4 for details.", "/versions/17/tables/0/rows/7/c1": "String", "/versions/17/tables/0/rows/7/c2": "The parameter value.", "/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": "41e5bde48515f35bf1ac33073be59fd17403c8490e51c0a29150341ea7533e51"}, "comparison_data": {"fields": [{"format": "Int32", "description": "Length of message contents in bytes, including self."}, {"format": "Int32(196608)", "description": "The protocol version number. The most significant 16 bits are the major version number (3 for the protocol described here). The least significant 16 bits are the minor version number (0 for the protocol described here)."}, {"format": "String", "description": "The parameter name. Currently recognized names are: user The database user name to connect as. Required; there is no default. database The database to connect to. Defaults to the user name. options Command-line arguments for the backend. (This is deprecated in favor of setting individual run-time parameters.) Spaces within this string are considered to separate arguments, unless escaped with a backslash ( \\ ); write \\\\ to represent a literal backslash. replication Used to connect in streaming replication mode, where a small set of replication commands can be issued instead of SQL statements. Value can be true , false , or database , and the default is false . See Section 53.4 for details. In addition to the above, other parameters may be listed. Parameter names beginning with _pq_. are reserved for use as protocol extensions, while others are treated as run-time parameters to be set at backend start time. Such settings will be applied during backend start (after parsing the command-line arguments if any) and will act as session defaults."}, {"format": "user", "description": "The database user name to connect as. Required; there is no default."}, {"format": "database", "description": "The database to connect to. Defaults to the user name."}, {"format": "options", "description": "Command-line arguments for the backend. (This is deprecated in favor of setting individual run-time parameters.) Spaces within this string are considered to separate arguments, unless escaped with a backslash ( \\ ); write \\\\ to represent a literal backslash."}, {"format": "replication", "description": "Used to connect in streaming replication mode, where a small set of replication commands can be issued instead of SQL statements. Value can be true , false , or database , and the default is false . See Section 53.4 for details."}, {"format": "String", "description": "The parameter value."}], "direction": "F"}, "comparison_hash": "bcfe2a9d0912c977ac383c8a67059748f2ed01142bddd6db754f1cf6eb013fa7", "manual_language": "zh"}, "18": {"facts": [{"label": "\u65b9\u5411", "value": "\u524d\u7aef \u2192 \u540e\u7aef"}, {"label": "\u9996\u4e2a\u7ebf\u4e0a\u534f\u8bae\u5b57\u6bb5", "value": "Int32"}, {"label": "\u5b57\u6bb5\u6761\u76ee", "value": "8"}, {"label": "\u624b\u518c\u4e2d\u7684\u4ea4\u4e92\u9636\u6bb5", "value": "\u53d6\u6d88\u6b63\u5728\u6267\u884c\u7684\u8bf7\u6c42\uff1bSSL \u4f1a\u8bdd\u52a0\u5bc6\uff1bGSSAPI \u4f1a\u8bdd\u52a0\u5bc6"}], "fields": [{"format": "Int32", "description": "Length of message contents in bytes, including self."}, {"format": "Int32(196610)", "description": "The protocol version number. The most significant 16 bits are the major version number (3 for the protocol described here). The least significant 16 bits are the minor version number (2 for the protocol described here)."}, {"format": "String", "description": "The parameter name. Currently recognized names are: user The database user name to connect as. Required; there is no default. database The database to connect to. Defaults to the user name. options Command-line arguments for the backend. (This is deprecated in favor of setting individual run-time parameters.) Spaces within this string are considered to separate arguments, unless escaped with a backslash ( \\ ); write \\\\ to represent a literal backslash. replication Used to connect in streaming replication mode, where a small set of replication commands can be issued instead of SQL statements. Value can be true , false , or database , and the default is false . See Section 54.4 for details. In addition to the above, other parameters may be listed. Parameter names beginning with _pq_. are reserved for use as protocol extensions, while others are treated as run-time parameters to be set at backend start time. Such settings will be applied during backend start (after parsing the command-line arguments if any) and will act as session defaults."}, {"format": "user", "description": "The database user name to connect as. Required; there is no default."}, {"format": "database", "description": "The database to connect to. Defaults to the user name."}, {"format": "options", "description": "Command-line arguments for the backend. (This is deprecated in favor of setting individual run-time parameters.) Spaces within this string are considered to separate arguments, unless escaped with a backslash ( \\ ); write \\\\ to represent a literal backslash."}, {"format": "replication", "description": "Used to connect in streaming replication mode, where a small set of replication commands can be issued instead of SQL statements. Value can be true , false , or database , and the default is false . See Section 54.4 for details."}, {"format": "String", "description": "The parameter value."}], "tables": [{"key": "fields", "rows": [{"c0": "1", "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": "2", "c1": "Int32(196610)", "c2": "\u534f\u8bae\u7248\u672c\u53f7\u3002\u9ad8 16 \u4f4d\u4e3a\u4e3b\u7248\u672c\u53f7\uff08\u6b64\u5904\u63cf\u8ff0\u7684\u534f\u8bae\u4e3a 3\uff09\uff1b\u4f4e 16 \u4f4d\u4e3a\u6b21\u7248\u672c\u53f7\uff08\u6b64\u5904\u63cf\u8ff0\u7684\u534f\u8bae\u4e3a 2\uff09\u3002"}, {"c0": "3", "c1": "\u5b57\u7b26\u4e32", "c2": "\u53c2\u6570\u540d\u79f0\u3002\u76ee\u524d\u8bc6\u522b\u4ee5\u4e0b\u540d\u79f0\uff1auser \u4e3a\u8fde\u63a5\u6240\u7528\u7684\u6570\u636e\u5e93\u7528\u6237\u540d\uff0c\u5fc5\u586b\u4e14\u6ca1\u6709\u9ed8\u8ba4\u503c\uff1bdatabase \u4e3a\u8981\u8fde\u63a5\u7684\u6570\u636e\u5e93\uff0c\u9ed8\u8ba4\u4e3a\u7528\u6237\u540d\uff1boptions \u4e3a\u4f20\u7ed9\u540e\u7aef\u7684\u547d\u4ee4\u884c\u53c2\u6570\uff0c\u6b64\u7528\u6cd5\u5df2\u5f03\u7528\uff0c\u5efa\u8bae\u5355\u72ec\u8bbe\u7f6e\u5404\u8fd0\u884c\u65f6\u53c2\u6570\u3002options \u5b57\u7b26\u4e32\u4e2d\u7684\u7a7a\u683c\u7528\u4e8e\u5206\u9694\u53c2\u6570\uff0c\u9664\u975e\u7528\u53cd\u659c\u6760\uff08\\\uff09\u8f6c\u4e49\uff1b\u4e24\u4e2a\u53cd\u659c\u6760\uff08\\\\\uff09\u8868\u793a\u4e00\u4e2a\u5b57\u9762\u53cd\u659c\u6760\u3002replication \u7528\u4e8e\u4ee5\u6d41\u590d\u5236\u6a21\u5f0f\u8fde\u63a5\uff0c\u6b64\u65f6\u53ef\u6267\u884c\u5c11\u91cf\u590d\u5236\u547d\u4ee4\u800c\u975e SQL \u8bed\u53e5\uff0c\u5176\u503c\u53ef\u4e3a true\u3001false \u6216 database\uff0c\u9ed8\u8ba4\u4e3a false\uff0c\u8be6\u60c5\u53c2\u89c1\u7b2c 54.4 \u8282\u3002\u8fd8\u53ef\u4ee5\u5217\u51fa\u5176\u4ed6\u53c2\u6570\uff1a\u4ee5 _pq_. \u5f00\u5934\u7684\u540d\u79f0\u4fdd\u7559\u7ed9\u534f\u8bae\u6269\u5c55\uff0c\u5176\u4ed6\u540d\u79f0\u88ab\u89c6\u4e3a\u540e\u7aef\u542f\u52a8\u65f6\u8bbe\u7f6e\u7684\u8fd0\u884c\u65f6\u53c2\u6570\u3002\u8fd9\u4e9b\u8bbe\u7f6e\u5728\u540e\u7aef\u542f\u52a8\u65f6\uff08\u82e5\u6709\u547d\u4ee4\u884c\u53c2\u6570\uff0c\u5219\u5728\u5176\u89e3\u6790\u4e4b\u540e\uff09\u5e94\u7528\uff0c\u5e76\u4f5c\u4e3a\u4f1a\u8bdd\u9ed8\u8ba4\u503c\u3002"}, {"c0": "4", "c1": "user", "c2": "\u8981\u8fde\u63a5\u7684\u6570\u636e\u5e93\u7528\u6237\u540d\u79f0\u3002\u5fc5\u586b\u9879\uff1b\u6ca1\u6709\u9ed8\u8ba4\u503c\u3002"}, {"c0": "5", "c1": "database", "c2": "\u8981\u8fde\u63a5\u7684\u6570\u636e\u5e93\u3002\u9ed8\u8ba4\u4e3a\u7528\u6237\u540d\u3002"}, {"c0": "6", "c1": "options", "c2": "\u540e\u7aef\u7684\u547d\u4ee4\u884c\u53c2\u6570\u3002\uff08\u5df2\u5f03\u7528\uff0c\u5efa\u8bae\u8bbe\u7f6e\u5355\u72ec\u7684\u8fd0\u884c\u65f6\u53c2\u6570\u3002\uff09\u6b64\u5b57\u7b26\u4e32\u4e2d\u7684\u7a7a\u683c\u88ab\u89c6\u4e3a\u5206\u9694\u53c2\u6570\uff0c\u9664\u975e\u7528\u53cd\u659c\u6760\uff08 \\ \uff09\u8f6c\u4e49\uff1b\u5199 \\\\ \u8868\u793a\u5b57\u9762\u53cd\u659c\u6760\u3002"}, {"c0": "7", "c1": "replication", "c2": "\u7528\u4e8e\u4ee5\u6d41\u590d\u5236\u6a21\u5f0f\u8fde\u63a5\uff0c\u53ef\u4ee5\u53d1\u51fa\u4e00\u5c0f\u7ec4\u590d\u5236\u547d\u4ee4\u800c\u4e0d\u662fSQL\u8bed\u53e5\u3002\u503c\u53ef\u4ee5\u662f true \u3001 false \u6216 database \uff0c\u9ed8\u8ba4\u4e3a false \u3002\u8be6\u7ec6\u4fe1\u606f\u8bf7\u53c2\u89c1 \u7b2c 54.4 \u8282 \u3002"}, {"c0": "8", "c1": "\u5b57\u7b26\u4e32", "c2": "\u53c2\u6570\u503c\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-CANCELING-REQUESTS", "label": "\u53d6\u6d88\u6b63\u5728\u6267\u884c\u7684\u8bf7\u6c42"}, {"url": "/docs/18/protocol-flow.html#PROTOCOL-FLOW-SSL", "label": "SSL \u4f1a\u8bdd\u52a0\u5bc6"}, {"url": "/docs/18/protocol-flow.html#PROTOCOL-FLOW-GSSAPI", "label": "GSSAPI \u4f1a\u8bdd\u52a0\u5bc6"}], "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": "https://pg.center/docs/18/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS-STARTUPMESSAGE", "path": "protocol-message-formats.html", "label": "PostgreSQL 18 English manual", "sha256": "53f37652ac2c089e30ada87d8aee7bdd0f26695b03f275302e526a807d2a1f23", "language": "en", "original_url": "/docs/18/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS-STARTUPMESSAGE"}], "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"]}], "direction": "F", "signature": "StartupMessage (F)", "description": ["StartupMessage \u662f\u524d\u7aef\u534f\u8bae\u6d88\u606f\u3002\u6d88\u606f\u5185\u5bb9\u957f\u5ea6\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff0c\u5305\u542b\u957f\u5ea6\u5b57\u6bb5\u672c\u8eab\u3002"], "manual_html": "<dl><dd>\n<div class=\"variablelist\">\n<dl class=\"variablelist\">\n<dt><span class=\"term\">Int32</span></dt>\n<dd>\n<p lang=\"zh\">\n<p>\u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002</p>\n</p>\n</dd>\n<dt><span class=\"term\">Int32(196610)</span></dt>\n<dd>\n<p lang=\"zh\">\n<p>\u534f\u8bae\u7248\u672c\u53f7\u3002\u9ad8 16 \u4f4d\u4e3a\u4e3b\u7248\u672c\u53f7\uff08\u6b64\u5904\u63cf\u8ff0\u7684\u534f\u8bae\u4e3a 3\uff09\uff1b\u4f4e 16 \u4f4d\u4e3a\u6b21\u7248\u672c\u53f7\uff08\u6b64\u5904\u63cf\u8ff0\u7684\u534f\u8bae\u4e3a 2\uff09\u3002</p>\n</p>\n</dd>\n</dl>\n</div>\n<p lang=\"zh\">\u534f\u8bae\u7248\u672c\u53f7\u4e4b\u540e\u662f\u4e00\u4e2a\u6216\u591a\u4e2a\u53c2\u6570\u540d\u4e0e\u53c2\u6570\u503c\u5b57\u7b26\u4e32\u5bf9\u3002\u6700\u540e\u4e00\u4e2a\u540d\u79f0/\u503c\u5bf9\u4e4b\u540e\u5fc5\u987b\u6709\u4e00\u4e2a\u96f6\u5b57\u8282\u4f5c\u4e3a\u7ec8\u6b62\u7b26\u3002\u53c2\u6570\u53ef\u4ee5\u6309\u4efb\u610f\u987a\u5e8f\u51fa\u73b0\u3002\u5176\u4e2d\uff0c<code class=\"literal\">user</code>\u662f\u5fc5\u9700\u7684\uff0c\u5176\u4f59\u5747\u4e3a\u53ef\u9009\u3002\u6bcf\u4e2a\u53c2\u6570\u6309\u4ee5\u4e0b\u65b9\u5f0f\u6307\u5b9a\uff1a</p>\n<div class=\"variablelist\">\n<dl class=\"variablelist\">\n<dt lang=\"zh\">\u5b57\u7b26\u4e32</dt>\n<dd>\n<p lang=\"zh\">\u53c2\u6570\u540d\u79f0\u3002\u76ee\u524d\u80fd\u591f\u8bc6\u522b\u7684\u540d\u79f0\u5982\u4e0b\uff1a</p>\n<div class=\"variablelist\">\n<dl class=\"variablelist\">\n<dt><span class=\"term\"><code class=\"literal\">user</code></span></dt>\n<dd>\n<p lang=\"zh\">\n<p>\u8981\u8fde\u63a5\u7684\u6570\u636e\u5e93\u7528\u6237\u540d\u79f0\u3002\u5fc5\u586b\u9879\uff1b\u6ca1\u6709\u9ed8\u8ba4\u503c\u3002</p>\n</p>\n</dd>\n<dt><span class=\"term\"><code class=\"literal\">database</code></span></dt>\n<dd>\n<p lang=\"zh\">\n<p>\u8981\u8fde\u63a5\u7684\u6570\u636e\u5e93\u3002\u9ed8\u8ba4\u4e3a\u7528\u6237\u540d\u3002</p>\n</p>\n</dd>\n<dt><span class=\"term\"><code class=\"literal\">options</code></span></dt>\n<dd>\n<p lang=\"zh\">\n<p>\u540e\u7aef\u7684\u547d\u4ee4\u884c\u53c2\u6570\u3002\uff08\u5df2\u5f03\u7528\uff0c\u5efa\u8bae\u8bbe\u7f6e\u5355\u72ec\u7684\u8fd0\u884c\u65f6\u53c2\u6570\u3002\uff09\u6b64\u5b57\u7b26\u4e32\u4e2d\u7684\u7a7a\u683c\u88ab\u89c6\u4e3a\u5206\u9694\u53c2\u6570\uff0c\u9664\u975e\u7528\u53cd\u659c\u6760\uff08<code class=\"literal\">\\</code>\uff09\u8f6c\u4e49\uff1b\u5199<code class=\"literal\">\\\\</code>\u8868\u793a\u5b57\u9762\u53cd\u659c\u6760\u3002</p>\n</p>\n</dd>\n<dt><span class=\"term\"><code class=\"literal\">replication</code></span></dt>\n<dd>\n<p lang=\"zh\">\n<p>\u7528\u4e8e\u4ee5\u6d41\u590d\u5236\u6a21\u5f0f\u8fde\u63a5\uff0c\u53ef\u4ee5\u53d1\u51fa\u4e00\u5c0f\u7ec4\u590d\u5236\u547d\u4ee4\u800c\u4e0d\u662fSQL\u8bed\u53e5\u3002\u503c\u53ef\u4ee5\u662f<code class=\"literal\">true</code>\u3001<code class=\"literal\">false</code>\u6216<code class=\"literal\">database</code>\uff0c\u9ed8\u8ba4\u4e3a<code class=\"literal\">false</code>\u3002\u8be6\u7ec6\u4fe1\u606f\u8bf7\u53c2\u89c1<a class=\"xref\" href=\"/docs/18/protocol-replication.html\" title=\"54.4.\u00a0\u6d41\u590d\u5236\u534f\u8bae\">\u7b2c\u00a054.4\u00a0\u8282</a>\u3002</p>\n</p>\n</dd>\n</dl>\n</div>\n<p lang=\"zh\">\u9664\u4e0a\u8ff0\u53c2\u6570\u5916\uff0c\u8fd8\u53ef\u4ee5\u5217\u51fa\u5176\u4ed6\u53c2\u6570\u3002\u4ee5<code class=\"literal\">_pq_.</code>\u5f00\u5934\u7684\u53c2\u6570\u540d\u79f0\u4fdd\u7559\u7528\u4e8e\u534f\u8bae\u6269\u5c55\uff0c\u5176\u4f59\u53c2\u6570\u5219\u4f5c\u4e3a\u8fd0\u884c\u65f6\u53c2\u6570\uff0c\u5728\u540e\u7aef\u542f\u52a8\u65f6\u8bbe\u7f6e\u3002\u8fd9\u4e9b\u8bbe\u7f6e\u4f1a\u5728\u540e\u7aef\u542f\u52a8\u671f\u95f4\u5e94\u7528\uff08\u5728\u89e3\u6790\u547d\u4ee4\u884c\u53c2\u6570\u4e4b\u540e\uff0c\u5982\u679c\u6709\u7684\u8bdd\uff09\uff0c\u5e76\u4f5c\u4e3a\u4f1a\u8bdd\u9ed8\u8ba4\u503c\u3002</p>\n</dd>\n<dt lang=\"zh\">\u5b57\u7b26\u4e32</dt>\n<dd>\n<p lang=\"zh\">\n<p>\u53c2\u6570\u503c\u3002</p>\n</p>\n</dd>\n</dl>\n</div>\n</dd></dl>", "manual_path": "/docs/18/protocol-message-formats.html", "localization": {"status": "complete", "sources": [{"url": "/docs/18/datatype-json.html", "method": "same-major semantic node", "sha256": "b9e8f98a0b5f2a4ec7b5197d02ab40c0ac0635a678c32728aaadd43cb4cd3766", "language": "zh", "matched_nodes": ["#DATATYPE-JSON/div[19]/pre[27]/em[4]/code[0]"]}, {"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[99]/div[0]/dl[0]/dd[3]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[99]/div[2]/dl[0]/dd[1]/div[1]/dl[0]/dd[1]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[99]/div[2]/dl[0]/dd[1]/div[1]/dl[0]/dd[3]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[99]/div[2]/dl[0]/dd[1]/div[1]/dl[0]/dd[5]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[99]/div[2]/dl[0]/dd[1]/div[1]/dl[0]/dd[7]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[99]/div[2]/dl[0]/dd[1]/p[0]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[99]/div[2]/dl[0]/dd[1]/p[2]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[99]/div[2]/dl[0]/dd[3]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[99]/p[1]"]}], "language": "zh", "original_text": {"/versions/18/description/0": "StartupMessage is a frontend protocol message. Length of message contents in bytes, including self.", "/versions/18/facts/0/label": "Direction", "/versions/18/facts/0/value": "Frontend \u2192 backend", "/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": "Canceling Requests in Progress; SSL Session Encryption; GSSAPI Session Encryption", "/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": "Canceling Requests in Progress", "/versions/18/related/3/label": "SSL Session Encryption", "/versions/18/related/4/label": "GSSAPI Session Encryption", "/versions/18/sections/0/title": "Framing and repetition", "/versions/18/tables/0/rows/0/c2": "Length of message contents in bytes, including self.", "/versions/18/tables/0/rows/1/c2": "The protocol version number. The most significant 16 bits are the major version number (3 for the protocol described here). The least significant 16 bits are the minor version number (2 for the protocol described here).", "/versions/18/tables/0/rows/2/c1": "String", "/versions/18/tables/0/rows/2/c2": "The parameter name. Currently recognized names are: user The database user name to connect as. Required; there is no default. database The database to connect to. Defaults to the user name. options Command-line arguments for the backend. (This is deprecated in favor of setting individual run-time parameters.) Spaces within this string are considered to separate arguments, unless escaped with a backslash ( \\ ); write \\\\ to represent a literal backslash. replication Used to connect in streaming replication mode, where a small set of replication commands can be issued instead of SQL statements. Value can be true , false , or database , and the default is false . See Section 54.4 for details. In addition to the above, other parameters may be listed. Parameter names beginning with _pq_. are reserved for use as protocol extensions, while others are treated as run-time parameters to be set at backend start time. Such settings will be applied during backend start (after parsing the command-line arguments if any) and will act as session defaults.", "/versions/18/tables/0/rows/3/c2": "The database user name to connect as. Required; there is no default.", "/versions/18/tables/0/rows/4/c2": "The database to connect to. Defaults to the user name.", "/versions/18/tables/0/rows/5/c2": "Command-line arguments for the backend. (This is deprecated in favor of setting individual run-time parameters.) Spaces within this string are considered to separate arguments, unless escaped with a backslash ( \\ ); write \\\\ to represent a literal backslash.", "/versions/18/tables/0/rows/6/c2": "Used to connect in streaming replication mode, where a small set of replication commands can be issued instead of SQL statements. Value can be true , false , or database , and the default is false . See Section 54.4 for details.", "/versions/18/tables/0/rows/7/c1": "String", "/versions/18/tables/0/rows/7/c2": "The parameter value.", "/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": "c9df1ff939cbebc107c3b40127042beae84c2d025717a91f0a2406bf515aef7d"}, "comparison_data": {"fields": [{"format": "Int32", "description": "Length of message contents in bytes, including self."}, {"format": "Int32(196610)", "description": "The protocol version number. The most significant 16 bits are the major version number (3 for the protocol described here). The least significant 16 bits are the minor version number (2 for the protocol described here)."}, {"format": "String", "description": "The parameter name. Currently recognized names are: user The database user name to connect as. Required; there is no default. database The database to connect to. Defaults to the user name. options Command-line arguments for the backend. (This is deprecated in favor of setting individual run-time parameters.) Spaces within this string are considered to separate arguments, unless escaped with a backslash ( \\ ); write \\\\ to represent a literal backslash. replication Used to connect in streaming replication mode, where a small set of replication commands can be issued instead of SQL statements. Value can be true , false , or database , and the default is false . See Section 54.4 for details. In addition to the above, other parameters may be listed. Parameter names beginning with _pq_. are reserved for use as protocol extensions, while others are treated as run-time parameters to be set at backend start time. Such settings will be applied during backend start (after parsing the command-line arguments if any) and will act as session defaults."}, {"format": "user", "description": "The database user name to connect as. Required; there is no default."}, {"format": "database", "description": "The database to connect to. Defaults to the user name."}, {"format": "options", "description": "Command-line arguments for the backend. (This is deprecated in favor of setting individual run-time parameters.) Spaces within this string are considered to separate arguments, unless escaped with a backslash ( \\ ); write \\\\ to represent a literal backslash."}, {"format": "replication", "description": "Used to connect in streaming replication mode, where a small set of replication commands can be issued instead of SQL statements. Value can be true , false , or database , and the default is false . See Section 54.4 for details."}, {"format": "String", "description": "The parameter value."}], "direction": "F"}, "comparison_hash": "b0e84a6731a2fc6c6bfa894a55c348aad046b4626f513682066294ceadc90424", "manual_language": "zh"}, "19": {"facts": [{"label": "\u65b9\u5411", "value": "\u524d\u7aef \u2192 \u540e\u7aef"}, {"label": "\u9996\u4e2a\u7ebf\u4e0a\u534f\u8bae\u5b57\u6bb5", "value": "Int32"}, {"label": "\u5b57\u6bb5\u6761\u76ee", "value": "8"}, {"label": "\u624b\u518c\u4e2d\u7684\u4ea4\u4e92\u9636\u6bb5", "value": "\u53d6\u6d88\u6b63\u5728\u6267\u884c\u7684\u8bf7\u6c42\uff1bSSL \u4f1a\u8bdd\u52a0\u5bc6\uff1bGSSAPI \u4f1a\u8bdd\u52a0\u5bc6"}], "fields": [{"format": "Int32", "description": "Length of message contents in bytes, including self."}, {"format": "Int32", "description": "The protocol version number. The most significant 16 bits are the major version number. The least significant 16 bits are the minor version number. As an example protocol version 3.2 is represented as 196610 in decimal or more clearly as 0x00030002 in hexadecimal."}, {"format": "String", "description": "The parameter name. Currently recognized names are: user The database user name to connect as. Required; there is no default. database The database to connect to. Defaults to the user name. options Command-line arguments for the backend. (This is deprecated in favor of setting individual run-time parameters.) Spaces within this string are considered to separate arguments, unless escaped with a backslash ( \\ ); write \\\\ to represent a literal backslash. replication Used to connect in streaming replication mode, where a small set of replication commands can be issued instead of SQL statements. Value can be true , false , or database , and the default is false . See Section 54.4 for details. In addition to the above, other parameters may be listed. Parameter names beginning with _pq_. are reserved for use as protocol extensions , while others are treated as run-time parameters to be set at backend start time. Such settings will be applied during backend start (after parsing the command-line arguments if any) and will act as session defaults."}, {"format": "user", "description": "The database user name to connect as. Required; there is no default."}, {"format": "database", "description": "The database to connect to. Defaults to the user name."}, {"format": "options", "description": "Command-line arguments for the backend. (This is deprecated in favor of setting individual run-time parameters.) Spaces within this string are considered to separate arguments, unless escaped with a backslash ( \\ ); write \\\\ to represent a literal backslash."}, {"format": "replication", "description": "Used to connect in streaming replication mode, where a small set of replication commands can be issued instead of SQL statements. Value can be true , false , or database , and the default is false . See Section 54.4 for details."}, {"format": "String", "description": "The parameter value."}], "tables": [{"key": "fields", "rows": [{"c0": "1", "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": "2", "c1": "Int32", "c2": "\u534f\u8bae\u7248\u672c\u53f7\u3002\u9ad8 16 \u4f4d\u662f\u4e3b\u7248\u672c\u53f7\u3002\u4f4e 16 \u4f4d\u662f\u6b21\u7248\u672c\u53f7\u3002\u4f8b\u5982\uff0c\u534f\u8bae\u7248\u672c 3.2 \u5728\u5341\u8fdb\u5236\u4e2d\u8868\u793a\u4e3a 196610 \uff0c\u5728\u5341\u516d\u8fdb\u5236\u4e2d\u5219\u66f4\u6e05\u695a\u5730\u8868\u793a\u4e3a 0x00030002 \u3002"}, {"c0": "3", "c1": "\u5b57\u7b26\u4e32", "c2": "\u53c2\u6570\u540d\u79f0\u3002\u76ee\u524d\u8bc6\u522b\u4ee5\u4e0b\u540d\u79f0\uff1auser \u4e3a\u8fde\u63a5\u6240\u7528\u7684\u6570\u636e\u5e93\u7528\u6237\u540d\uff0c\u5fc5\u586b\u4e14\u6ca1\u6709\u9ed8\u8ba4\u503c\uff1bdatabase \u4e3a\u8981\u8fde\u63a5\u7684\u6570\u636e\u5e93\uff0c\u9ed8\u8ba4\u4e3a\u7528\u6237\u540d\uff1boptions \u4e3a\u4f20\u7ed9\u540e\u7aef\u7684\u547d\u4ee4\u884c\u53c2\u6570\uff0c\u6b64\u7528\u6cd5\u5df2\u5f03\u7528\uff0c\u5efa\u8bae\u5355\u72ec\u8bbe\u7f6e\u5404\u8fd0\u884c\u65f6\u53c2\u6570\u3002options \u5b57\u7b26\u4e32\u4e2d\u7684\u7a7a\u683c\u7528\u4e8e\u5206\u9694\u53c2\u6570\uff0c\u9664\u975e\u7528\u53cd\u659c\u6760\uff08\\\uff09\u8f6c\u4e49\uff1b\u4e24\u4e2a\u53cd\u659c\u6760\uff08\\\\\uff09\u8868\u793a\u4e00\u4e2a\u5b57\u9762\u53cd\u659c\u6760\u3002replication \u7528\u4e8e\u4ee5\u6d41\u590d\u5236\u6a21\u5f0f\u8fde\u63a5\uff0c\u6b64\u65f6\u53ef\u6267\u884c\u5c11\u91cf\u590d\u5236\u547d\u4ee4\u800c\u975e SQL \u8bed\u53e5\uff0c\u5176\u503c\u53ef\u4e3a true\u3001false \u6216 database\uff0c\u9ed8\u8ba4\u4e3a false\uff0c\u8be6\u60c5\u53c2\u89c1\u7b2c 54.4 \u8282\u3002\u8fd8\u53ef\u4ee5\u5217\u51fa\u5176\u4ed6\u53c2\u6570\uff1a\u4ee5 _pq_. \u5f00\u5934\u7684\u540d\u79f0\u4fdd\u7559\u7ed9\u534f\u8bae\u6269\u5c55\uff0c\u5176\u4ed6\u540d\u79f0\u88ab\u89c6\u4e3a\u540e\u7aef\u542f\u52a8\u65f6\u8bbe\u7f6e\u7684\u8fd0\u884c\u65f6\u53c2\u6570\u3002\u8fd9\u4e9b\u8bbe\u7f6e\u5728\u540e\u7aef\u542f\u52a8\u65f6\uff08\u82e5\u6709\u547d\u4ee4\u884c\u53c2\u6570\uff0c\u5219\u5728\u5176\u89e3\u6790\u4e4b\u540e\uff09\u5e94\u7528\uff0c\u5e76\u4f5c\u4e3a\u4f1a\u8bdd\u9ed8\u8ba4\u503c\u3002"}, {"c0": "4", "c1": "user", "c2": "\u8981\u8fde\u63a5\u7684\u6570\u636e\u5e93\u7528\u6237\u540d\u79f0\u3002\u5fc5\u586b\u9879\uff1b\u6ca1\u6709\u9ed8\u8ba4\u503c\u3002"}, {"c0": "5", "c1": "database", "c2": "\u8981\u8fde\u63a5\u7684\u6570\u636e\u5e93\u3002\u9ed8\u8ba4\u4e3a\u7528\u6237\u540d\u3002"}, {"c0": "6", "c1": "options", "c2": "\u540e\u7aef\u7684\u547d\u4ee4\u884c\u53c2\u6570\u3002\uff08\u5df2\u5f03\u7528\uff0c\u5efa\u8bae\u8bbe\u7f6e\u5355\u72ec\u7684\u8fd0\u884c\u65f6\u53c2\u6570\u3002\uff09\u6b64\u5b57\u7b26\u4e32\u4e2d\u7684\u7a7a\u683c\u88ab\u89c6\u4e3a\u5206\u9694\u53c2\u6570\uff0c\u9664\u975e\u7528\u53cd\u659c\u6760\uff08 \\ \uff09\u8f6c\u4e49\uff1b\u5199 \\\\ \u8868\u793a\u5b57\u9762\u53cd\u659c\u6760\u3002"}, {"c0": "7", "c1": "replication", "c2": "\u7528\u4e8e\u4ee5\u6d41\u590d\u5236\u6a21\u5f0f\u8fde\u63a5\uff0c\u53ef\u4ee5\u53d1\u51fa\u4e00\u5c0f\u7ec4\u590d\u5236\u547d\u4ee4\u800c\u4e0d\u662fSQL\u8bed\u53e5\u3002\u503c\u53ef\u4ee5\u662f true \u3001 false \u6216 database \uff0c\u9ed8\u8ba4\u4e3a false \u3002\u8be6\u7ec6\u4fe1\u606f\u8bf7\u53c2\u89c1 \u7b2c 54.4 \u8282 \u3002"}, {"c0": "8", "c1": "\u5b57\u7b26\u4e32", "c2": "\u53c2\u6570\u503c\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-CANCELING-REQUESTS", "label": "\u53d6\u6d88\u6b63\u5728\u6267\u884c\u7684\u8bf7\u6c42"}, {"url": "/docs/19/protocol-flow.html#PROTOCOL-FLOW-SSL", "label": "SSL \u4f1a\u8bdd\u52a0\u5bc6"}, {"url": "/docs/19/protocol-flow.html#PROTOCOL-FLOW-GSSAPI", "label": "GSSAPI \u4f1a\u8bdd\u52a0\u5bc6"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v19beta4/postgresql-19beta4.tar.bz2", "label": "19beta4", "major": "19", "channel": "preview", "revision": "83157ee9c599d03b2f7a3d73ef3a56ec24e0e79cc2b3501a64d1364f56398c86"}, "sources": [{"url": "https://pg.center/docs/19/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS-STARTUPMESSAGE", "path": "protocol-message-formats.html", "label": "PostgreSQL 19 English manual", "sha256": "90ffd4417d4975d088424b23a513f1d79ac914225ad7e239a12f44d0dd2248e4", "language": "en", "original_url": "/docs/19/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS-STARTUPMESSAGE"}], "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"]}], "direction": "F", "signature": "StartupMessage (F)", "description": ["StartupMessage \u662f\u524d\u7aef\u534f\u8bae\u6d88\u606f\u3002\u6d88\u606f\u5185\u5bb9\u957f\u5ea6\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff0c\u5305\u542b\u957f\u5ea6\u5b57\u6bb5\u672c\u8eab\u3002"], "manual_html": "<dl><dd>\n<div class=\"variablelist\">\n<dl class=\"variablelist\">\n<dt><span class=\"term\">Int32</span></dt>\n<dd>\n<p lang=\"zh\">\n<p>\u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002</p>\n</p>\n</dd>\n<dt><span class=\"term\">Int32</span></dt>\n<dd>\n<p lang=\"zh\">\n<p>\u534f\u8bae\u7248\u672c\u53f7\u3002\u9ad8 16 \u4f4d\u662f\u4e3b\u7248\u672c\u53f7\u3002\u4f4e 16 \u4f4d\u662f\u6b21\u7248\u672c\u53f7\u3002\u4f8b\u5982\uff0c\u534f\u8bae\u7248\u672c 3.2 \u5728\u5341\u8fdb\u5236\u4e2d\u8868\u793a\u4e3a <code class=\"literal\">196610</code>\uff0c\u5728\u5341\u516d\u8fdb\u5236\u4e2d\u5219\u66f4\u6e05\u695a\u5730\u8868\u793a\u4e3a <code class=\"literal\">0x00030002</code>\u3002</p>\n</p>\n</dd>\n</dl>\n</div>\n<p lang=\"zh\">\u534f\u8bae\u7248\u672c\u53f7\u4e4b\u540e\u662f\u4e00\u4e2a\u6216\u591a\u4e2a\u53c2\u6570\u540d\u4e0e\u53c2\u6570\u503c\u5b57\u7b26\u4e32\u5bf9\u3002\u6700\u540e\u4e00\u4e2a\u540d\u79f0/\u503c\u5bf9\u4e4b\u540e\u5fc5\u987b\u6709\u4e00\u4e2a\u96f6\u5b57\u8282\u4f5c\u4e3a\u7ec8\u6b62\u7b26\u3002\u53c2\u6570\u53ef\u4ee5\u6309\u4efb\u610f\u987a\u5e8f\u51fa\u73b0\u3002\u5176\u4e2d\uff0c<code class=\"literal\">user</code>\u662f\u5fc5\u9700\u7684\uff0c\u5176\u4f59\u5747\u4e3a\u53ef\u9009\u3002\u6bcf\u4e2a\u53c2\u6570\u6309\u4ee5\u4e0b\u65b9\u5f0f\u6307\u5b9a\uff1a</p>\n<div class=\"variablelist\">\n<dl class=\"variablelist\">\n<dt lang=\"zh\">\u5b57\u7b26\u4e32</dt>\n<dd>\n<p lang=\"zh\">\u53c2\u6570\u540d\u79f0\u3002\u76ee\u524d\u80fd\u591f\u8bc6\u522b\u7684\u540d\u79f0\u5982\u4e0b\uff1a</p>\n<div class=\"variablelist\">\n<dl class=\"variablelist\">\n<dt><span class=\"term\"><code class=\"literal\">user</code></span></dt>\n<dd>\n<p lang=\"zh\">\n<p>\u8981\u8fde\u63a5\u7684\u6570\u636e\u5e93\u7528\u6237\u540d\u79f0\u3002\u5fc5\u586b\u9879\uff1b\u6ca1\u6709\u9ed8\u8ba4\u503c\u3002</p>\n</p>\n</dd>\n<dt><span class=\"term\"><code class=\"literal\">database</code></span></dt>\n<dd>\n<p lang=\"zh\">\n<p>\u8981\u8fde\u63a5\u7684\u6570\u636e\u5e93\u3002\u9ed8\u8ba4\u4e3a\u7528\u6237\u540d\u3002</p>\n</p>\n</dd>\n<dt><span class=\"term\"><code class=\"literal\">options</code></span></dt>\n<dd>\n<p lang=\"zh\">\n<p>\u540e\u7aef\u7684\u547d\u4ee4\u884c\u53c2\u6570\u3002\uff08\u5df2\u5f03\u7528\uff0c\u5efa\u8bae\u8bbe\u7f6e\u5355\u72ec\u7684\u8fd0\u884c\u65f6\u53c2\u6570\u3002\uff09\u6b64\u5b57\u7b26\u4e32\u4e2d\u7684\u7a7a\u683c\u88ab\u89c6\u4e3a\u5206\u9694\u53c2\u6570\uff0c\u9664\u975e\u7528\u53cd\u659c\u6760\uff08<code class=\"literal\">\\</code>\uff09\u8f6c\u4e49\uff1b\u5199<code class=\"literal\">\\\\</code>\u8868\u793a\u5b57\u9762\u53cd\u659c\u6760\u3002</p>\n</p>\n</dd>\n<dt><span class=\"term\"><code class=\"literal\">replication</code></span></dt>\n<dd>\n<p lang=\"zh\">\n<p>\u7528\u4e8e\u4ee5\u6d41\u590d\u5236\u6a21\u5f0f\u8fde\u63a5\uff0c\u53ef\u4ee5\u53d1\u51fa\u4e00\u5c0f\u7ec4\u590d\u5236\u547d\u4ee4\u800c\u4e0d\u662fSQL\u8bed\u53e5\u3002\u503c\u53ef\u4ee5\u662f<code class=\"literal\">true</code>\u3001<code class=\"literal\">false</code>\u6216<code class=\"literal\">database</code>\uff0c\u9ed8\u8ba4\u4e3a<code class=\"literal\">false</code>\u3002\u8be6\u7ec6\u4fe1\u606f\u8bf7\u53c2\u89c1<a class=\"xref\" href=\"/docs/19/protocol-replication.html\" title=\"54.4.\u00a0\u6d41\u590d\u5236\u534f\u8bae\">\u7b2c\u00a054.4\u00a0\u8282</a>\u3002</p>\n</p>\n</dd>\n</dl>\n</div>\n<p lang=\"zh\">\u9664\u4e0a\u8ff0\u4e4b\u5916\uff0c\u8fd8\u53ef\u4ee5\u5217\u51fa\u5176\u4ed6\u53c2\u6570\u3002\u4ee5<code class=\"literal\">_pq_.</code>\u5f00\u5934\u7684\u53c2\u6570\u540d\u79f0\u4fdd\u7559\u7528\u4e8e<a class=\"link\" href=\"/docs/19/protocol-overview.html#PROTOCOL-EXTENSIONS\" title=\"54.1.5.\u00a0\u534f\u8bae\u6269\u5c55\">\u534f\u8bae\u6269\u5c55</a>\uff0c\u800c\u5176\u4ed6\u53c2\u6570\u88ab\u89c6\u4e3a\u540e\u7aef\u542f\u52a8\u65f6\u8bbe\u7f6e\u7684\u8fd0\u884c\u65f6\u53c2\u6570\u3002\u8fd9\u4e9b\u8bbe\u7f6e\u5c06\u5728\u540e\u7aef\u542f\u52a8\u65f6\u5e94\u7528\uff08\u5728\u89e3\u6790\u547d\u4ee4\u884c\u53c2\u6570\u540e\uff0c\u5982\u679c\u6709\u7684\u8bdd\uff09\uff0c\u5e76\u5c06\u4f5c\u4e3a\u4f1a\u8bdd\u9ed8\u8ba4\u503c\u3002</p>\n</dd>\n<dt lang=\"zh\">\u5b57\u7b26\u4e32</dt>\n<dd>\n<p lang=\"zh\">\n<p>\u53c2\u6570\u503c\u3002</p>\n</p>\n</dd>\n</dl>\n</div>\n</dd></dl>", "manual_path": "/docs/19/protocol-message-formats.html", "localization": {"status": "complete", "sources": [{"url": "/docs/19/datatype-json.html", "method": "same-major semantic node", "sha256": "3e9557f5a65838e08890f25b0cc62147ef278263efb1c2462b7906308771ae60", "language": "zh", "matched_nodes": ["#DATATYPE-JSON/div[19]/pre[27]/em[4]/code[0]"]}, {"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[99]/div[0]/dl[0]/dd[3]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[99]/div[2]/dl[0]/dd[1]/div[1]/dl[0]/dd[1]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[99]/div[2]/dl[0]/dd[1]/div[1]/dl[0]/dd[3]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[99]/div[2]/dl[0]/dd[1]/div[1]/dl[0]/dd[5]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[99]/div[2]/dl[0]/dd[1]/div[1]/dl[0]/dd[7]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[99]/div[2]/dl[0]/dd[1]/p[0]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[99]/div[2]/dl[0]/dd[1]/p[2]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[99]/div[2]/dl[0]/dd[3]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[99]/p[1]"]}], "language": "zh", "original_text": {"/versions/19/description/0": "StartupMessage is a frontend protocol message. Length of message contents in bytes, including self.", "/versions/19/facts/0/label": "Direction", "/versions/19/facts/0/value": "Frontend \u2192 backend", "/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": "Canceling Requests in Progress; SSL Session Encryption; GSSAPI Session Encryption", "/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": "Canceling Requests in Progress", "/versions/19/related/3/label": "SSL Session Encryption", "/versions/19/related/4/label": "GSSAPI Session Encryption", "/versions/19/sections/0/title": "Framing and repetition", "/versions/19/tables/0/rows/0/c2": "Length of message contents in bytes, including self.", "/versions/19/tables/0/rows/1/c2": "The protocol version number. The most significant 16 bits are the major version number. The least significant 16 bits are the minor version number. As an example protocol version 3.2 is represented as 196610 in decimal or more clearly as 0x00030002 in hexadecimal.", "/versions/19/tables/0/rows/2/c1": "String", "/versions/19/tables/0/rows/2/c2": "The parameter name. Currently recognized names are: user The database user name to connect as. Required; there is no default. database The database to connect to. Defaults to the user name. options Command-line arguments for the backend. (This is deprecated in favor of setting individual run-time parameters.) Spaces within this string are considered to separate arguments, unless escaped with a backslash ( \\ ); write \\\\ to represent a literal backslash. replication Used to connect in streaming replication mode, where a small set of replication commands can be issued instead of SQL statements. Value can be true , false , or database , and the default is false . See Section 54.4 for details. In addition to the above, other parameters may be listed. Parameter names beginning with _pq_. are reserved for use as protocol extensions , while others are treated as run-time parameters to be set at backend start time. Such settings will be applied during backend start (after parsing the command-line arguments if any) and will act as session defaults.", "/versions/19/tables/0/rows/3/c2": "The database user name to connect as. Required; there is no default.", "/versions/19/tables/0/rows/4/c2": "The database to connect to. Defaults to the user name.", "/versions/19/tables/0/rows/5/c2": "Command-line arguments for the backend. (This is deprecated in favor of setting individual run-time parameters.) Spaces within this string are considered to separate arguments, unless escaped with a backslash ( \\ ); write \\\\ to represent a literal backslash.", "/versions/19/tables/0/rows/6/c2": "Used to connect in streaming replication mode, where a small set of replication commands can be issued instead of SQL statements. Value can be true , false , or database , and the default is false . See Section 54.4 for details.", "/versions/19/tables/0/rows/7/c1": "String", "/versions/19/tables/0/rows/7/c2": "The parameter value.", "/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": "2965695df9857ed864bbf9af11bf56c6b3842240694c15ea52335289fb2ae668"}, "comparison_data": {"fields": [{"format": "Int32", "description": "Length of message contents in bytes, including self."}, {"format": "Int32", "description": "The protocol version number. The most significant 16 bits are the major version number. The least significant 16 bits are the minor version number. As an example protocol version 3.2 is represented as 196610 in decimal or more clearly as 0x00030002 in hexadecimal."}, {"format": "String", "description": "The parameter name. Currently recognized names are: user The database user name to connect as. Required; there is no default. database The database to connect to. Defaults to the user name. options Command-line arguments for the backend. (This is deprecated in favor of setting individual run-time parameters.) Spaces within this string are considered to separate arguments, unless escaped with a backslash ( \\ ); write \\\\ to represent a literal backslash. replication Used to connect in streaming replication mode, where a small set of replication commands can be issued instead of SQL statements. Value can be true , false , or database , and the default is false . See Section 54.4 for details. In addition to the above, other parameters may be listed. Parameter names beginning with _pq_. are reserved for use as protocol extensions , while others are treated as run-time parameters to be set at backend start time. Such settings will be applied during backend start (after parsing the command-line arguments if any) and will act as session defaults."}, {"format": "user", "description": "The database user name to connect as. Required; there is no default."}, {"format": "database", "description": "The database to connect to. Defaults to the user name."}, {"format": "options", "description": "Command-line arguments for the backend. (This is deprecated in favor of setting individual run-time parameters.) Spaces within this string are considered to separate arguments, unless escaped with a backslash ( \\ ); write \\\\ to represent a literal backslash."}, {"format": "replication", "description": "Used to connect in streaming replication mode, where a small set of replication commands can be issued instead of SQL statements. Value can be true , false , or database , and the default is false . See Section 54.4 for details."}, {"format": "String", "description": "The parameter value."}], "direction": "F"}, "comparison_hash": "555bcf196c68c4eccde02ab4da224aaf20fcdd7d3ae5e89b8d65214e7687c721", "manual_language": "zh"}, "20": {"facts": [{"label": "\u65b9\u5411", "value": "\u524d\u7aef \u2192 \u540e\u7aef"}, {"label": "\u9996\u4e2a\u7ebf\u4e0a\u534f\u8bae\u5b57\u6bb5", "value": "Int32"}, {"label": "\u5b57\u6bb5\u6761\u76ee", "value": "8"}, {"label": "\u624b\u518c\u4e2d\u7684\u4ea4\u4e92\u9636\u6bb5", "value": "\u53d6\u6d88\u6b63\u5728\u6267\u884c\u7684\u8bf7\u6c42\uff1bSSL \u4f1a\u8bdd\u52a0\u5bc6\uff1bGSSAPI \u4f1a\u8bdd\u52a0\u5bc6"}], "fields": [{"format": "Int32", "description": "Length of message contents in bytes, including self."}, {"format": "Int32", "description": "The protocol version number. The most significant 16 bits are the major version number. The least significant 16 bits are the minor version number. As an example protocol version 3.2 is represented as 196610 in decimal or more clearly as 0x00030002 in hexadecimal."}, {"format": "String", "description": "The parameter name. Currently recognized names are: user The database user name to connect as. Required; there is no default. database The database to connect to. Defaults to the user name. options Command-line arguments for the backend. (This is deprecated in favor of setting individual run-time parameters.) Spaces within this string are considered to separate arguments, unless escaped with a backslash ( \\ ); write \\\\ to represent a literal backslash. replication Used to connect in streaming replication mode, where a small set of replication commands can be issued instead of SQL statements. Value can be true , false , or database , and the default is false . See Section 54.4 for details. In addition to the above, other parameters may be listed. Parameter names beginning with _pq_. are reserved for use as protocol extensions , while others are treated as run-time parameters to be set at backend start time. Such settings will be applied during backend start (after parsing the command-line arguments if any) and will act as session defaults."}, {"format": "user", "description": "The database user name to connect as. Required; there is no default."}, {"format": "database", "description": "The database to connect to. Defaults to the user name."}, {"format": "options", "description": "Command-line arguments for the backend. (This is deprecated in favor of setting individual run-time parameters.) Spaces within this string are considered to separate arguments, unless escaped with a backslash ( \\ ); write \\\\ to represent a literal backslash."}, {"format": "replication", "description": "Used to connect in streaming replication mode, where a small set of replication commands can be issued instead of SQL statements. Value can be true , false , or database , and the default is false . See Section 54.4 for details."}, {"format": "String", "description": "The parameter value."}], "tables": [{"key": "fields", "rows": [{"c0": "1", "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": "2", "c1": "Int32", "c2": "\u534f\u8bae\u7248\u672c\u53f7\u3002\u9ad8 16 \u4f4d\u662f\u4e3b\u7248\u672c\u53f7\u3002\u4f4e 16 \u4f4d\u662f\u6b21\u7248\u672c\u53f7\u3002\u4f8b\u5982\uff0c\u534f\u8bae\u7248\u672c 3.2 \u5728\u5341\u8fdb\u5236\u4e2d\u8868\u793a\u4e3a 196610 \uff0c\u5728\u5341\u516d\u8fdb\u5236\u4e2d\u5219\u66f4\u6e05\u695a\u5730\u8868\u793a\u4e3a 0x00030002 \u3002"}, {"c0": "3", "c1": "\u5b57\u7b26\u4e32", "c2": "\u53c2\u6570\u540d\u79f0\u3002\u76ee\u524d\u8bc6\u522b\u4ee5\u4e0b\u540d\u79f0\uff1auser \u4e3a\u8fde\u63a5\u6240\u7528\u7684\u6570\u636e\u5e93\u7528\u6237\u540d\uff0c\u5fc5\u586b\u4e14\u6ca1\u6709\u9ed8\u8ba4\u503c\uff1bdatabase \u4e3a\u8981\u8fde\u63a5\u7684\u6570\u636e\u5e93\uff0c\u9ed8\u8ba4\u4e3a\u7528\u6237\u540d\uff1boptions \u4e3a\u4f20\u7ed9\u540e\u7aef\u7684\u547d\u4ee4\u884c\u53c2\u6570\uff0c\u6b64\u7528\u6cd5\u5df2\u5f03\u7528\uff0c\u5efa\u8bae\u5355\u72ec\u8bbe\u7f6e\u5404\u8fd0\u884c\u65f6\u53c2\u6570\u3002options \u5b57\u7b26\u4e32\u4e2d\u7684\u7a7a\u683c\u7528\u4e8e\u5206\u9694\u53c2\u6570\uff0c\u9664\u975e\u7528\u53cd\u659c\u6760\uff08\\\uff09\u8f6c\u4e49\uff1b\u4e24\u4e2a\u53cd\u659c\u6760\uff08\\\\\uff09\u8868\u793a\u4e00\u4e2a\u5b57\u9762\u53cd\u659c\u6760\u3002replication \u7528\u4e8e\u4ee5\u6d41\u590d\u5236\u6a21\u5f0f\u8fde\u63a5\uff0c\u6b64\u65f6\u53ef\u6267\u884c\u5c11\u91cf\u590d\u5236\u547d\u4ee4\u800c\u975e SQL \u8bed\u53e5\uff0c\u5176\u503c\u53ef\u4e3a true\u3001false \u6216 database\uff0c\u9ed8\u8ba4\u4e3a false\uff0c\u8be6\u60c5\u53c2\u89c1\u7b2c 54.4 \u8282\u3002\u8fd8\u53ef\u4ee5\u5217\u51fa\u5176\u4ed6\u53c2\u6570\uff1a\u4ee5 _pq_. \u5f00\u5934\u7684\u540d\u79f0\u4fdd\u7559\u7ed9\u534f\u8bae\u6269\u5c55\uff0c\u5176\u4ed6\u540d\u79f0\u88ab\u89c6\u4e3a\u540e\u7aef\u542f\u52a8\u65f6\u8bbe\u7f6e\u7684\u8fd0\u884c\u65f6\u53c2\u6570\u3002\u8fd9\u4e9b\u8bbe\u7f6e\u5728\u540e\u7aef\u542f\u52a8\u65f6\uff08\u82e5\u6709\u547d\u4ee4\u884c\u53c2\u6570\uff0c\u5219\u5728\u5176\u89e3\u6790\u4e4b\u540e\uff09\u5e94\u7528\uff0c\u5e76\u4f5c\u4e3a\u4f1a\u8bdd\u9ed8\u8ba4\u503c\u3002"}, {"c0": "4", "c1": "user", "c2": "\u8981\u8fde\u63a5\u7684\u6570\u636e\u5e93\u7528\u6237\u540d\u79f0\u3002\u5fc5\u586b\u9879\uff1b\u6ca1\u6709\u9ed8\u8ba4\u503c\u3002"}, {"c0": "5", "c1": "database", "c2": "\u8981\u8fde\u63a5\u7684\u6570\u636e\u5e93\u3002\u9ed8\u8ba4\u4e3a\u7528\u6237\u540d\u3002"}, {"c0": "6", "c1": "options", "c2": "\u540e\u7aef\u7684\u547d\u4ee4\u884c\u53c2\u6570\u3002\uff08\u5df2\u5f03\u7528\uff0c\u5efa\u8bae\u8bbe\u7f6e\u5355\u72ec\u7684\u8fd0\u884c\u65f6\u53c2\u6570\u3002\uff09\u6b64\u5b57\u7b26\u4e32\u4e2d\u7684\u7a7a\u683c\u88ab\u89c6\u4e3a\u5206\u9694\u53c2\u6570\uff0c\u9664\u975e\u7528\u53cd\u659c\u6760\uff08 \\ \uff09\u8f6c\u4e49\uff1b\u5199 \\\\ \u8868\u793a\u5b57\u9762\u53cd\u659c\u6760\u3002"}, {"c0": "7", "c1": "replication", "c2": "\u7528\u4e8e\u4ee5\u6d41\u590d\u5236\u6a21\u5f0f\u8fde\u63a5\uff0c\u53ef\u4ee5\u53d1\u51fa\u4e00\u5c0f\u7ec4\u590d\u5236\u547d\u4ee4\u800c\u4e0d\u662fSQL\u8bed\u53e5\u3002\u503c\u53ef\u4ee5\u662f true \u3001 false \u6216 database \uff0c\u9ed8\u8ba4\u4e3a false \u3002\u8be6\u7ec6\u4fe1\u606f\u8bf7\u53c2\u89c1 \u7b2c 54.4 \u8282 \u3002"}, {"c0": "8", "c1": "\u5b57\u7b26\u4e32", "c2": "\u53c2\u6570\u503c\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-CANCELING-REQUESTS", "label": "\u53d6\u6d88\u6b63\u5728\u6267\u884c\u7684\u8bf7\u6c42"}, {"url": "/docs/devel/protocol-flow.html#PROTOCOL-FLOW-SSL", "label": "SSL \u4f1a\u8bdd\u52a0\u5bc6"}, {"url": "/docs/devel/protocol-flow.html#PROTOCOL-FLOW-GSSAPI", "label": "GSSAPI \u4f1a\u8bdd\u52a0\u5bc6"}], "release": {"ref": "https://ftp.postgresql.org/pub/snapshot/dev/postgresql-snapshot.tar.bz2", "label": "20devel", "major": "20", "channel": "devel", "revision": "4d3346909b201ac1648232cf290462a7070c119326f56196f1f0253ed80fae41"}, "sources": [{"url": "https://pg.center/docs/devel/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS-STARTUPMESSAGE", "path": "protocol-message-formats.html", "label": "PostgreSQL 20 English manual", "sha256": "4e786b7a3a7f6dbe6547ece35c3281e7f1a33816b0613d2cdc3beec827362d4e", "language": "en", "original_url": "/docs/devel/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS-STARTUPMESSAGE"}], "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"]}], "direction": "F", "signature": "StartupMessage (F)", "description": ["StartupMessage \u662f\u524d\u7aef\u534f\u8bae\u6d88\u606f\u3002\u6d88\u606f\u5185\u5bb9\u957f\u5ea6\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff0c\u5305\u542b\u957f\u5ea6\u5b57\u6bb5\u672c\u8eab\u3002"], "manual_html": "<dl><dd>\n<div class=\"variablelist\">\n<dl class=\"variablelist\">\n<dt><span class=\"term\">Int32</span></dt>\n<dd>\n<p lang=\"zh\">\n<p>\u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002</p>\n</p>\n</dd>\n<dt><span class=\"term\">Int32</span></dt>\n<dd>\n<p lang=\"zh\">\n<p>\u534f\u8bae\u7248\u672c\u53f7\u3002\u9ad8 16 \u4f4d\u662f\u4e3b\u7248\u672c\u53f7\u3002\u4f4e 16 \u4f4d\u662f\u6b21\u7248\u672c\u53f7\u3002\u4f8b\u5982\uff0c\u534f\u8bae\u7248\u672c 3.2 \u5728\u5341\u8fdb\u5236\u4e2d\u8868\u793a\u4e3a <code class=\"literal\">196610</code>\uff0c\u5728\u5341\u516d\u8fdb\u5236\u4e2d\u5219\u66f4\u6e05\u695a\u5730\u8868\u793a\u4e3a <code class=\"literal\">0x00030002</code>\u3002</p>\n</p>\n</dd>\n</dl>\n</div>\n<p lang=\"zh\">\u534f\u8bae\u7248\u672c\u53f7\u4e4b\u540e\u662f\u4e00\u4e2a\u6216\u591a\u4e2a\u53c2\u6570\u540d\u4e0e\u53c2\u6570\u503c\u5b57\u7b26\u4e32\u5bf9\u3002\u6700\u540e\u4e00\u4e2a\u540d\u79f0/\u503c\u5bf9\u4e4b\u540e\u5fc5\u987b\u6709\u4e00\u4e2a\u96f6\u5b57\u8282\u4f5c\u4e3a\u7ec8\u6b62\u7b26\u3002\u53c2\u6570\u53ef\u4ee5\u6309\u4efb\u610f\u987a\u5e8f\u51fa\u73b0\u3002\u5176\u4e2d\uff0c<code class=\"literal\">user</code>\u662f\u5fc5\u9700\u7684\uff0c\u5176\u4f59\u5747\u4e3a\u53ef\u9009\u3002\u6bcf\u4e2a\u53c2\u6570\u6309\u4ee5\u4e0b\u65b9\u5f0f\u6307\u5b9a\uff1a</p>\n<div class=\"variablelist\">\n<dl class=\"variablelist\">\n<dt lang=\"zh\">\u5b57\u7b26\u4e32</dt>\n<dd>\n<p lang=\"zh\">\u53c2\u6570\u540d\u79f0\u3002\u76ee\u524d\u80fd\u591f\u8bc6\u522b\u7684\u540d\u79f0\u5982\u4e0b\uff1a</p>\n<div class=\"variablelist\">\n<dl class=\"variablelist\">\n<dt><span class=\"term\"><code class=\"literal\">user</code></span></dt>\n<dd>\n<p lang=\"zh\">\n<p>\u8981\u8fde\u63a5\u7684\u6570\u636e\u5e93\u7528\u6237\u540d\u79f0\u3002\u5fc5\u586b\u9879\uff1b\u6ca1\u6709\u9ed8\u8ba4\u503c\u3002</p>\n</p>\n</dd>\n<dt><span class=\"term\"><code class=\"literal\">database</code></span></dt>\n<dd>\n<p lang=\"zh\">\n<p>\u8981\u8fde\u63a5\u7684\u6570\u636e\u5e93\u3002\u9ed8\u8ba4\u4e3a\u7528\u6237\u540d\u3002</p>\n</p>\n</dd>\n<dt><span class=\"term\"><code class=\"literal\">options</code></span></dt>\n<dd>\n<p lang=\"zh\">\n<p>\u540e\u7aef\u7684\u547d\u4ee4\u884c\u53c2\u6570\u3002\uff08\u5df2\u5f03\u7528\uff0c\u5efa\u8bae\u8bbe\u7f6e\u5355\u72ec\u7684\u8fd0\u884c\u65f6\u53c2\u6570\u3002\uff09\u6b64\u5b57\u7b26\u4e32\u4e2d\u7684\u7a7a\u683c\u88ab\u89c6\u4e3a\u5206\u9694\u53c2\u6570\uff0c\u9664\u975e\u7528\u53cd\u659c\u6760\uff08<code class=\"literal\">\\</code>\uff09\u8f6c\u4e49\uff1b\u5199<code class=\"literal\">\\\\</code>\u8868\u793a\u5b57\u9762\u53cd\u659c\u6760\u3002</p>\n</p>\n</dd>\n<dt><span class=\"term\"><code class=\"literal\">replication</code></span></dt>\n<dd>\n<p lang=\"zh\">\n<p>\u7528\u4e8e\u4ee5\u6d41\u590d\u5236\u6a21\u5f0f\u8fde\u63a5\uff0c\u53ef\u4ee5\u53d1\u51fa\u4e00\u5c0f\u7ec4\u590d\u5236\u547d\u4ee4\u800c\u4e0d\u662fSQL\u8bed\u53e5\u3002\u503c\u53ef\u4ee5\u662f<code class=\"literal\">true</code>\u3001<code class=\"literal\">false</code>\u6216<code class=\"literal\">database</code>\uff0c\u9ed8\u8ba4\u4e3a<code class=\"literal\">false</code>\u3002\u8be6\u7ec6\u4fe1\u606f\u8bf7\u53c2\u89c1<a class=\"xref\" href=\"/docs/devel/protocol-replication.html\" title=\"54.4.\u00a0\u6d41\u590d\u5236\u534f\u8bae\">\u7b2c\u00a054.4\u00a0\u8282</a>\u3002</p>\n</p>\n</dd>\n</dl>\n</div>\n<p lang=\"zh\">\u9664\u4e0a\u8ff0\u4e4b\u5916\uff0c\u8fd8\u53ef\u4ee5\u5217\u51fa\u5176\u4ed6\u53c2\u6570\u3002\u4ee5<code class=\"literal\">_pq_.</code>\u5f00\u5934\u7684\u53c2\u6570\u540d\u79f0\u4fdd\u7559\u7528\u4e8e<a class=\"link\" href=\"/docs/devel/protocol-overview.html#PROTOCOL-EXTENSIONS\" title=\"54.1.5.\u00a0\u534f\u8bae\u6269\u5c55\">\u534f\u8bae\u6269\u5c55</a>\uff0c\u800c\u5176\u4ed6\u53c2\u6570\u88ab\u89c6\u4e3a\u540e\u7aef\u542f\u52a8\u65f6\u8bbe\u7f6e\u7684\u8fd0\u884c\u65f6\u53c2\u6570\u3002\u8fd9\u4e9b\u8bbe\u7f6e\u5c06\u5728\u540e\u7aef\u542f\u52a8\u65f6\u5e94\u7528\uff08\u5728\u89e3\u6790\u547d\u4ee4\u884c\u53c2\u6570\u540e\uff0c\u5982\u679c\u6709\u7684\u8bdd\uff09\uff0c\u5e76\u5c06\u4f5c\u4e3a\u4f1a\u8bdd\u9ed8\u8ba4\u503c\u3002</p>\n</dd>\n<dt lang=\"zh\">\u5b57\u7b26\u4e32</dt>\n<dd>\n<p lang=\"zh\">\n<p>\u53c2\u6570\u503c\u3002</p>\n</p>\n</dd>\n</dl>\n</div>\n</dd></dl>", "manual_path": "/docs/devel/protocol-message-formats.html", "localization": {"status": "complete", "sources": [{"url": "/docs/devel/datatype-json.html", "method": "same-major semantic node", "sha256": "0bfc34c3ea3eb808f83865871c3fdad1265f64037c9a9aab3fecc96f1d1632d1", "language": "zh", "matched_nodes": ["#DATATYPE-JSON/div[19]/pre[27]/em[4]/code[0]"]}, {"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[99]/div[0]/dl[0]/dd[3]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[99]/div[2]/dl[0]/dd[1]/div[1]/dl[0]/dd[1]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[99]/div[2]/dl[0]/dd[1]/div[1]/dl[0]/dd[3]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[99]/div[2]/dl[0]/dd[1]/div[1]/dl[0]/dd[5]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[99]/div[2]/dl[0]/dd[1]/div[1]/dl[0]/dd[7]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[99]/div[2]/dl[0]/dd[1]/p[0]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[99]/div[2]/dl[0]/dd[1]/p[2]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[99]/div[2]/dl[0]/dd[3]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[99]/p[1]"]}], "language": "zh", "original_text": {"/summary": "StartupMessage is a frontend protocol message. Length of message contents in bytes, including self.", "/category": "Frontend messages", "/versions/20/description/0": "StartupMessage is a frontend protocol message. Length of message contents in bytes, including self.", "/versions/20/facts/0/label": "Direction", "/versions/20/facts/0/value": "Frontend \u2192 backend", "/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": "Canceling Requests in Progress; SSL Session Encryption; GSSAPI Session Encryption", "/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": "Canceling Requests in Progress", "/versions/20/related/3/label": "SSL Session Encryption", "/versions/20/related/4/label": "GSSAPI Session Encryption", "/versions/20/sections/0/title": "Framing and repetition", "/versions/20/tables/0/rows/0/c2": "Length of message contents in bytes, including self.", "/versions/20/tables/0/rows/1/c2": "The protocol version number. The most significant 16 bits are the major version number. The least significant 16 bits are the minor version number. As an example protocol version 3.2 is represented as 196610 in decimal or more clearly as 0x00030002 in hexadecimal.", "/versions/20/tables/0/rows/2/c1": "String", "/versions/20/tables/0/rows/2/c2": "The parameter name. Currently recognized names are: user The database user name to connect as. Required; there is no default. database The database to connect to. Defaults to the user name. options Command-line arguments for the backend. (This is deprecated in favor of setting individual run-time parameters.) Spaces within this string are considered to separate arguments, unless escaped with a backslash ( \\ ); write \\\\ to represent a literal backslash. replication Used to connect in streaming replication mode, where a small set of replication commands can be issued instead of SQL statements. Value can be true , false , or database , and the default is false . See Section 54.4 for details. In addition to the above, other parameters may be listed. Parameter names beginning with _pq_. are reserved for use as protocol extensions , while others are treated as run-time parameters to be set at backend start time. Such settings will be applied during backend start (after parsing the command-line arguments if any) and will act as session defaults.", "/versions/20/tables/0/rows/3/c2": "The database user name to connect as. Required; there is no default.", "/versions/20/tables/0/rows/4/c2": "The database to connect to. Defaults to the user name.", "/versions/20/tables/0/rows/5/c2": "Command-line arguments for the backend. (This is deprecated in favor of setting individual run-time parameters.) Spaces within this string are considered to separate arguments, unless escaped with a backslash ( \\ ); write \\\\ to represent a literal backslash.", "/versions/20/tables/0/rows/6/c2": "Used to connect in streaming replication mode, where a small set of replication commands can be issued instead of SQL statements. Value can be true , false , or database , and the default is false . See Section 54.4 for details.", "/versions/20/tables/0/rows/7/c1": "String", "/versions/20/tables/0/rows/7/c2": "The parameter value.", "/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": "f9dd0fa7879487908f6a7614f28641f9725909a81e2de3525f88c853d6442d8a"}, "comparison_data": {"fields": [{"format": "Int32", "description": "Length of message contents in bytes, including self."}, {"format": "Int32", "description": "The protocol version number. The most significant 16 bits are the major version number. The least significant 16 bits are the minor version number. As an example protocol version 3.2 is represented as 196610 in decimal or more clearly as 0x00030002 in hexadecimal."}, {"format": "String", "description": "The parameter name. Currently recognized names are: user The database user name to connect as. Required; there is no default. database The database to connect to. Defaults to the user name. options Command-line arguments for the backend. (This is deprecated in favor of setting individual run-time parameters.) Spaces within this string are considered to separate arguments, unless escaped with a backslash ( \\ ); write \\\\ to represent a literal backslash. replication Used to connect in streaming replication mode, where a small set of replication commands can be issued instead of SQL statements. Value can be true , false , or database , and the default is false . See Section 54.4 for details. In addition to the above, other parameters may be listed. Parameter names beginning with _pq_. are reserved for use as protocol extensions , while others are treated as run-time parameters to be set at backend start time. Such settings will be applied during backend start (after parsing the command-line arguments if any) and will act as session defaults."}, {"format": "user", "description": "The database user name to connect as. Required; there is no default."}, {"format": "database", "description": "The database to connect to. Defaults to the user name."}, {"format": "options", "description": "Command-line arguments for the backend. (This is deprecated in favor of setting individual run-time parameters.) Spaces within this string are considered to separate arguments, unless escaped with a backslash ( \\ ); write \\\\ to represent a literal backslash."}, {"format": "replication", "description": "Used to connect in streaming replication mode, where a small set of replication commands can be issued instead of SQL statements. Value can be true , false , or database , and the default is false . See Section 54.4 for details."}, {"format": "String", "description": "The parameter value."}], "direction": "F"}, "comparison_hash": "555bcf196c68c4eccde02ab4da224aaf20fcdd7d3ae5e89b8d65214e7687c721", "manual_language": "zh"}}}, "snapshot": {"facts": [{"label": "\u65b9\u5411", "value": "\u524d\u7aef \u2192 \u540e\u7aef"}, {"label": "\u9996\u4e2a\u7ebf\u4e0a\u534f\u8bae\u5b57\u6bb5", "value": "Int32"}, {"label": "\u5b57\u6bb5\u6761\u76ee", "value": "8"}, {"label": "\u624b\u518c\u4e2d\u7684\u4ea4\u4e92\u9636\u6bb5", "value": "\u53d6\u6d88\u6b63\u5728\u6267\u884c\u7684\u8bf7\u6c42\uff1bSSL \u4f1a\u8bdd\u52a0\u5bc6\uff1bGSSAPI \u4f1a\u8bdd\u52a0\u5bc6"}], "fields": [{"format": "Int32", "description": "Length of message contents in bytes, including self."}, {"format": "Int32(196610)", "description": "The protocol version number. The most significant 16 bits are the major version number (3 for the protocol described here). The least significant 16 bits are the minor version number (2 for the protocol described here)."}, {"format": "String", "description": "The parameter name. Currently recognized names are: user The database user name to connect as. Required; there is no default. database The database to connect to. Defaults to the user name. options Command-line arguments for the backend. (This is deprecated in favor of setting individual run-time parameters.) Spaces within this string are considered to separate arguments, unless escaped with a backslash ( \\ ); write \\\\ to represent a literal backslash. replication Used to connect in streaming replication mode, where a small set of replication commands can be issued instead of SQL statements. Value can be true , false , or database , and the default is false . See Section 54.4 for details. In addition to the above, other parameters may be listed. Parameter names beginning with _pq_. are reserved for use as protocol extensions, while others are treated as run-time parameters to be set at backend start time. Such settings will be applied during backend start (after parsing the command-line arguments if any) and will act as session defaults."}, {"format": "user", "description": "The database user name to connect as. Required; there is no default."}, {"format": "database", "description": "The database to connect to. Defaults to the user name."}, {"format": "options", "description": "Command-line arguments for the backend. (This is deprecated in favor of setting individual run-time parameters.) Spaces within this string are considered to separate arguments, unless escaped with a backslash ( \\ ); write \\\\ to represent a literal backslash."}, {"format": "replication", "description": "Used to connect in streaming replication mode, where a small set of replication commands can be issued instead of SQL statements. Value can be true , false , or database , and the default is false . See Section 54.4 for details."}, {"format": "String", "description": "The parameter value."}], "tables": [{"key": "fields", "rows": [{"c0": "1", "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": "2", "c1": "Int32(196610)", "c2": "\u534f\u8bae\u7248\u672c\u53f7\u3002\u9ad8 16 \u4f4d\u4e3a\u4e3b\u7248\u672c\u53f7\uff08\u6b64\u5904\u63cf\u8ff0\u7684\u534f\u8bae\u4e3a 3\uff09\uff1b\u4f4e 16 \u4f4d\u4e3a\u6b21\u7248\u672c\u53f7\uff08\u6b64\u5904\u63cf\u8ff0\u7684\u534f\u8bae\u4e3a 2\uff09\u3002"}, {"c0": "3", "c1": "\u5b57\u7b26\u4e32", "c2": "\u53c2\u6570\u540d\u79f0\u3002\u76ee\u524d\u8bc6\u522b\u4ee5\u4e0b\u540d\u79f0\uff1auser \u4e3a\u8fde\u63a5\u6240\u7528\u7684\u6570\u636e\u5e93\u7528\u6237\u540d\uff0c\u5fc5\u586b\u4e14\u6ca1\u6709\u9ed8\u8ba4\u503c\uff1bdatabase \u4e3a\u8981\u8fde\u63a5\u7684\u6570\u636e\u5e93\uff0c\u9ed8\u8ba4\u4e3a\u7528\u6237\u540d\uff1boptions \u4e3a\u4f20\u7ed9\u540e\u7aef\u7684\u547d\u4ee4\u884c\u53c2\u6570\uff0c\u6b64\u7528\u6cd5\u5df2\u5f03\u7528\uff0c\u5efa\u8bae\u5355\u72ec\u8bbe\u7f6e\u5404\u8fd0\u884c\u65f6\u53c2\u6570\u3002options \u5b57\u7b26\u4e32\u4e2d\u7684\u7a7a\u683c\u7528\u4e8e\u5206\u9694\u53c2\u6570\uff0c\u9664\u975e\u7528\u53cd\u659c\u6760\uff08\\\uff09\u8f6c\u4e49\uff1b\u4e24\u4e2a\u53cd\u659c\u6760\uff08\\\\\uff09\u8868\u793a\u4e00\u4e2a\u5b57\u9762\u53cd\u659c\u6760\u3002replication \u7528\u4e8e\u4ee5\u6d41\u590d\u5236\u6a21\u5f0f\u8fde\u63a5\uff0c\u6b64\u65f6\u53ef\u6267\u884c\u5c11\u91cf\u590d\u5236\u547d\u4ee4\u800c\u975e SQL \u8bed\u53e5\uff0c\u5176\u503c\u53ef\u4e3a true\u3001false \u6216 database\uff0c\u9ed8\u8ba4\u4e3a false\uff0c\u8be6\u60c5\u53c2\u89c1\u7b2c 54.4 \u8282\u3002\u8fd8\u53ef\u4ee5\u5217\u51fa\u5176\u4ed6\u53c2\u6570\uff1a\u4ee5 _pq_. \u5f00\u5934\u7684\u540d\u79f0\u4fdd\u7559\u7ed9\u534f\u8bae\u6269\u5c55\uff0c\u5176\u4ed6\u540d\u79f0\u88ab\u89c6\u4e3a\u540e\u7aef\u542f\u52a8\u65f6\u8bbe\u7f6e\u7684\u8fd0\u884c\u65f6\u53c2\u6570\u3002\u8fd9\u4e9b\u8bbe\u7f6e\u5728\u540e\u7aef\u542f\u52a8\u65f6\uff08\u82e5\u6709\u547d\u4ee4\u884c\u53c2\u6570\uff0c\u5219\u5728\u5176\u89e3\u6790\u4e4b\u540e\uff09\u5e94\u7528\uff0c\u5e76\u4f5c\u4e3a\u4f1a\u8bdd\u9ed8\u8ba4\u503c\u3002"}, {"c0": "4", "c1": "user", "c2": "\u8981\u8fde\u63a5\u7684\u6570\u636e\u5e93\u7528\u6237\u540d\u79f0\u3002\u5fc5\u586b\u9879\uff1b\u6ca1\u6709\u9ed8\u8ba4\u503c\u3002"}, {"c0": "5", "c1": "database", "c2": "\u8981\u8fde\u63a5\u7684\u6570\u636e\u5e93\u3002\u9ed8\u8ba4\u4e3a\u7528\u6237\u540d\u3002"}, {"c0": "6", "c1": "options", "c2": "\u540e\u7aef\u7684\u547d\u4ee4\u884c\u53c2\u6570\u3002\uff08\u5df2\u5f03\u7528\uff0c\u5efa\u8bae\u8bbe\u7f6e\u5355\u72ec\u7684\u8fd0\u884c\u65f6\u53c2\u6570\u3002\uff09\u6b64\u5b57\u7b26\u4e32\u4e2d\u7684\u7a7a\u683c\u88ab\u89c6\u4e3a\u5206\u9694\u53c2\u6570\uff0c\u9664\u975e\u7528\u53cd\u659c\u6760\uff08 \\ \uff09\u8f6c\u4e49\uff1b\u5199 \\\\ \u8868\u793a\u5b57\u9762\u53cd\u659c\u6760\u3002"}, {"c0": "7", "c1": "replication", "c2": "\u7528\u4e8e\u4ee5\u6d41\u590d\u5236\u6a21\u5f0f\u8fde\u63a5\uff0c\u53ef\u4ee5\u53d1\u51fa\u4e00\u5c0f\u7ec4\u590d\u5236\u547d\u4ee4\u800c\u4e0d\u662fSQL\u8bed\u53e5\u3002\u503c\u53ef\u4ee5\u662f true \u3001 false \u6216 database \uff0c\u9ed8\u8ba4\u4e3a false \u3002\u8be6\u7ec6\u4fe1\u606f\u8bf7\u53c2\u89c1 \u7b2c 54.4 \u8282 \u3002"}, {"c0": "8", "c1": "\u5b57\u7b26\u4e32", "c2": "\u53c2\u6570\u503c\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-CANCELING-REQUESTS", "label": "\u53d6\u6d88\u6b63\u5728\u6267\u884c\u7684\u8bf7\u6c42"}, {"url": "/docs/18/protocol-flow.html#PROTOCOL-FLOW-SSL", "label": "SSL \u4f1a\u8bdd\u52a0\u5bc6"}, {"url": "/docs/18/protocol-flow.html#PROTOCOL-FLOW-GSSAPI", "label": "GSSAPI \u4f1a\u8bdd\u52a0\u5bc6"}], "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": "https://pg.center/docs/18/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS-STARTUPMESSAGE", "path": "protocol-message-formats.html", "label": "PostgreSQL 18 English manual", "sha256": "53f37652ac2c089e30ada87d8aee7bdd0f26695b03f275302e526a807d2a1f23", "language": "en", "original_url": "/docs/18/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS-STARTUPMESSAGE"}], "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"]}], "direction": "F", "signature": "StartupMessage (F)", "description": ["StartupMessage \u662f\u524d\u7aef\u534f\u8bae\u6d88\u606f\u3002\u6d88\u606f\u5185\u5bb9\u957f\u5ea6\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff0c\u5305\u542b\u957f\u5ea6\u5b57\u6bb5\u672c\u8eab\u3002"], "manual_html": "<dl><dd>\n<div class=\"variablelist\">\n<dl class=\"variablelist\">\n<dt><span class=\"term\">Int32</span></dt>\n<dd>\n<p lang=\"zh\">\n<p>\u6d88\u606f\u5185\u5bb9\u7684\u957f\u5ea6\uff08\u4ee5\u5b57\u8282\u4e3a\u5355\u4f4d\uff09\uff0c\u5305\u62ec\u5176\u81ea\u8eab\u3002</p>\n</p>\n</dd>\n<dt><span class=\"term\">Int32(196610)</span></dt>\n<dd>\n<p lang=\"zh\">\n<p>\u534f\u8bae\u7248\u672c\u53f7\u3002\u9ad8 16 \u4f4d\u4e3a\u4e3b\u7248\u672c\u53f7\uff08\u6b64\u5904\u63cf\u8ff0\u7684\u534f\u8bae\u4e3a 3\uff09\uff1b\u4f4e 16 \u4f4d\u4e3a\u6b21\u7248\u672c\u53f7\uff08\u6b64\u5904\u63cf\u8ff0\u7684\u534f\u8bae\u4e3a 2\uff09\u3002</p>\n</p>\n</dd>\n</dl>\n</div>\n<p lang=\"zh\">\u534f\u8bae\u7248\u672c\u53f7\u4e4b\u540e\u662f\u4e00\u4e2a\u6216\u591a\u4e2a\u53c2\u6570\u540d\u4e0e\u53c2\u6570\u503c\u5b57\u7b26\u4e32\u5bf9\u3002\u6700\u540e\u4e00\u4e2a\u540d\u79f0/\u503c\u5bf9\u4e4b\u540e\u5fc5\u987b\u6709\u4e00\u4e2a\u96f6\u5b57\u8282\u4f5c\u4e3a\u7ec8\u6b62\u7b26\u3002\u53c2\u6570\u53ef\u4ee5\u6309\u4efb\u610f\u987a\u5e8f\u51fa\u73b0\u3002\u5176\u4e2d\uff0c<code class=\"literal\">user</code>\u662f\u5fc5\u9700\u7684\uff0c\u5176\u4f59\u5747\u4e3a\u53ef\u9009\u3002\u6bcf\u4e2a\u53c2\u6570\u6309\u4ee5\u4e0b\u65b9\u5f0f\u6307\u5b9a\uff1a</p>\n<div class=\"variablelist\">\n<dl class=\"variablelist\">\n<dt lang=\"zh\">\u5b57\u7b26\u4e32</dt>\n<dd>\n<p lang=\"zh\">\u53c2\u6570\u540d\u79f0\u3002\u76ee\u524d\u80fd\u591f\u8bc6\u522b\u7684\u540d\u79f0\u5982\u4e0b\uff1a</p>\n<div class=\"variablelist\">\n<dl class=\"variablelist\">\n<dt><span class=\"term\"><code class=\"literal\">user</code></span></dt>\n<dd>\n<p lang=\"zh\">\n<p>\u8981\u8fde\u63a5\u7684\u6570\u636e\u5e93\u7528\u6237\u540d\u79f0\u3002\u5fc5\u586b\u9879\uff1b\u6ca1\u6709\u9ed8\u8ba4\u503c\u3002</p>\n</p>\n</dd>\n<dt><span class=\"term\"><code class=\"literal\">database</code></span></dt>\n<dd>\n<p lang=\"zh\">\n<p>\u8981\u8fde\u63a5\u7684\u6570\u636e\u5e93\u3002\u9ed8\u8ba4\u4e3a\u7528\u6237\u540d\u3002</p>\n</p>\n</dd>\n<dt><span class=\"term\"><code class=\"literal\">options</code></span></dt>\n<dd>\n<p lang=\"zh\">\n<p>\u540e\u7aef\u7684\u547d\u4ee4\u884c\u53c2\u6570\u3002\uff08\u5df2\u5f03\u7528\uff0c\u5efa\u8bae\u8bbe\u7f6e\u5355\u72ec\u7684\u8fd0\u884c\u65f6\u53c2\u6570\u3002\uff09\u6b64\u5b57\u7b26\u4e32\u4e2d\u7684\u7a7a\u683c\u88ab\u89c6\u4e3a\u5206\u9694\u53c2\u6570\uff0c\u9664\u975e\u7528\u53cd\u659c\u6760\uff08<code class=\"literal\">\\</code>\uff09\u8f6c\u4e49\uff1b\u5199<code class=\"literal\">\\\\</code>\u8868\u793a\u5b57\u9762\u53cd\u659c\u6760\u3002</p>\n</p>\n</dd>\n<dt><span class=\"term\"><code class=\"literal\">replication</code></span></dt>\n<dd>\n<p lang=\"zh\">\n<p>\u7528\u4e8e\u4ee5\u6d41\u590d\u5236\u6a21\u5f0f\u8fde\u63a5\uff0c\u53ef\u4ee5\u53d1\u51fa\u4e00\u5c0f\u7ec4\u590d\u5236\u547d\u4ee4\u800c\u4e0d\u662fSQL\u8bed\u53e5\u3002\u503c\u53ef\u4ee5\u662f<code class=\"literal\">true</code>\u3001<code class=\"literal\">false</code>\u6216<code class=\"literal\">database</code>\uff0c\u9ed8\u8ba4\u4e3a<code class=\"literal\">false</code>\u3002\u8be6\u7ec6\u4fe1\u606f\u8bf7\u53c2\u89c1<a class=\"xref\" href=\"/docs/18/protocol-replication.html\" title=\"54.4.\u00a0\u6d41\u590d\u5236\u534f\u8bae\">\u7b2c\u00a054.4\u00a0\u8282</a>\u3002</p>\n</p>\n</dd>\n</dl>\n</div>\n<p lang=\"zh\">\u9664\u4e0a\u8ff0\u53c2\u6570\u5916\uff0c\u8fd8\u53ef\u4ee5\u5217\u51fa\u5176\u4ed6\u53c2\u6570\u3002\u4ee5<code class=\"literal\">_pq_.</code>\u5f00\u5934\u7684\u53c2\u6570\u540d\u79f0\u4fdd\u7559\u7528\u4e8e\u534f\u8bae\u6269\u5c55\uff0c\u5176\u4f59\u53c2\u6570\u5219\u4f5c\u4e3a\u8fd0\u884c\u65f6\u53c2\u6570\uff0c\u5728\u540e\u7aef\u542f\u52a8\u65f6\u8bbe\u7f6e\u3002\u8fd9\u4e9b\u8bbe\u7f6e\u4f1a\u5728\u540e\u7aef\u542f\u52a8\u671f\u95f4\u5e94\u7528\uff08\u5728\u89e3\u6790\u547d\u4ee4\u884c\u53c2\u6570\u4e4b\u540e\uff0c\u5982\u679c\u6709\u7684\u8bdd\uff09\uff0c\u5e76\u4f5c\u4e3a\u4f1a\u8bdd\u9ed8\u8ba4\u503c\u3002</p>\n</dd>\n<dt lang=\"zh\">\u5b57\u7b26\u4e32</dt>\n<dd>\n<p lang=\"zh\">\n<p>\u53c2\u6570\u503c\u3002</p>\n</p>\n</dd>\n</dl>\n</div>\n</dd></dl>", "manual_path": "/docs/18/protocol-message-formats.html", "localization": {"status": "complete", "sources": [{"url": "/docs/18/datatype-json.html", "method": "same-major semantic node", "sha256": "b9e8f98a0b5f2a4ec7b5197d02ab40c0ac0635a678c32728aaadd43cb4cd3766", "language": "zh", "matched_nodes": ["#DATATYPE-JSON/div[19]/pre[27]/em[4]/code[0]"]}, {"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[99]/div[0]/dl[0]/dd[3]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[99]/div[2]/dl[0]/dd[1]/div[1]/dl[0]/dd[1]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[99]/div[2]/dl[0]/dd[1]/div[1]/dl[0]/dd[3]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[99]/div[2]/dl[0]/dd[1]/div[1]/dl[0]/dd[5]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[99]/div[2]/dl[0]/dd[1]/div[1]/dl[0]/dd[7]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[99]/div[2]/dl[0]/dd[1]/p[0]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[99]/div[2]/dl[0]/dd[1]/p[2]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[99]/div[2]/dl[0]/dd[3]", "#PROTOCOL-MESSAGE-FORMATS/div[2]/dl[0]/dd[99]/p[1]"]}], "language": "zh", "original_text": {"/versions/18/description/0": "StartupMessage is a frontend protocol message. Length of message contents in bytes, including self.", "/versions/18/facts/0/label": "Direction", "/versions/18/facts/0/value": "Frontend \u2192 backend", "/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": "Canceling Requests in Progress; SSL Session Encryption; GSSAPI Session Encryption", "/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": "Canceling Requests in Progress", "/versions/18/related/3/label": "SSL Session Encryption", "/versions/18/related/4/label": "GSSAPI Session Encryption", "/versions/18/sections/0/title": "Framing and repetition", "/versions/18/tables/0/rows/0/c2": "Length of message contents in bytes, including self.", "/versions/18/tables/0/rows/1/c2": "The protocol version number. The most significant 16 bits are the major version number (3 for the protocol described here). The least significant 16 bits are the minor version number (2 for the protocol described here).", "/versions/18/tables/0/rows/2/c1": "String", "/versions/18/tables/0/rows/2/c2": "The parameter name. Currently recognized names are: user The database user name to connect as. Required; there is no default. database The database to connect to. Defaults to the user name. options Command-line arguments for the backend. (This is deprecated in favor of setting individual run-time parameters.) Spaces within this string are considered to separate arguments, unless escaped with a backslash ( \\ ); write \\\\ to represent a literal backslash. replication Used to connect in streaming replication mode, where a small set of replication commands can be issued instead of SQL statements. Value can be true , false , or database , and the default is false . See Section 54.4 for details. In addition to the above, other parameters may be listed. Parameter names beginning with _pq_. are reserved for use as protocol extensions, while others are treated as run-time parameters to be set at backend start time. Such settings will be applied during backend start (after parsing the command-line arguments if any) and will act as session defaults.", "/versions/18/tables/0/rows/3/c2": "The database user name to connect as. Required; there is no default.", "/versions/18/tables/0/rows/4/c2": "The database to connect to. Defaults to the user name.", "/versions/18/tables/0/rows/5/c2": "Command-line arguments for the backend. (This is deprecated in favor of setting individual run-time parameters.) Spaces within this string are considered to separate arguments, unless escaped with a backslash ( \\ ); write \\\\ to represent a literal backslash.", "/versions/18/tables/0/rows/6/c2": "Used to connect in streaming replication mode, where a small set of replication commands can be issued instead of SQL statements. Value can be true , false , or database , and the default is false . See Section 54.4 for details.", "/versions/18/tables/0/rows/7/c1": "String", "/versions/18/tables/0/rows/7/c2": "The parameter value.", "/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": "c9df1ff939cbebc107c3b40127042beae84c2d025717a91f0a2406bf515aef7d"}, "comparison_data": {"fields": [{"format": "Int32", "description": "Length of message contents in bytes, including self."}, {"format": "Int32(196610)", "description": "The protocol version number. The most significant 16 bits are the major version number (3 for the protocol described here). The least significant 16 bits are the minor version number (2 for the protocol described here)."}, {"format": "String", "description": "The parameter name. Currently recognized names are: user The database user name to connect as. Required; there is no default. database The database to connect to. Defaults to the user name. options Command-line arguments for the backend. (This is deprecated in favor of setting individual run-time parameters.) Spaces within this string are considered to separate arguments, unless escaped with a backslash ( \\ ); write \\\\ to represent a literal backslash. replication Used to connect in streaming replication mode, where a small set of replication commands can be issued instead of SQL statements. Value can be true , false , or database , and the default is false . See Section 54.4 for details. In addition to the above, other parameters may be listed. Parameter names beginning with _pq_. are reserved for use as protocol extensions, while others are treated as run-time parameters to be set at backend start time. Such settings will be applied during backend start (after parsing the command-line arguments if any) and will act as session defaults."}, {"format": "user", "description": "The database user name to connect as. Required; there is no default."}, {"format": "database", "description": "The database to connect to. Defaults to the user name."}, {"format": "options", "description": "Command-line arguments for the backend. (This is deprecated in favor of setting individual run-time parameters.) Spaces within this string are considered to separate arguments, unless escaped with a backslash ( \\ ); write \\\\ to represent a literal backslash."}, {"format": "replication", "description": "Used to connect in streaming replication mode, where a small set of replication commands can be issued instead of SQL statements. Value can be true , false , or database , and the default is false . See Section 54.4 for details."}, {"format": "String", "description": "The parameter value."}], "direction": "F"}, "comparison_hash": "b0e84a6731a2fc6c6bfa894a55c348aad046b4626f513682066294ceadc90424", "manual_language": "zh"}, "comparison": {"left": "10", "right": "11", "status": "changed", "diff": "--- PostgreSQL 10\n+++ PostgreSQL 11\n@@ -10,7 +10,7 @@\n       \"format\": \"Int32(196608)\"\n     },\n     {\n-      \"description\": \"The parameter name. Currently recognized names are: user The database user name to connect as. Required; there is no default. database The database to connect to. Defaults to the user name. options Command-line arguments for the backend. (This is deprecated in favor of setting individual run-time parameters.) Spaces within this string are considered to separate arguments, unless escaped with a backslash ( \\\\ ); write \\\\\\\\ to represent a literal backslash. replication Used to connect in streaming replication mode, where a small set of replication commands can be issued instead of SQL statements. Value can be true , false , or database , and the default is false . See Section 52.4 for details. In addition to the above, other parameters may be listed. Parameter names beginning with _pq_. are reserved for use as protocol extensions, while others are treated as run-time parameters to be set at backend start time. Such settings will be applied during backend start (after parsing the command-line arguments if any) and will act as session defaults.\",\n+      \"description\": \"The parameter name. Currently recognized names are: user The database user name to connect as. Required; there is no default. database The database to connect to. Defaults to the user name. options Command-line arguments for the backend. (This is deprecated in favor of setting individual run-time parameters.) Spaces within this string are considered to separate arguments, unless escaped with a backslash ( \\\\ ); write \\\\\\\\ to represent a literal backslash. replication Used to connect in streaming replication mode, where a small set of replication commands can be issued instead of SQL statements. Value can be true , false , or database , and the default is false . See Section 53.4 for details. In addition to the above, other parameters may be listed. Parameter names beginning with _pq_. are reserved for use as protocol extensions, while others are treated as run-time parameters to be set at backend start time. Such settings will be applied during backend start (after parsing the command-line arguments if any) and will act as session defaults.\",\n       \"format\": \"String\"\n     },\n     {\n@@ -26,7 +26,7 @@\n       \"format\": \"options\"\n     },\n     {\n-      \"description\": \"Used to connect in streaming replication mode, where a small set of replication commands can be issued instead of SQL statements. Value can be true , false , or database , and the default is false . See Section 52.4 for details.\",\n+      \"description\": \"Used to connect in streaming replication mode, where a small set of replication commands can be issued instead of SQL statements. Value can be true , false , or database , and the default is false . See Section 53.4 for details.\",\n       \"format\": \"replication\"\n     },\n     {"}}