MCPcopy Create free account
hub / github.com/apache/cloudberry / bms_equal_any

Function bms_equal_any

src/backend/optimizer/path/indxpath.c:714–725  ·  view source on GitHub ↗

* bms_equal_any * True if relids is bms_equal to any member of relids_list * * Perhaps this should be in bitmapset.c someday. */

Source from the content-addressed store, hash-verified

712 * Perhaps this should be in bitmapset.c someday.
713 */
714static bool
715bms_equal_any(Relids relids, List *relids_list)
716{
717 ListCell *lc;
718
719 foreach(lc, relids_list)
720 {
721 if (bms_equal(relids, (Relids) lfirst(lc)))
722 return true;
723 }
724 return false;
725}
726
727
728/*

Callers 3

create_index_pathsFunction · 0.85
get_join_index_pathsFunction · 0.85

Calls 2

bms_equalFunction · 0.85
foreachFunction · 0.50

Tested by

no test coverage detected