Programmatically accessing selection predicates

2018-01-03 Thread Walter Cai
Hi, In order to run some cardinality estimation experiments I'm hoping to access the raw values for selections predicates from within the calc_joinrel_size_estimate method (in costsize.c). For example, if the restriction WHERE name_attr = "example_str" appears in the query, I'd like to get the "

Programmatically accessing selection predicates

2018-01-02 Thread Walter Cai
Hi, In order to run some cardinality estimation experiments I'm hoping to access the raw values for selections predicates from within the calc_joinrel_size_estimate method (in costsize.c). If possible, I would very much appreciate the help. Best, Walter