BUG #4916: wish: more statistical functions (median, percentiles etc) - Mailing list pgsql-bugs

From Richard Neill
Subject BUG #4916: wish: more statistical functions (median, percentiles etc)
Date
Msg-id 200907102337.n6ANbkDk086971@wwwmaster.postgresql.org
Whole thread Raw
Responses Re: BUG #4916: wish: more statistical functions (median, percentiles etc)  (Joshua Tolley <eggyknap@gmail.com>)
Re: BUG #4916: wish: more statistical functions (median, percentiles etc)  (Pavel Stehule <pavel.stehule@gmail.com>)
List pgsql-bugs
The following bug has been logged online:

Bug reference:      4916
Logged by:          Richard Neill
Email address:      rn214@cam.ac.uk
PostgreSQL version: 8.4
Operating system:   Linux
Description:        wish: more statistical functions (median, percentiles
etc)
Details:

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.

Thanks - Richard

pgsql-bugs by date:

Previous
From: Mathieu De Zutter
Date:
Subject: Re: BUG #4913: Row missing from primary key index
Next
From: Joshua Tolley
Date:
Subject: Re: BUG #4916: wish: more statistical functions (median, percentiles etc)