Re: BUG #4916: wish: more statistical functions (median, percentiles etc)
От | Richard Neill |
---|---|
Тема | Re: BUG #4916: wish: more statistical functions (median, percentiles etc) |
Дата | |
Msg-id | 4A57E6F6.9050200@hermes.cam.ac.uk обсуждение исходный текст |
Ответ на | Re: BUG #4916: wish: more statistical functions (median, percentiles etc) (Joshua Tolley <eggyknap@gmail.com>) |
Список | pgsql-bugs |
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
В списке pgsql-bugs по дате отправления: