{"Entry":{"collection":"protocol","key":"execute-f","name":"Execute","aliases":["Execute","Byte1('E')"],"metadata":{"aliases":["Execute","Byte1('E')"],"category":"Frontend messages","content_hash":"2d0bdc52d53e324a12e300c292472a9f1b65fba1682c9292b097ff56743d9d02","derived_content_hash":"78547dafcc2ddb1213d8fe52798f88d05d3e80c5eb366da37ab46779350e1674","imported_at":"2026-09-30T00:40:44.543339+08:00","name":"Execute","name_zh":"","slug":"execute-f","summary":"Execute is a frontend protocol message. Identifies the message as an Execute command."}},"Definition":{"Collection":"protocol","Key":"execute-f","SourceDatabase":"center","Version":"18","SourceTable":"protocol_message","SourceKey":"execute-f","SourceRevision":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f","Facts":{"comparison_data":{"direction":"F","fields":[{"description":"Identifies the message as an Execute command.","format":"Byte1('E')"},{"description":"Length of message contents in bytes, including self.","format":"Int32"},{"description":"The name of the portal to execute (an empty string selects the unnamed portal).","format":"String"},{"description":"Maximum number of rows to return, if portal contains a query that returns rows (ignored otherwise). Zero denotes “ no limit ” .","format":"Int32"}]},"comparison_hash":"48d9f162b7570b835ae0fa00313ea1a24167e96d1b0e1058c8d9ef6848e8839a","description":["Execute is a frontend protocol message. Identifies the message as an Execute command."],"description_zh":"Byte1('E') 将该消息标识为 Execute 命令。 Int32 消息内容的长度（以字节为单位），包括其自身。 String 要执行的 portal 的名称（空字符串选择未命名的 portal）。 Int32 如果 portal 包含返回行的查询，则这是最多返回的行数（否则忽略此值）。零表示 “ 无限制 ” 。","description_zh_html":"\u003cp\u003e协议消息 Execute (F)。\u003c/p\u003e\u003ch3\u003e同版本中文手册定义\u003c/h3\u003e\u003cdd\u003e\u003cdiv class=\"variablelist\"\u003e\u003cdl class=\"variablelist\"\u003e\u003cdt\u003e\u003cspan class=\"term\"\u003eByte1('E')\u003c/span\u003e \u003c/dt\u003e\u003cdd\u003e\u003cp\u003e\n         将该消息标识为 Execute 命令。\n        \u003c/p\u003e\u003c/dd\u003e\u003cdt\u003e\u003cspan class=\"term\"\u003eInt32\u003c/span\u003e \u003c/dt\u003e\u003cdd\u003e\u003cp\u003e\n         消息内容的长度（以字节为单位），包括其自身。\n        \u003c/p\u003e\u003c/dd\u003e\u003cdt\u003e\u003cspan class=\"term\"\u003eString\u003c/span\u003e \u003c/dt\u003e\u003cdd\u003e\u003cp\u003e\n         要执行的 portal 的名称（空字符串选择未命名的 portal）。\n        \u003c/p\u003e\u003c/dd\u003e\u003cdt\u003e\u003cspan class=\"term\"\u003eInt32\u003c/span\u003e \u003c/dt\u003e\u003cdd\u003e\u003cp\u003e\n         如果 portal 包含返回行的查询，则这是最多返回的行数（否则忽略此值）。零表示\u003cspan class=\"quote\"\u003e“\u003cspan class=\"quote\"\u003e无限制\u003c/span\u003e”\u003c/span\u003e。\n        \u003c/p\u003e\u003c/dd\u003e\u003c/dl\u003e\u003c/div\u003e\u003c/dd\u003e\u003cp\u003e\u003ca href=\"/zh/docs/18/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS-EXECUTE\"\u003e查看完整中文手册与上下文\u003c/a\u003e。\u003c/p\u003e","direction":"F","facts":[{"label":"Direction","value":"Frontend → backend"},{"label":"First wire field","value":"Byte1('E')"},{"label":"Field entries","value":"4"},{"label":"Documented flow contexts","value":"Extended Query; Function Call; COPY Operations"}],"facts_zh":[{"label":"方向","value":"前端 → 后端"},{"label":"首个线上协议字段","value":"Byte1('E')"},{"label":"字段条目","value":"4"},{"label":"手册中的交互阶段","value":"扩展查询；函数调用；COPY 操作"}],"fields":[{"description":"Identifies the message as an Execute command.","format":"Byte1('E')"},{"description":"Length of message contents in bytes, including self.","format":"Int32"},{"description":"The name of the portal to execute (an empty string selects the unnamed portal).","format":"String"},{"description":"Maximum number of rows to return, if portal contains a query that returns rows (ignored otherwise). Zero denotes “ no limit ” .","format":"Int32"}],"manual_html":"\u003cdl\u003e\u003cdd\u003e\n\u003cdiv class=\"variablelist\"\u003e\n\u003cdl class=\"variablelist\"\u003e\n\u003cdt\u003e\u003cspan class=\"term\"\u003eByte1('E')\u003c/span\u003e\u003c/dt\u003e\n\u003cdd\u003e\n\u003cp\u003eIdentifies the message as an Execute command.\u003c/p\u003e\n\u003c/dd\u003e\n\u003cdt\u003e\u003cspan class=\"term\"\u003eInt32\u003c/span\u003e\u003c/dt\u003e\n\u003cdd\u003e\n\u003cp\u003eLength of message contents in bytes, including self.\u003c/p\u003e\n\u003c/dd\u003e\n\u003cdt\u003e\u003cspan class=\"term\"\u003eString\u003c/span\u003e\u003c/dt\u003e\n\u003cdd\u003e\n\u003cp\u003eThe name of the portal to execute (an empty string selects the unnamed portal).\u003c/p\u003e\n\u003c/dd\u003e\n\u003cdt\u003e\u003cspan class=\"term\"\u003eInt32\u003c/span\u003e\u003c/dt\u003e\n\u003cdd\u003e\n\u003cp\u003eMaximum number of rows to return, if portal contains a query that returns rows (ignored otherwise). Zero denotes \u003cspan class=\"quote\"\u003e“\u003cspan class=\"quote\"\u003eno limit\u003c/span\u003e”\u003c/span\u003e.\u003c/p\u003e\n\u003c/dd\u003e\n\u003c/dl\u003e\n\u003c/div\u003e\n\u003c/dd\u003e\u003c/dl\u003e","manual_path":"/docs/18/protocol-message-formats.html","related":[{"label":"Protocol flow and exchange examples","url":"/docs/18/protocol-flow.html"},{"label":"Protocol overview","url":"/docs/18/protocol-overview.html"},{"label":"Extended Query","url":"/docs/18/protocol-flow.html#PROTOCOL-FLOW-EXT-QUERY"},{"label":"Function Call","url":"/docs/18/protocol-flow.html#PROTOCOL-FLOW-FUNCTION-CALL"},{"label":"COPY Operations","url":"/docs/18/protocol-flow.html#PROTOCOL-COPY"}],"release":{"channel":"stable","label":"18.6","major":"18","ref":"https://ftp.postgresql.org/pub/source/v18.6/postgresql-18.6.tar.bz2","revision":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"},"sections":[{"paragraphs":["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."],"title":"Framing and repetition"}],"sections_zh":[{"paragraphs":["下方完整定义保留重复项、计数与条件字段。表格行号表示文档中的字段定义，并非固定字节偏移量。整数编码与交互流程以同版本协议章节为准。"],"title":"消息边界与重复字段"}],"signature":"Execute (F)","sources":[{"label":"PostgreSQL 18 English manual","path":"protocol-message-formats.html","sha256":"53f37652ac2c089e30ada87d8aee7bdd0f26695b03f275302e526a807d2a1f23","url":"/docs/18/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS-EXECUTE"}],"tables":[{"columns":[{"key":"c0","label":"Position"},{"key":"c1","label":"Format"},{"key":"c2","label":"Meaning"}],"key":"fields","rows":[{"c0":"1","c1":"Byte1('E')","c2":"Identifies the message as an Execute command."},{"c0":"2","c1":"Int32","c2":"Length of message contents in bytes, including self."},{"c0":"3","c1":"String","c2":"The name of the portal to execute (an empty string selects the unnamed portal)."},{"c0":"4","c1":"Int32","c2":"Maximum number of rows to return, if portal contains a query that returns rows (ignored otherwise). Zero denotes “ no limit ” ."}],"title":"Wire fields in documented order"}],"tables_zh":[{"columns":[{"key":"c0","label":"位置"},{"key":"c1","label":"格式"},{"key":"c2","label":"含义"}],"key":"fields","rows":[{"c0":"1","c1":"Byte1('E')","c2":"将该消息标识为 Execute 命令。"},{"c0":"2","c1":"Int32","c2":"消息内容的长度（以字节为单位），包括其自身。"},{"c0":"3","c1":"字符串","c2":"要执行的 portal 的名称（空字符串选择未命名的 portal）。"},{"c0":"4","c1":"Int32","c2":"如果 portal 包含返回行的查询，则这是最多返回的行数（否则忽略此值）。零表示 “ 无限制 ” 。"}],"title":"按手册顺序排列的线上协议字段"}],"zh_from":{"authored_translation":"source-derived-identity","body_sha256":"8086c097a9dc93a34465f46cc55381ff637520ea732e7479f18b06c9ab01f773","kind":"same-version-chinese-manual-with-source-derived-identity","manual":{"anchor":"PROTOCOL-MESSAGE-FORMATS-EXECUTE","build_id":107,"extraction":"exact-definition","fragment_sha256":"6792476c7753f48869e789ce13dd3f784b1ba9d3edc6c1209b52ede6f3e1f2fa","locale":"zh-Hans","page_key":"protocol-message-formats.html","source_hash":"0be0a37b38d80c96c157ca9fcfe9222995654664aad8136f7ac2b1b552f6753a","source_revision":"unknown:rendered-translation-baseline","translated_from_revision":null,"translation_revision":"git:b1b500221dbe5437cfca004d6b04d3f6e422765d;html-sha256:08e987a66af27b98444a8057c256314eafa13611a3fb9e888214fc436824244b","url":"/zh/docs/18/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS-EXECUTE","version":"18"},"runtime_rerun":false,"source_facts_revision":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"}},"ManualEvidence":{"manual_path":"/docs/18/protocol-message-formats.html","release":{"channel":"stable","label":"18.6","major":"18","ref":"https://ftp.postgresql.org/pub/source/v18.6/postgresql-18.6.tar.bz2","revision":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"},"sources":[{"label":"PostgreSQL 18 English manual","path":"protocol-message-formats.html","sha256":"53f37652ac2c089e30ada87d8aee7bdd0f26695b03f275302e526a807d2a1f23","url":"/docs/18/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS-EXECUTE"}]},"MeasuredEvidence":{}},"Text":{"Collection":"protocol","Key":"execute-f","SourceDatabase":"center","Version":"18","Locale":"en","Title":"Execute","Summary":"Execute is a frontend protocol message. Identifies the message as an Execute command.","BodyHTML":"\u003cdl\u003e\u003cdd\u003e\n\u003cdiv\u003e\n\u003cdl\u003e\n\u003cdt\u003e\u003cspan\u003eByte1(\u0026#39;E\u0026#39;)\u003c/span\u003e\u003c/dt\u003e\n\u003cdd\u003e\n\u003cp\u003eIdentifies the message as an Execute command.\u003c/p\u003e\n\u003c/dd\u003e\n\u003cdt\u003e\u003cspan\u003eInt32\u003c/span\u003e\u003c/dt\u003e\n\u003cdd\u003e\n\u003cp\u003eLength of message contents in bytes, including self.\u003c/p\u003e\n\u003c/dd\u003e\n\u003cdt\u003e\u003cspan\u003eString\u003c/span\u003e\u003c/dt\u003e\n\u003cdd\u003e\n\u003cp\u003eThe name of the portal to execute (an empty string selects the unnamed portal).\u003c/p\u003e\n\u003c/dd\u003e\n\u003cdt\u003e\u003cspan\u003eInt32\u003c/span\u003e\u003c/dt\u003e\n\u003cdd\u003e\n\u003cp\u003eMaximum number of rows to return, if portal contains a query that returns rows (ignored otherwise). Zero denotes \u003cspan\u003e“\u003cspan\u003eno limit\u003c/span\u003e”\u003c/span\u003e.\u003c/p\u003e\n\u003c/dd\u003e\n\u003c/dl\u003e\n\u003c/div\u003e\n\u003c/dd\u003e\u003c/dl\u003e","SourceRevision":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f","ContentHash":"790c916e3829e62e44335a0885406eef1701640ddf80881b6243283f50c6b1ff","Payload":{"description":["Execute is a frontend protocol message. Identifies the message as an Execute command."],"manual_html":"\u003cdl\u003e\u003cdd\u003e\n\u003cdiv class=\"variablelist\"\u003e\n\u003cdl class=\"variablelist\"\u003e\n\u003cdt\u003e\u003cspan class=\"term\"\u003eByte1('E')\u003c/span\u003e\u003c/dt\u003e\n\u003cdd\u003e\n\u003cp\u003eIdentifies the message as an Execute command.\u003c/p\u003e\n\u003c/dd\u003e\n\u003cdt\u003e\u003cspan class=\"term\"\u003eInt32\u003c/span\u003e\u003c/dt\u003e\n\u003cdd\u003e\n\u003cp\u003eLength of message contents in bytes, including self.\u003c/p\u003e\n\u003c/dd\u003e\n\u003cdt\u003e\u003cspan class=\"term\"\u003eString\u003c/span\u003e\u003c/dt\u003e\n\u003cdd\u003e\n\u003cp\u003eThe name of the portal to execute (an empty string selects the unnamed portal).\u003c/p\u003e\n\u003c/dd\u003e\n\u003cdt\u003e\u003cspan class=\"term\"\u003eInt32\u003c/span\u003e\u003c/dt\u003e\n\u003cdd\u003e\n\u003cp\u003eMaximum number of rows to return, if portal contains a query that returns rows (ignored otherwise). Zero denotes \u003cspan class=\"quote\"\u003e“\u003cspan class=\"quote\"\u003eno limit\u003c/span\u003e”\u003c/span\u003e.\u003c/p\u003e\n\u003c/dd\u003e\n\u003c/dl\u003e\n\u003c/div\u003e\n\u003c/dd\u003e\u003c/dl\u003e","related":[{"label":"Protocol flow and exchange examples","url":"/docs/18/protocol-flow.html"},{"label":"Protocol overview","url":"/docs/18/protocol-overview.html"},{"label":"Extended Query","url":"/docs/18/protocol-flow.html#PROTOCOL-FLOW-EXT-QUERY"},{"label":"Function Call","url":"/docs/18/protocol-flow.html#PROTOCOL-FLOW-FUNCTION-CALL"},{"label":"COPY Operations","url":"/docs/18/protocol-flow.html#PROTOCOL-COPY"}],"sections":[{"paragraphs":["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."],"title":"Framing and repetition"}],"tables":[{"columns":[{"key":"c0","label":"Position"},{"key":"c1","label":"Format"},{"key":"c2","label":"Meaning"}],"key":"fields","rows":[{"c0":"1","c1":"Byte1('E')","c2":"Identifies the message as an Execute command."},{"c0":"2","c1":"Int32","c2":"Length of message contents in bytes, including self."},{"c0":"3","c1":"String","c2":"The name of the portal to execute (an empty string selects the unnamed portal)."},{"c0":"4","c1":"Int32","c2":"Maximum number of rows to return, if portal contains a query that returns rows (ignored otherwise). Zero denotes “ no limit ” ."}],"title":"Wire fields in documented order"}]}},"RequestedLocale":"en","Fallback":false,"Versions":["10","11","12","13","14","15","16","17","18","19","20"],"Locales":["en","zh-Hans"],"Signatures":null,"Spellings":null,"SQLState":null,"Evidence":null}
