pgsql: Ignore nullingrels when looking up statistics

2025-01-02 Thread Richard Guo
Ignore nullingrels when looking up statistics When looking up statistical data about an expression, we do not need to concern ourselves with the outer joins that could null the Vars/PHVs contained in the expression. Accounting for nullingrels in the expression could cause estimate_num_groups to c

pgsql: Ignore nullingrels when looking up statistics

2025-01-02 Thread Richard Guo
Ignore nullingrels when looking up statistics When looking up statistical data about an expression, we do not need to concern ourselves with the outer joins that could null the Vars/PHVs contained in the expression. Accounting for nullingrels in the expression could cause estimate_num_groups to c

pgsql: Ignore nullingrels when looking up statistics

2025-01-02 Thread Richard Guo
Ignore nullingrels when looking up statistics When looking up statistical data about an expression, we do not need to concern ourselves with the outer joins that could null the Vars/PHVs contained in the expression. Accounting for nullingrels in the expression could cause estimate_num_groups to c