idea - new aggregates median, listagg - Mailing list pgsql-hackers

From Pavel Stehule
Subject idea - new aggregates median, listagg
Date
Msg-id 162867790912151328h3ea48c6bg93c92ceee8cccde7@mail.gmail.com
Whole thread Raw
Responses Re: idea - new aggregates median, listagg  (David Fetter <david@fetter.org>)
Re: idea - new aggregates median, listagg  (Thom Brown <thombrown@gmail.com>)
List pgsql-hackers
Hello

I am looking on new feature - ORDER clause in aggregate, and I thing,
so we are able to effectively implement some non standard, but well
known aggregates.

a) function median - it is relative frequent request - with usually
slow implementation

b) function listagg (it is analogy of group_concat from MySQL) - it
should simplify report generating and some other

What is your opinion? Do you like to see these functions in core?

Regards
Pavel Stehule


pgsql-hackers by date:

Previous
From: Jeff Davis
Date:
Subject: Re: Range types
Next
From: Marko Kreen
Date:
Subject: Re: Patch: Remove gcc dependency in definition of inline functions