Re: wip: functions median and percentile

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Hitoshi Harada <umi(dot)tanuki(at)gmail(dot)com>
Cc: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>, David Fetter <david(at)fetter(dot)org>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: wip: functions median and percentile
Date: 2010-10-01 15:08:00
Message-ID: 18142.1285945680@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-rrreviewers

Hitoshi Harada <umi(dot)tanuki(at)gmail(dot)com> writes:
> Another suggestion?

The implementation I would've expected to see is to do the sort and then
have two code paths for retrieving the median, depending on whether the
sort result is all in memory or not.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Kevin Grittner 2010-10-01 15:15:03 Re: wip: functions median and percentile
Previous Message Dimitri Fontaine 2010-10-01 15:06:39 Re: is sync rep stalled?

Browse pgsql-rrreviewers by date

  From Date Subject
Next Message Kevin Grittner 2010-10-01 15:15:03 Re: wip: functions median and percentile
Previous Message Hitoshi Harada 2010-10-01 15:00:35 Re: wip: functions median and percentile