Ted Yu <yuzhihong@gmail.com> writes:
> For v8-0012-invent-join-domains.patch, in `distribute_qual_to_rels`, it
> seems that `pseudoconstant` and `root->hasPseudoConstantQuals` carry the
> same value.
> Can the variable `pseudoconstant` be omitted ?
Surely not. 'pseudoconstant' tells whether the current qual clause
is pseudoconstant. root->hasPseudoConstantQuals remembers whether
we have found any pseudoconstant qual in the query.
regards, tom lane