Re: Odd out of memory problem. - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Odd out of memory problem.
Date
Msg-id 1333075086.4554.31.camel@vanquo.pezone.net
Whole thread Raw
In response to Re: Odd out of memory problem.  (Greg Stark <stark@mit.edu>)
Responses Re: Odd out of memory problem.  (Hitoshi Harada <umi.tanuki@gmail.com>)
List pgsql-hackers
On tis, 2012-03-27 at 00:53 +0100, Greg Stark wrote:
> Hm. So my original plan was dependent on adding the state-merge
> function we've talked about in the past. Not all aggregate functions
> necessarily can support such a function but I think all or nearly all
> the builtin aggregates can. Certainly min,max, count, sum, avg,
> stddev, array_agg can which are most of what people do. That would be
> a function which can take two state variables and produce a new state
> variable.

This information could also be useful to have in PL/Proxy (or similar
FDWs) to be able to integrate aggregate computation into the language.
Currently, you always have to do the state merging yourself.




pgsql-hackers by date:

Previous
From: Dobes Vandermeer
Date:
Subject: Re: HTTP Frontend? (and a brief thought on materialized views)
Next
From: Daniel Farina
Date:
Subject: Re: HTTP Frontend? (and a brief thought on materialized views)