diff --git a/src/backend/access/common/heaptuple.c b/src/backend/access/common/heaptuple.c
index e39b977..db93520 100644
--- a/src/backend/access/common/heaptuple.c
+++ b/src/backend/access/common/heaptuple.c
@@ -1342,7 +1342,7 @@ slot_attisnull(TupleTableSlot *slot, int attnum)
 		return slot->tts_isnull[attnum - 1];
 
 	/*
-	 * return NULL if attnum is out of range according to the tupdesc
+	 * return true if attnum is out of range according to the tupdesc
 	 */
 	if (attnum > tupleDesc->natts)
 		return true;
