Re: Backend crash with user defined aggregate

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Ron Mayer <rm_pg(at)cheapcomplexdevices(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Backend crash with user defined aggregate
Date: 2005-09-24 01:05:43
Message-ID: 8148.1127523943@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Ron Mayer <rm_pg(at)cheapcomplexdevices(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Matthew Peter 2005-09-24 03:01:40 Re: array_dims array_lower/upper distance
Previous Message hildebardo 2005-09-24 00:55:32 question about to return two diferent tables from a function