Programmatically accessing selection predicates
Programmatically accessing selection predicates
От:
Walter Cai <wzcai92@gmail.com>
Дата:
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
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 "name_attr" and "example_str" values. If possible, I would very much appreciate the help.
Best, Walter
Best, Walter