Skip to main content

Module scope

Module scope 

Source
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§

CteRowsIter
CteRowsMap
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
LockIdentityOptions
ResolvedRowLock
SelectedRowLock
An allocation-free selection keeps the immutable target’s original lease alive through nested view construction.
StatementCommands
The commands of one statement and what they leave for its end, shared by every scope of the statement. PostgreSQL runs 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 is TM_SelfModified to the others.

Functions§

expr_contains_subquery