* ExecCopySlot - copy one slot's contents into another. * * If a source's system attributes are supposed to be accessed in the target * slot, the target slot and source slot types need to match. */
| 474 | * slot, the target slot and source slot types need to match. |
| 475 | */ |
| 476 | static inline TupleTableSlot * |
| 477 | ExecCopySlot(TupleTableSlot *dstslot, TupleTableSlot *srcslot) |
| 478 | { |
| 479 | Assert(!TTS_EMPTY(srcslot)); |
| 480 | AssertArg(srcslot != dstslot); |
| 481 | |
| 482 | dstslot->tts_ops->copyslot(dstslot, srcslot); |
| 483 | |
| 484 | return dstslot; |
| 485 | } |
| 486 | |
| 487 | #endif /* FRONTEND */ |
| 488 |
no outgoing calls
no test coverage detected