Pavel Stehule <pavel.stehule@gmail.com> writes: > 2014-10-27 11:20 GMT+01:00 Ali Akbar <the.apaan@gmail.com>: >> [ array_agg_anyarray-13.patch ] > This patch is ready for commit
I've committed this after some significant modifications.
I did not like the API chosen, specifically the business about callers needing to deal with both accumArrayResult and accumMdArray, because that seemed pretty messy and error-prone.
Thanks!
When in the reviewing process, we tried to implement in existing API, and it was messy, so the last patch is with two API. We didn't think what you eventually did. 3 API: existing for scalar, a new API for array, _and_ a new API for both. Great!!
Just curious, in accumArrayResultArr, while enlarging array and nullbitmaps, why it's implemented with: