"=?utf-8?B?Wml6aHVhbkxpdSBYLU1BTg==?=" <[email protected]> writes:
> My current proposal is along the following lines:
> * eval_const_expressions() should already have stripped adjacent
> * RelabelTypes. However, stripping PlaceHolderVars above may have
> * brought previously separated RelabelTypes into adjacency, whether
> * at the top level or within a deeper subtree. Therefore, run
> * eval_const_expressions() again to normalize the expression.
That is a ridiculously expensive way to fix this problem.
regards, tom lane