Re: stddev returns 0 when there is one row

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Murthy Kambhampaty <murthy(dot)kambhampaty(at)goeci(dot)com>
Cc: Joe Conway <mail(at)joeconway(dot)com>, Manfred Koizar <mkoi-pg(at)aon(dot)at>, Bruno Wolff III <bruno(at)wolff(dot)to>, pgsql-general(at)postgresql(dot)org
Subject: Re: stddev returns 0 when there is one row
Date: 2003-04-21 16:21:10
Message-ID: 742.1050942070@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Murthy Kambhampaty <murthy(dot)kambhampaty(at)goeci(dot)com> writes:
> Tom, would it be too much trouble to program these in (as STDEV_POP_G and
> STDEV_SMPL_G or some variant?

I'm not volunteering, no. (For starters, I think you'd need to upgrade
the aggregate code to allow multiple-input aggregates. Which is worth
doing, but I do not expect to have time to think about such things for
7.4.)

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2003-04-21 16:23:47 Re: Using TEXT columns for binary content
Previous Message Lamar Owen 2003-04-21 16:18:57 Re: Using TEXT columns for binary content