From: | Joshua Tolley <eggyknap(at)gmail(dot)com> |
---|---|
To: | Richard Neill <rn214(at)cam(dot)ac(dot)uk> |
Cc: | pgsql-bugs(at)postgresql(dot)org |
Subject: | Re: BUG #4916: wish: more statistical functions (median, percentiles etc) |
Date: | 2009-07-11 00:52:34 |
Message-ID: | 20090711005234.GC31174@eddie |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs pgsql-general |
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 | Richard Neill | 2009-07-11 01:12:22 | Re: BUG #4916: wish: more statistical functions (median, percentiles etc) |
Previous Message | Richard Neill | 2009-07-10 23:37:46 | BUG #4916: wish: more statistical functions (median, percentiles etc) |
From | Date | Subject | |
---|---|---|---|
Next Message | Richard Neill | 2009-07-11 01:12:22 | Re: BUG #4916: wish: more statistical functions (median, percentiles etc) |
Previous Message | Scot Kreienkamp | 2009-07-11 00:40:28 | Re: Idle in transaction help |