Re: Combining Aggregates - Mailing list pgsql-hackers

From Petr Jelinek
Subject Re: Combining Aggregates
Date
Msg-id 54915820.4020106@2ndquadrant.com
Whole thread Raw
In response to Re: Combining Aggregates  (Atri Sharma <atri.jiit@gmail.com>)
List pgsql-hackers
On 17/12/14 11:02, Atri Sharma wrote:
>
>
> On Wed, Dec 17, 2014 at 3:23 PM, Simon Riggs <simon@2ndquadrant.com
> <mailto:simon@2ndquadrant.com>> wrote:
>
>     KaiGai, David Rowley and myself have all made mention of various ways
>     we could optimize aggregates.
>
>     Following WIP patch adds an extra function called a "combining
>     function", that is intended to allow the user to specify a
>     semantically correct way of breaking down an aggregate into multiple
>     steps.
>
>
> Also, should we not have a sanity check for the user function provided?

Looking at the code, yes, there seems to be XXX comment about that.


--  Petr Jelinek                  http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training &
Services



pgsql-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: Some modes of vcregress not mentioned in MSVC scripts
Next
From: Simon Riggs
Date:
Subject: Re: Combining Aggregates