| От | Tom Lane |
|---|---|
| Тема | Re: Backend crash with user defined aggregate |
| Дата | |
| Msg-id | 8148.1127523943@sss.pgh.pa.us обсуждение |
| Ответ на | Backend crash with user defined aggregate (Ron Mayer <rm_pg@cheapcomplexdevices.com>) |
| Ответы |
Re: Backend crash with user defined aggregate
|
| Список | pgsql-general |
Ron Mayer <rm_pg@cheapcomplexdevices.com> writes:
> I tried making an aggregate function that concatenates
> any non-null strings it encounters, as shown below.
> The function works fine on small tables; but when I run
> it on one of my larger tables it seems to me that it
> crashes the backend - though I don't see anything obvious
> in the log.
I tried this example in CVS tip and didn't see any particular misbehavior.
What PG version are you running? Does EXPLAIN show that the query is
being done with a group or hash aggregation? What do you have sort_mem
set to?
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера