@@ -871,7 +871,8 @@ heap_modifytuple(HeapTuple tuple,
871871 *the inverse of heap_form_tuple.
872872 *
873873 *Storage for the values/isnull arrays is provided by the caller;
874- *it should be sized according to tupleDesc->natts not tuple->t_natts.
874+ *it should be sized according to tupleDesc->natts not
875+ *HeapTupleHeaderGetNatts(tuple->t_data).
875876 *
876877 *Note that for pass-by-reference datatypes, the pointer placed
877878 *in the Datum will point into the given tuple.
@@ -978,7 +979,8 @@ heap_deform_tuple(HeapTuple tuple, TupleDesc tupleDesc,
978979 *the inverse of heap_formtuple.
979980 *
980981 *Storage for the values/nulls arrays is provided by the caller;
981- *it should be sized according to tupleDesc->natts not tuple->t_natts.
982+ *it should be sized according to tupleDesc->natts not
983+ *HeapTupleHeaderGetNatts(tuple->t_data).
982984 *
983985 *Note that for pass-by-reference datatypes, the pointer placed
984986 *in the Datum will point into the given tuple.