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