Commit 342baf4c authored by Heikki Linnakangas's avatar Heikki Linnakangas

Update outdated comment. HeapTupleHeader.t_natts field doesn't exist anymore.

Kevin Grittner
parent 410ee35e
...@@ -871,7 +871,8 @@ heap_modifytuple(HeapTuple tuple, ...@@ -871,7 +871,8 @@ heap_modifytuple(HeapTuple tuple,
* the inverse of heap_form_tuple. * the inverse of heap_form_tuple.
* *
* Storage for the values/isnull arrays is provided by the caller; * Storage for the values/isnull arrays is provided by the caller;
* it should be sized according to tupleDesc->natts not tuple->t_natts. * it should be sized according to tupleDesc->natts not
* HeapTupleHeaderGetNatts(tuple->t_data).
* *
* Note that for pass-by-reference datatypes, the pointer placed * Note that for pass-by-reference datatypes, the pointer placed
* in the Datum will point into the given tuple. * in the Datum will point into the given tuple.
...@@ -978,7 +979,8 @@ heap_deform_tuple(HeapTuple tuple, TupleDesc tupleDesc, ...@@ -978,7 +979,8 @@ heap_deform_tuple(HeapTuple tuple, TupleDesc tupleDesc,
* the inverse of heap_formtuple. * the inverse of heap_formtuple.
* *
* Storage for the values/nulls arrays is provided by the caller; * Storage for the values/nulls arrays is provided by the caller;
* it should be sized according to tupleDesc->natts not tuple->t_natts. * it should be sized according to tupleDesc->natts not
* HeapTupleHeaderGetNatts(tuple->t_data).
* *
* Note that for pass-by-reference datatypes, the pointer placed * Note that for pass-by-reference datatypes, the pointer placed
* in the Datum will point into the given tuple. * in the Datum will point into the given tuple.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment