* slotAllNulls: is the slot completely NULL? * * This does not test for dropped columns, which is OK because we only * use it on projected tuples. */
| 761 | * use it on projected tuples. |
| 762 | */ |
| 763 | static bool |
| 764 | slotAllNulls(TupleTableSlot *slot) |
| 765 | { |
| 766 | int ncols = slot->tts_tupleDescriptor->natts; |
| 767 | int i; |
| 768 | |
| 769 | for (i = 1; i <= ncols; i++) |
| 770 | { |
| 771 | if (!slot_attisnull(slot, i)) |
| 772 | return false; |
| 773 | } |
| 774 | return true; |
| 775 | } |
| 776 | |
| 777 | /* |
| 778 | * slotNoNulls: is the slot entirely not NULL? |
no test coverage detected