Re: Windows env returns error while running "select pgstatindex"
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: Windows env returns error while running "select pgstatindex" |
| Дата | |
| Msg-id | 6800.1314200737@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Windows env returns error while running "select pgstatindex" (Euler Taveira de Oliveira <euler@timbira.com>) |
| Ответы |
Re: Windows env returns error while running "select pgstatindex"
|
| Список | pgsql-hackers |
Euler Taveira de Oliveira <euler@timbira.com> writes:
> Em 24-08-2011 11:27, Tom Lane escreveu:
>> Hmm. I agree we need to avoid executing 0/0 here, but should we force
>> the result to 0, or to NaN?
> If it returns NaN on other platforms, let's be consistent.
I kinda suspect that the NaN behavior was not designed but accidental.
What I'm wondering is whether it's really the "right", sensible,
behavior.
On reflection I suspect it isn't --- it'd bollix sum() or avg()
calculations over the function's results, for instance. But now
I'm not sure zero is the right thing to put in, either.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера