Re: Combining Aggregates

From: Simon Riggs <simon(at)2ndQuadrant(dot)com>
To: David Rowley <david(dot)rowley(at)2ndquadrant(dot)com>
Cc: Simon Riggs <simon(at)2ndquadrant(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, Tomas Vondra <tomas(dot)vondra(at)2ndquadrant(dot)com>, David Steele <david(at)pgmasters(dot)net>, Heikki Linnakangas <hlinnaka(at)iki(dot)fi>, Michael Paquier <michael(dot)paquier(at)gmail(dot)com>, Kouhei Kaigai <kaigai(at)ak(dot)jp(dot)nec(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>, Amit Kapila <amit(dot)kapila(at)enterprisedb(dot)com>
Subject: Re: Combining Aggregates
Date: 2016-04-06 21:59:12
Message-ID: CANP8+jKHsc452Dk7+_1SDRQai5ie2OA1k9HxEANM9EujO=x_hA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 6 April 2016 at 22:28, David Rowley <david(dot)rowley(at)2ndquadrant(dot)com> wrote:

> On 7 April 2016 at 09:25, Simon Riggs <simon(at)2ndquadrant(dot)com> wrote:
> > On 5 April 2016 at 19:33, Robert Haas <robertmhaas(at)gmail(dot)com> wrote:
> >
> >>
> >> Committed 0002+0003 with those changes, some minor cosmetic stuff, and
> >> of course the obligatory catversion bump. Oh, and fixed an OID
> >> conflict with the patch Magnus just committed.
> >
> >
> > Is that everything now? I don't see anything about combining aggs in the
> git
> > log and this is still showing as UnCommitted in the CF app.
>
> There's just a documentation patch and two combine functions for
> floating point aggs left now (Haribabu's patch)
>

Ah, I see, it was the commit about "multi-stage aggregation".

So SELECT sum(x), avg(x) is now optimized?

--
Simon Riggs http://www.2ndQuadrant.com/
<http://www.2ndquadrant.com/>
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robbie Harwood 2016-04-06 22:15:37 Re: [PATCH v12] GSSAPI encryption support
Previous Message Alvaro Herrera 2016-04-06 21:54:21 Re: VS 2015 support in src/tools/msvc