> On Sep 3, 2026, at 08:10, Michael Paquier <[email protected]> wrote: > > On Wed, Sep 02, 2026 at 07:56:32PM -0400, Andres Freund wrote: >> FWIW, I think we should seriously consider making [almost] all the transition >> states internal. Having to support calling these functions in non-aggregate >> contexts adds complexity without any actual gain. We shouldn't need to check >> whether we are in an AggContext, whether the argument is toasted, whether >> there are NULL elements in the array, compute offsets into the array, etc. > > +1. > -- > Michael +1 Best regards, -- Chao Li (Evan) HighGo Software Co., Ltd. https://www.highgo.com/
- Re: SUM(int2)/SUM(int4) do not detect overflow of the int8... Chao Li
- Re: SUM(int2)/SUM(int4) do not detect overflow of the... Andrei Lepikhov
- Re: SUM(int2)/SUM(int4) do not detect overflow of... Chao Li
- Re: SUM(int2)/SUM(int4) do not detect overflo... Andrei Lepikhov
- Re: SUM(int2)/SUM(int4) do not detect ove... Michael Paquier
- Re: SUM(int2)/SUM(int4) do not detec... Andrei Lepikhov
- Re: SUM(int2)/SUM(int4) do not d... Michael Paquier
- Re: SUM(int2)/SUM(int4) do not d... Andrei Lepikhov
- Re: SUM(int2)/SUM(int4) do not detect overflo... Andres Freund
- Re: SUM(int2)/SUM(int4) do not detect ove... Michael Paquier
- Re: SUM(int2)/SUM(int4) do not detec... Chao Li
- Re: SUM(int2)/SUM(int4) do not detec... Tom Lane
