mirror of
https://github.com/postgres/postgres.git
synced 2025-06-17 17:02:08 +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:
@ -4050,8 +4050,8 @@ PostgresMain(const char *dbname, const char *username)
|
||||
bool idle_in_transaction_timeout_enabled = false;
|
||||
bool idle_session_timeout_enabled = false;
|
||||
|
||||
AssertArg(dbname != NULL);
|
||||
AssertArg(username != NULL);
|
||||
Assert(dbname != NULL);
|
||||
Assert(username != NULL);
|
||||
|
||||
SetProcessingMode(InitProcessing);
|
||||
|
||||
|
Reference in New Issue
Block a user