Re: Accessing base table relational names via RelOptInfo

2017-12-06 Thread David Rowley
On 7 December 2017 at 09:26, Walter Cai wrote: > I want to be able to programmatically access the relation names inside from > inside the calc_joinrel_size_estimate method (in costsize.c) using the > RelOptInfo *outer_rel, RelOptInfo *inner_rel arguments. I'm pretty sure I > need to use the Relids

Accessing base table relational names via RelOptInfo

2017-12-06 Thread Walter Cai
Hi, I hope this is the appropriate list to send this to. *Context:* I (grad student) am trying to insert my own cardinality estimates into the optimizer *What I need to do to get there:* I want to be able to programmatically access the relation names inside from inside the calc_joinrel_size_es