Expand description
Statement-scoped CTE buffers, subquery arenas, and tuple recheck state.
Modules§
- bindings
- Save selected lexical bindings and restore their exact nodes without allocating.
- subqueries
- Cached scalar results and SQL membership semantics for one query arena.
Structs§
- CteRows
Iter - CteRows
Map - Ordered lexical row bindings. Admitted keys retain their text through every shared name owner, while each exact map node releases its own allowance when removed.
- CteScope
- Lock
Identity Options - Resolved
RowLock - Selected
RowLock - An allocation-free selection keeps the immutable target’s original lease alive through nested view construction.
- Statement
Commands - The commands of one statement and what they leave for its end, shared by every scope of the statement.
PostgreSQLruns a statement under one command id and one AFTER trigger query level: the AFTER events of the statement’s commands, its data-modifying WITH items and the referential actions those take among them, wait in one queue until the statement has finished (AfterTriggerEndQuery), and a row that one of its commands wrote isTM_SelfModifiedto the others.