Re: Patch to fix a couple of compiler warnings from 80a5cf64

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Patch to fix a couple of compiler warnings from 80a5cf64
Дата
Msg-id 31597.1397401295@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Patch to fix a couple of compiler warnings from 80a5cf64  (David Rowley <dgrowleyml@gmail.com>)
Список pgsql-hackers
David Rowley <dgrowleyml@gmail.com> writes:
> The attached patch fixes a couple of compiler warnings seen by the MSVC
> build.

Committed, thanks.

> I'm not quite sure why I get 2 warnings rather than 8, but the attached
> seems to make them go away, for what it's worth.

I think it's complaining about the 2 cases where rounding off to float4
would actually change the value compared to float8.  The other 6 numbers
are exactly represented anyway.
        regards, tom lane



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

Предыдущее
От: Thomas Mayer
Дата:
Сообщение: Re: Window function optimisation, allow pushdowns of items matching PARTITION BY clauses
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Window function optimisation, allow pushdowns of items matching PARTITION BY clauses