Distinguish between MaxHeapAttributeNumber and MaxTupleAttributeNumber,
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 27 May 2002 19:53:33 +0000 (19:53 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 27 May 2002 19:53:33 +0000 (19:53 +0000)
commit2f09ea5bbc9beda2836d8e314fc9f25055d76f2d
tree3217dbcb638ae1de3bbee22a24be62f8f21c9168
parent6420545f6c019c01a52d594582f0e850cc93e1d7
Distinguish between MaxHeapAttributeNumber and MaxTupleAttributeNumber,
where the latter is made slightly larger to allow for in-memory tuples
containing resjunk attributes.  Responds to today's complaint that one
cannot UPDATE a table containing the allegedly-legal maximum number of
columns.

Also, apply Manfred Koizar's recent patch to avoid extra alignment padding
when there is a null bitmap.  This saves bytes in some cases while not
creating any backward-compatibility problem AFAICS.
src/backend/access/common/heaptuple.c
src/backend/access/heap/tuptoaster.c
src/include/access/htup.h