From b1099eca8f38ff5cfaf0901bb91cb6a22f909bc6 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Fri, 28 Oct 2022 09:19:06 +0200 Subject: Remove AssertArg and AssertState These don't offer anything over plain Assert, and their usage had already been declared obsolescent. Author: Nathan Bossart Reviewed-by: Michael Paquier Discussion: https://www.postgresql.org/message-id/20221009210148.GA900071@nathanxps13 --- src/backend/utils/adt/mcxtfuncs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/backend/utils/adt/mcxtfuncs.c') diff --git a/src/backend/utils/adt/mcxtfuncs.c b/src/backend/utils/adt/mcxtfuncs.c index 04b7aa2a77b..4add2195537 100644 --- a/src/backend/utils/adt/mcxtfuncs.c +++ b/src/backend/utils/adt/mcxtfuncs.c @@ -46,7 +46,7 @@ PutMemoryContextsStatsTupleStore(Tuplestorestate *tupstore, const char *name; const char *ident; - AssertArg(MemoryContextIsValid(context)); + Assert(MemoryContextIsValid(context)); name = context->name; ident = context->ident; -- cgit v1.2.3