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
Treat aggregate direct arguments as per-agg data not per-trans data.
There is no reason to insist that direct arguments must match beforewe can merge transition states of two aggregate calls. They're onlyused during the finalfn call, so we can treat them as like the finalfnitself. This allows, eg, merging ofselect percentile_cont(0.25) within group (order by a), percentile_disc(0.5) within group (order by a)from ...This didn't matter (and could not have been tested) before we allowedstate merging of OSAs otherwise.Discussion:https://postgr.es/m/CAB4ELO5RZhOamuT9Xsf72ozbenDLLXZKSk07FiSVsuJNZB861A@mail.gmail.com