diff --git a/src/include/access/htup.h b/src/include/access/htup.h index c0258354e6..966e2d0299 100644 --- a/src/include/access/htup.h +++ b/src/include/access/htup.h @@ -839,8 +839,6 @@ extern Datum fastgetattr(HeapTuple tup, int attnum, TupleDesc tupleDesc, * ---------------- */ #define heap_getattr(tup, attnum, tupleDesc, isnull) \ -( \ - AssertMacro((tup) != NULL), \ ( \ ((attnum) > 0) ? \ ( \ @@ -854,8 +852,7 @@ extern Datum fastgetattr(HeapTuple tup, int attnum, TupleDesc tupleDesc, ) \ : \ heap_getsysattr((tup), (attnum), (tupleDesc), (isnull)) \ - ) \ -) + ) /* prototypes for functions in common/heaptuple.c */ extern Size heap_compute_data_size(TupleDesc tupleDesc,