mirror of
https://github.com/postgres/postgres.git
synced 2025-08-24 09:27:52 +03:00
Revert "Introduce CompactAttribute array in TupleDesc"
This reverts commit d28dff3f6c
.
Quite a large number of buildfarm members didn't like this commit and
it's not yet clear why. Reverting this before too many animals turn
red.
Discussion: https://postgr.es/m/CAApHDvr9i6T5=iAwQCxFDgMsthr_obVxgwBaEJkC8KUH6yM3Hw@mail.gmail.com
This commit is contained in:
@@ -1044,7 +1044,7 @@ slot_deform_heap_tuple(TupleTableSlot *slot, HeapTuple tuple, uint32 *offp,
|
||||
|
||||
for (; attnum < natts; attnum++)
|
||||
{
|
||||
CompactAttribute *thisatt = TupleDescCompactAttr(tupleDesc, attnum);
|
||||
Form_pg_attribute thisatt = TupleDescAttr(tupleDesc, attnum);
|
||||
|
||||
if (hasnulls && att_isnull(attnum, bp))
|
||||
{
|
||||
@@ -2237,7 +2237,7 @@ BuildTupleFromCStrings(AttInMetadata *attinmeta, char **values)
|
||||
*/
|
||||
for (i = 0; i < natts; i++)
|
||||
{
|
||||
if (!TupleDescCompactAttr(tupdesc, i)->attisdropped)
|
||||
if (!TupleDescAttr(tupdesc, i)->attisdropped)
|
||||
{
|
||||
/* Non-dropped attributes */
|
||||
dvalues[i] = InputFunctionCall(&attinmeta->attinfuncs[i],
|
||||
|
Reference in New Issue
Block a user