Re: array_agg crash?

Поиск
Список
Период
Сортировка
От Chris Spotts
Тема Re: array_agg crash?
Дата
Msg-id 00e401ca0a24$4b130ac0$e1392040$@com
обсуждение исходный текст
Ответ на Re: array_agg crash?  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: array_agg crash?
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: suggestion: log_statement = sample
Следующее
От: Tom Lane
Дата:
Сообщение: Re: array_agg crash?