Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9c3d028

Browse files
author
Marina Polyakova
committed
Remove AssertArg
See the commit b1099eca8f38ff5cfaf0901bb91cb6a22f909bc6 (Remove AssertArg and AssertState) in PostgreSQL 16.
1 parent 9f9466c commit 9c3d028

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pg_variables.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1582,7 +1582,7 @@ getMemoryTotalSpace(MemoryContext context, int level, Size *totalspace)
15821582
MemoryContext child;
15831583
MemoryContextCounters totals;
15841584

1585-
AssertArg(MemoryContextIsValid(context));
1585+
Assert(MemoryContextIsValid(context));
15861586

15871587
/* Examine the context itself */
15881588
memset(&totals, 0, sizeof(totals));

0 commit comments

Comments
 (0)