diff options
| author | Peter Eisentraut <peter@eisentraut.org> | 2022-10-28 09:19:06 +0200 |
|---|---|---|
| committer | Peter Eisentraut <peter@eisentraut.org> | 2022-10-28 09:19:06 +0200 |
| commit | b1099eca8f38ff5cfaf0901bb91cb6a22f909bc6 (patch) | |
| tree | 8ef29d9ee5911b059c8ecd2123b50c411cfc7a9e /src/backend/access/heap | |
| parent | d37aa3d35832afde94e100c4d2a9618b3eb76472 (diff) | |
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
Diffstat (limited to 'src/backend/access/heap')
| -rw-r--r-- | src/backend/access/heap/heapam.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/access/heap/heapam.c b/src/backend/access/heap/heapam.c index bd4d85041d3..12be87efed4 100644 --- a/src/backend/access/heap/heapam.c +++ b/src/backend/access/heap/heapam.c @@ -2281,7 +2281,7 @@ heap_multi_insert(Relation relation, TupleTableSlot **slots, int ntuples, bool need_cids = RelationIsAccessibleInLogicalDecoding(relation); /* currently not needed (thus unsupported) for heap_multi_insert() */ - AssertArg(!(options & HEAP_INSERT_NO_LOGICAL)); + Assert(!(options & HEAP_INSERT_NO_LOGICAL)); needwal = RelationNeedsWAL(relation); saveFreeSpace = RelationGetTargetPageFreeSpace(relation, |
