variance aggregates per SQL:2003

Поиск
Список
Период
Сортировка
От Neil Conway
Тема variance aggregates per SQL:2003
Дата
Msg-id 1141772040.20504.5.camel@localhost.localdomain
обсуждение исходный текст
Ответы Re: variance aggregates per SQL:2003  (David Fetter <david@fetter.org>)
Re: variance aggregates per SQL:2003  (Neil Conway <neilc@samurai.com>)
Список pgsql-patches
This patch implements some new aggregate functions defined by SQL2003:
stddev_pop(), stddev_samp(), var_pop(), and var_samp(). stddev_samp()
and var_samp() are identical to the existing stddev() and variance()
aggregates, so I've made the latter aliases for the former.

I noticed that SQL2003 does not allow DISTINCT to be specified for these
aggregate functions. I can't really see the rationale for this
restriction, and it would be fairly ugly to implement as far as I can
tell. Thoughts?

-Neil


Вложения

В списке pgsql-patches по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: CREATE SYNONYM ...
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: CREATE SYNONYM ...