↑↓ 选择↵ 打开⌫ 切换范围完整搜索

PG.CENTER 连接 PostgreSQL 文档、百科与生态知识。由 Pigsty 维护。

Wiki / 执行计划

ModifyTable

Performs the data-modification operation selected by the plan and produces RETURNING rows when requested.

当前阅读 PG 18·选择有来源记录的版本

此版本暂无所选语言的定义,以下显示原始英文内容。

Core node tag
T_ModifyTable
Structured EXPLAIN Node Type
ModifyTable
Inputs
Modification input plan or plans
Output
RETURNING tuples when requested
Executor initializer
ExecInitModifyTable
Memory mechanism
unclassified
evidence kind
source and documentation
explain names
Insert, Update, Delete, Merge
explain prefixes
Parallel, Async
node tag
T_ModifyTable
parallel callbacks
未知
partial modes
未知
runtime verified
false
strategies
未知

版本定义 PG 18

Performs the data-modification operation selected by the plan and produces RETURNING rows when requested.

EXPLAIN labels in this source build

Text-format labelStructured node identity
InsertModifyTable
UpdateModifyTable
DeleteModifyTable
MergeModifyTable

比较版本

完整来源事实

memory

{"description":"This extraction does not assign a universal memory limit or spill policy to this node. Inspect the same-build implementation and its expressions or provider.","evidence":[{"archive_sha256":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f","label":"src/backend/executor/nodeModifyTable.c","path":"src/backend/executor/nodeModifyTable.c","sha256":"0fc3cb180b3443f216142954e43d8ed5f84713d75094ce8cd2785ad8f604bd68","url":"https://ftp.postgresql.org/pub/source/v18.6/postgresql-18.6.tar.bz2"}],"mechanism":"unclassified","source_notes":["If the FDW supports batching, and batching is requested, accumulate rows and insert them in batches. Otherwise use the per-row inserts.","Initialize the batch slots. We don't know how many slots will be needed, so we initialize them as the batch grows, and we keep them across batches. To mitigate an inefficiency in how resource owner handles objects with many references (as with many slots all referencing the same tuple descriptor) we copy the appropriate tuple descriptor for each slot."]}

source inventory

{"executor":"src/backend/executor/execProcnode.c","explain":"src/backend/commands/explain.c","implementation":"src/backend/executor/nodeModifyTable.c"}

来源引用

完整定义与证据 JSON

定义来源

center · PostgreSQL 18 · 555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f

正文语言: en · 555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f