Re: Sharing aggregate states between different aggregate functions - Mailing list pgsql-hackers

From David Rowley
Subject Re: Sharing aggregate states between different aggregate functions
Date
Msg-id CAKJS1f86DVFj1S-ikSfppve5GqF5AWjUiZgvS=xydwj-82Tkmw@mail.gmail.com
Whole thread Raw
In response to Sharing aggregate states between different aggregate functions  (David Rowley <david.rowley@2ndquadrant.com>)
Responses Re: Sharing aggregate states between different aggregate functions
Re: Sharing aggregate states between different aggregate functions
List pgsql-hackers
On 15 June 2015 at 12:05, David Rowley <david.rowley@2ndquadrant.com> wrote:

This basically allows an aggregate's state to be shared between other aggregate functions when both aggregate's transition functions (and a few other things) match
There's quite a number of aggregates in our standard set which will benefit from this optimisation.


After compiling the original patch with another compiler, I noticed a couple of warnings.

The attached fixes these.

Regards

David Rowley 

--
 David Rowley                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services
 
Attachment

pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: copy.c handling for RLS is insecure
Next
From: Ashutosh Bapat
Date:
Subject: Re: Transactions involving multiple postgres foreign servers