diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2012-03-09 08:07:56 +0200 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2012-03-09 08:07:56 +0200 |
commit | 342baf4ce61f06ad3898490dc5125579d9e6bd18 (patch) | |
tree | 7f3f096753baa63ce517bd6aaa8595966e9991c4 /src | |
parent | 410ee35ed095d85bf49c60ab7fd096ddbb5cb0a1 (diff) | |
download | postgresql-342baf4ce61f06ad3898490dc5125579d9e6bd18.tar.gz postgresql-342baf4ce61f06ad3898490dc5125579d9e6bd18.zip |
Update outdated comment. HeapTupleHeader.t_natts field doesn't exist anymore.
Kevin Grittner
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/access/common/heaptuple.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/backend/access/common/heaptuple.c b/src/backend/access/common/heaptuple.c index 08d2b21c231..034dfe574f1 100644 --- a/src/backend/access/common/heaptuple.c +++ b/src/backend/access/common/heaptuple.c @@ -871,7 +871,8 @@ heap_modifytuple(HeapTuple tuple, * the inverse of heap_form_tuple. * * 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 * in the Datum will point into the given tuple. @@ -978,7 +979,8 @@ heap_deform_tuple(HeapTuple tuple, TupleDesc tupleDesc, * the inverse of heap_formtuple. * * 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 * in the Datum will point into the given tuple. |