aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/include/access/htup.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/include/access/htup.h b/src/include/access/htup.h
index c0258354e6f..966e2d0299e 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,