David Fetter <david(at)fetter(dot)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