postgres.git / summary / log / commit / refs
commit b604a1c204fce2600730cb60aa78e04e949fa588
Author: Peter Eisentraut <peter@eisentraut.org>
Date: Wed Apr 06 07:09:14 2022 +0000
First released in: 15.0
Change one AssertMacro to Assert
What surrounds it is no longer a macro (e27f4ee0a701).
src/include/access/htup_details.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/include/access/htup_details.h b/src/include/access/htup_details.h
index 3d452d50a19..51a60eda088 100644
--- a/src/include/access/htup_details.h
+++ b/src/include/access/htup_details.h
@@ -749,7 +749,7 @@ extern MinimalTuple minimal_expand_tuple(HeapTuple sourceTuple, TupleDesc tupleD
static inline Datum
fastgetattr(HeapTuple tup, int attnum, TupleDesc tupleDesc, bool *isnull)
{
- AssertMacro(attnum > 0);
+ Assert(attnum > 0);
*isnull = false;
if (HeapTupleNoNulls(tup))
[parent: c2bb02bc2e85]