aboutsummaryrefslogtreecommitdiff
path: root/src/include/executor/tuptable.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/executor/tuptable.h')
-rw-r--r--src/include/executor/tuptable.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/include/executor/tuptable.h b/src/include/executor/tuptable.h
index a001e448bad..f12922663e5 100644
--- a/src/include/executor/tuptable.h
+++ b/src/include/executor/tuptable.h
@@ -374,7 +374,7 @@ slot_getallattrs(TupleTableSlot *slot)
static inline bool
slot_attisnull(TupleTableSlot *slot, int attnum)
{
- AssertArg(attnum > 0);
+ Assert(attnum > 0);
if (attnum > slot->tts_nvalid)
slot_getsomeattrs(slot, attnum);
@@ -389,7 +389,7 @@ static inline Datum
slot_getattr(TupleTableSlot *slot, int attnum,
bool *isnull)
{
- AssertArg(attnum > 0);
+ Assert(attnum > 0);
if (attnum > slot->tts_nvalid)
slot_getsomeattrs(slot, attnum);
@@ -409,7 +409,7 @@ slot_getattr(TupleTableSlot *slot, int attnum,
static inline Datum
slot_getsysattr(TupleTableSlot *slot, int attnum, bool *isnull)
{
- AssertArg(attnum < 0); /* caller error */
+ Assert(attnum < 0); /* caller error */
if (attnum == TableOidAttributeNumber)
{
@@ -483,7 +483,7 @@ static inline TupleTableSlot *
ExecCopySlot(TupleTableSlot *dstslot, TupleTableSlot *srcslot)
{
Assert(!TTS_EMPTY(srcslot));
- AssertArg(srcslot != dstslot);
+ Assert(srcslot != dstslot);
dstslot->tts_ops->copyslot(dstslot, srcslot);