Skip to content

Commit d7cce47

Browse files
committed
Silence clang checker in build_pathman_relation_info bounds cleanup.
1 parent ce72bc7 commit d7cce47

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/relation_info.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -522,8 +522,11 @@ build_pathman_relation_info(Oid relid, Datum *values)
522522
*/
523523
if (prel->parttype == PT_HASH)
524524
child = prel->children[i];
525-
else if (prel->parttype == PT_RANGE)
525+
else
526+
{
527+
Assert(prel->parttype == PT_RANGE)
526528
child = prel->ranges[i].child_oid;
529+
}
527530

528531
forget_bounds_of_partition(child);
529532
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy