From: | Richard Neill <rn214(at)hermes(dot)cam(dot)ac(dot)uk> |
---|---|
To: | Joshua Tolley <eggyknap(at)gmail(dot)com> |
Cc: | Richard Neill <rn214(at)cam(dot)ac(dot)uk>, pgsql-bugs(at)postgresql(dot)org |
Subject: | Re: BUG #4916: wish: more statistical functions (median, percentiles etc) |
Date: | 2009-07-11 01:12:22 |
Message-ID: | 4A57E6F6.9050200@hermes.cam.ac.uk |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs pgsql-general |
Dear Joshua,
Thanks for your reply. Sadly, I haven't the time (or expertise) to write
this myself. However, the feature would be really useful to have. I'd
certainly be willing to make a £200 payment or donation in return.
I'm aware that this number is problematic, as it undervalues developer
time (£200 is the value, to me, of that feature; which is probably
uncorrelated with the value of his time to anyone who might implement it).
The offer is there if anyone wants to take it; please feel free to
contact me off-list.
Richard
Joshua Tolley wrote:
> On Fri, Jul 10, 2009 at 11:37:46PM +0000, Richard Neill wrote:
>> In addition to the existing aggregate functions (avg, stddev etc), it would
>> be nice if postgres could return further information. For example, the
>> quartiles, percentiles, and median.
>>
>> [mode would also be useful, as an explicit function, though we can get it
>> easily enough using count(1) order by count desc].
>>
>> According to google, this has been a wish since at least year 2000 for
>> various people, but doesn't seem to be implemented.
>
> That's because no one has yet taken the time. However, patches are welcome, if
> you'd like it enough to implement it. It's on my list of things that might be
> interesting to write, for example, but there are other things higher up on
> that list.
>
> --
> Joshua Tolley / eggyknap
> End Point Corporation
> http://www.endpoint.com
From | Date | Subject | |
---|---|---|---|
Next Message | Joshua Tolley | 2009-07-11 01:21:00 | Re: BUG #4916: wish: more statistical functions (median, percentiles etc) |
Previous Message | Joshua Tolley | 2009-07-11 00:52:34 | Re: BUG #4916: wish: more statistical functions (median, percentiles etc) |
From | Date | Subject | |
---|---|---|---|
Next Message | Joshua Tolley | 2009-07-11 01:21:00 | Re: BUG #4916: wish: more statistical functions (median, percentiles etc) |
Previous Message | Joshua Tolley | 2009-07-11 00:52:34 | Re: BUG #4916: wish: more statistical functions (median, percentiles etc) |