Re: array_agg crash? - Mailing list pgsql-general

From Chris Spotts
Subject Re: array_agg crash?
Date
Msg-id 00e401ca0a24$4b130ac0$e1392040$@com
Whole thread Raw
In response to Re: array_agg crash?  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: array_agg crash?
List pgsql-general
> killed
> > it after 15 minutes and no results...rather I tried to kill it, but
> it looks
> > like I'm going to have to -9 it...
>
> How big were the arrays you were trying to push around here?  I tried
> interrupting a similar query and it came right back; but if you were
> building some really enormous arrays I could see the final array
> build loop taking awhile, and there's no CHECK_FOR_INTERRUPTS in it...
>
>             regards, tom lane
[Spotts, Christopher]
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.

If it was having trouble allocating the memory for arrays, why doesn't using
a ARRAY(subselect)  yield the same issue?


pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: suggestion: log_statement = sample
Next
From: Tom Lane
Date:
Subject: Re: array_agg crash?