mirror of
https://github.com/postgres/postgres.git
synced 2025-07-26 01:22:12 +03:00
Remove AssertArg and AssertState
These don't offer anything over plain Assert, and their usage had already been declared obsolescent. Author: Nathan Bossart <nathandbossart@gmail.com> Reviewed-by: Michael Paquier <michael@paquier.xyz> Discussion: https://www.postgresql.org/message-id/20221009210148.GA900071@nathanxps13
This commit is contained in:
@ -648,7 +648,7 @@ InsertOneValue(char *value, int i)
|
||||
Oid typinput;
|
||||
Oid typoutput;
|
||||
|
||||
AssertArg(i >= 0 && i < MAXATTR);
|
||||
Assert(i >= 0 && i < MAXATTR);
|
||||
|
||||
elog(DEBUG4, "inserting column %d value \"%s\"", i, value);
|
||||
|
||||
|
Reference in New Issue
Block a user