Re: proposal: tuplestore, tuplesort aggregate functions - Mailing list pgsql-hackers

From Tom Lane
Subject Re: proposal: tuplestore, tuplesort aggregate functions
Date
Msg-id 18045.1282143297@sss.pgh.pa.us
Whole thread Raw
In response to Re: proposal: tuplestore, tuplesort aggregate functions  (David Fetter <david@fetter.org>)
List pgsql-hackers
David Fetter <david@fetter.org> writes:
> On Wed, Aug 18, 2010 at 10:39:33AM -0400, Tom Lane wrote:
>> There would be plenty of scope to re-use the machinery without any
>> SQL-level extensions.  All you need is a polymorphic aggregate
>> transition function that maintains a tuplestore or whatever.
>> I don't see that extra syntax in CREATE AGGREGATE is really buying
>> much of anything.

> Thanks for clarifying.  Might this help out with things like GROUPING
> SETS or wCTEs?

Don't see how --- this is just about what you can do within an aggregate.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: proposal: tuplestore, tuplesort aggregate functions
Next
From: Tom Lane
Date:
Subject: Re: git: uh-oh