Re: minor compiler warning in backend/utils/adt/tsrank.c
| От | Teodor Sigaev |
|---|---|
| Тема | Re: minor compiler warning in backend/utils/adt/tsrank.c |
| Дата | |
| Msg-id | 46F2B93C.6050709@sigaev.ru обсуждение исходный текст |
| Ответ на | minor compiler warning in backend/utils/adt/tsrank.c (Hannes Eder <Hannes@HannesEder.net>) |
| Список | pgsql-patches |
Thank you, committed
Hannes Eder wrote:
> while rebuilding postgres with msvc 2005 I noticed some minor compiler
> warnings:
>
> .\src\backend\utils\adt\tsrank.c(24): warning C4305: 'initializing' :
> truncation from 'double' to 'float'
> .\src\backend\utils\adt\tsrank.c(24): warning C4305: 'initializing' :
> truncation from 'double' to 'float'
> .\src\backend\utils\adt\tsrank.c(24): warning C4305: 'initializing' :
> truncation from 'double' to 'float'
> .\src\backend\utils\adt\tsrank.c(46): warning C4305: 'return' :
> truncation from 'double' to 'float4'
> .\src\backend\utils\adt\tsrank.c(339): warning C4305: '=' : truncation
> from 'double' to 'float'
>
> see attached diff
>
> -Hannes
>
>
> ------------------------------------------------------------------------
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 9: In versions below 8.0, the planner will ignore your desire to
> choose an index scan if your joining column's datatypes do not
> match
--
Teodor Sigaev E-mail: teodor@sigaev.ru
WWW: http://www.sigaev.ru/
В списке pgsql-patches по дате отправления: