You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Pass collation to makeConst() instead of looking it up internally.
In nearly all cases, the caller already knows the correct collation, andin a number of places, the value the caller has handy is more correct thanthe default for the type would be. (In particular, this patch makes itsignificantly less likely that eval_const_expressions will result inchanging the exposed collation of an expression.) So an internal lookupis both expensive and wrong.