mirror of
https://github.com/postgres/postgres.git
synced 2025-07-14 08:21:07 +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:
@ -2896,7 +2896,7 @@ ReindexMultipleTables(const char *objectName, ReindexObjectType objectKind,
|
||||
* This matches the options enforced by the grammar, where the object name
|
||||
* is optional for DATABASE and SYSTEM.
|
||||
*/
|
||||
AssertArg(objectName || objectKind != REINDEX_OBJECT_SCHEMA);
|
||||
Assert(objectName || objectKind != REINDEX_OBJECT_SCHEMA);
|
||||
|
||||
if (objectKind == REINDEX_OBJECT_SYSTEM &&
|
||||
(params->options & REINDEXOPT_CONCURRENTLY) != 0)
|
||||
|
Reference in New Issue
Block a user