| От | Tom Lane |
|---|---|
| Тема | Re: No stddev() for interval? |
| Дата | |
| Msg-id | 10646.1148141136@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | No stddev() for interval? ("Brendan Jurd" <direvus@gmail.com>) |
| Ответы |
Re: No stddev() for interval?
|
| Список | pgsql-general |
"Brendan Jurd" <direvus@gmail.com> writes:
> I noticed a peculiarity in the default postgres aggregate functions. min()=
> ,
> max() and avg() support interval as an input type, but stddev() and
> variance() do not.
> Is there a rationale behind this, or is it just something that was never
> implemented?
Is it sensible to calculate standard deviation on intervals? How would
you handle the multiple components? I mean, you could certainly define
*something*, but how sane/useful would the result be?
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера