mirror of
https://github.com/postgres/postgres.git
synced 2025-11-26 23:43:30 +03:00
Tweak API of new function clause_is_computable_at().
Pass it the RestrictInfo under consideration, not just the clause_relids. This should save some trivial amount of code at the call sites, and it gives us more flexibility about what clause_is_computable_at() does. There's no actual functional change here, though. Discussion: https://postgr.es/m/3564467.1684352557@sss.pgh.pa.us
This commit is contained in:
@@ -40,7 +40,7 @@ extern void extract_actual_join_clauses(List *restrictinfo_list,
|
||||
List **joinquals,
|
||||
List **otherquals);
|
||||
extern bool clause_is_computable_at(PlannerInfo *root,
|
||||
Relids clause_relids,
|
||||
RestrictInfo *rinfo,
|
||||
Relids eval_relids);
|
||||
extern bool join_clause_is_movable_to(RestrictInfo *rinfo, RelOptInfo *baserel);
|
||||
extern bool join_clause_is_movable_into(RestrictInfo *rinfo,
|
||||
|
||||
Reference in New Issue
Block a user