Re: wip: functions median and percentile
Kevin Grittner <kevin.grittner@wicourts.gov>
From: "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
To: "David Fetter" <david@fetter.org>, "Robert Haas" <robertmhaas@gmail.com>
Cc: "Pavel Stehule" <pavel.stehule@gmail.com>, "Greg Stark" <gsstark@mit.edu>, "PostgreSQL Hackers" <pgsql-hackers@postgresql.org>, "Tom Lane" <tgl@sss.pgh.pa.us>
Date: 2010-08-19T17:12:12Z
Lists: pgsql-hackers
David Fetter <david@fetter.org> wrote: > Median may be useful, but we pretty much can't just call it > "median." Instead, we need to call it something like "left_median" > or "arithmetic_median." I think it would be reasonable, and perhaps preferable, to use just "median" for the semantics described in most dictionaries -- for example, this: http://www.merriam-webster.com/dictionary/median If you do a google search for "median" and poke around, you'll find many places where this is the only definition mentioned; the others seem to be rather infrequently used. Why not make the commone usage convenient? -Kevin