mirror of
https://github.com/postgres/postgres.git
synced 2025-08-25 20:23: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:
@@ -1226,7 +1226,7 @@ _bt_load(BTWriteState *wstate, BTSpool *btspool, BTSpool *btspool2)
|
||||
/* Abbreviation is not supported here */
|
||||
sortKey->abbreviate = false;
|
||||
|
||||
AssertState(sortKey->ssup_attno != 0);
|
||||
Assert(sortKey->ssup_attno != 0);
|
||||
|
||||
strategy = (scanKey->sk_flags & SK_BT_DESC) != 0 ?
|
||||
BTGreaterStrategyNumber : BTLessStrategyNumber;
|
||||
|
Reference in New Issue
Block a user