* slotNoNulls: is the slot entirely not NULL? * * This does not test for dropped columns, which is OK because we only * use it on projected tuples. */
| 781 | * use it on projected tuples. |
| 782 | */ |
| 783 | static bool |
| 784 | slotNoNulls(TupleTableSlot *slot) |
| 785 | { |
| 786 | int ncols = slot->tts_tupleDescriptor->natts; |
| 787 | int i; |
| 788 | |
| 789 | for (i = 1; i <= ncols; i++) |
| 790 | { |
| 791 | if (slot_attisnull(slot, i)) |
| 792 | return false; |
| 793 | } |
| 794 | return true; |
| 795 | } |
| 796 | |
| 797 | /* ---------------------------------------------------------------- |
| 798 | * ExecInitSubPlan |
no test coverage detected