> >> How big were the arrays you were trying to push around here?
>
> > Like I'd said originally, there were no arrays that ended up being
> more 4
> > elements long - all integers. The vast majority of them were 1 or 2
> long.
>
> Hm, maybe the problem is not so much array size as too many arrays.
> How
> many groups are you expecting in that query? Does the plan for the
> array_agg query show hash or group aggregation?
>
> regards, tom lane
[Spotts, Christopher]
GroupAggregate