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

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

Wiki / 执行计划

CTE Scan

Reads the shared tuplestore of a common-table-expression plan, asking that plan for more rows when needed.

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

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

Core node tag
T_CteScan
Structured EXPLAIN Node Type
CTE Scan
Inputs
A CTE plan and shared tuplestore
Output
CTE result tuples
Executor initializer
ExecInitCteScan
Memory mechanism
tuplestore
evidence kind
source and documentation
explain names
CTE Scan
explain prefixes
Parallel, Async
node tag
T_CteScan
parallel callbacks
未知
partial modes
未知
runtime verified
false
strategies
未知

版本定义 PG 18

Reads the shared tuplestore of a common-table-expression plan, asking that plan for more rows when needed.

EXPLAIN labels in this source build

Text-format labelStructured node identity
CTE ScanCTE Scan

比较版本

完整来源事实

memory

{"description":"This node creates a tuplestore with work_mem. The tuplestore can move stored tuples to temporary files; this does not make work_mem a cap on every allocation made by the node.","evidence":[{"archive_sha256":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f","label":"src/backend/executor/nodeCtescan.c","path":"src/backend/executor/nodeCtescan.c","sha256":"63062406215ef682db58a20cb932ef30b83a6dca24557b625cf199d429fc8140","url":"https://ftp.postgresql.org/pub/source/v18.6/postgresql-18.6.tar.bz2"},{"archive_sha256":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f","label":"src/backend/utils/sort/tuplestore.c","path":"src/backend/utils/sort/tuplestore.c","sha256":"27a85416bafed557006c705ab5d0c5dce3d3c1702812bb54d136f2ac4c41055a","url":"https://ftp.postgresql.org/pub/source/v18.6/postgresql-18.6.tar.bz2"}],"mechanism":"tuplestore","source_notes":[]}

source inventory

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

来源引用

完整定义与证据 JSON

定义来源

center · PostgreSQL 18 · 555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f

正文语言: en · 555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f