Re: minor compiler warning in backend/utils/adt/tsrank.c

From: Teodor Sigaev <teodor(at)sigaev(dot)ru>
To: Hannes Eder <Hannes(at)HannesEder(dot)net>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, pgsql-patches(at)postgresql(dot)org
Subject: Re: minor compiler warning in backend/utils/adt/tsrank.c
Date: 2007-09-20 18:17:32
Message-ID: 46F2B93C.6050709@sigaev.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers 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(at)sigaev(dot)ru
WWW: http://www.sigaev.ru/

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2007-09-20 19:22:26 Re: HOT is applied
Previous Message Tom Lane 2007-09-20 17:59:43 HOT is applied

Browse pgsql-patches by date

  From Date Subject
Next Message Andrew Dunstan 2007-09-20 19:11:51 Re: Various fixes for syslogger
Previous Message sayali k 2007-09-20 16:15:56 Re: Implementation of aggregate functions