MCPcopy Create free account
hub / github.com/apache/cloudberry / ExecMaterializeSlot

Function ExecMaterializeSlot

src/include/executor/tuptable.h:444–448  ·  view source on GitHub ↗

ExecMaterializeSlot - force a slot into the "materialized" state. * * This causes the slot's tuple to be a local copy not dependent on any * external storage (i.e. pointing into a Buffer, or having allocations in * another memory context). * * A typical use for this operation is to prepare a computed tuple for being * stored on disk. The original data may or may not be virtual, but in any

Source from the content-addressed store, hash-verified

442 * case we need a private copy for heap_insert to scribble on.
443 */
444static inline void
445ExecMaterializeSlot(TupleTableSlot *slot)
446{
447 slot->tts_ops->materialize(slot);
448}
449
450/*
451 * ExecCopySlotHeapTuple - return HeapTuple allocated in caller's context

Callers 10

ExecBRUpdateTriggersFunction · 0.85
CopyFromFunction · 0.85
EvalPlanQualFunction · 0.85
ExecForceStoreHeapTupleFunction · 0.85
ExecInsertFunction · 0.85
ExecDeleteFunction · 0.85
ExecUpdateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected