| От | Sim Zacks |
|---|---|
| Тема | Re: multiple paramters in aggregate function |
| Дата | |
| Msg-id | 4A8D41C8.4070804@compulab.co.il обсуждение |
| Ответ на | Re: multiple paramters in aggregate function (Karsten Hilbert <Karsten.Hilbert@gmx.net>) |
| Ответы |
Re: multiple paramters in aggregate function
|
| Список | pgsql-general |
<blockquote cite="mid:20090820122224.GA5532@merkur.hilbert.loc"
type="cite">
In other words, I have a conversion table of all different units. If
there is no conversion between 2 units (such as volume and area) then
the sum returns null.
Shouldn't that return NULL IOW unknown ?
Karsten
I am not familiar with returning unknown. I know that according to the
spec an aggregate should only return null if all of its values of the
aggregate are null. If there is a way to return unknown in a non-NULL
way, then that would be preferred.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера