pg_target_check
if (pg_target_check(cpg, iter->pgi_level) == 0)
if (pg_target_check(pg, iter->pgi_level) == 0)