Re: Patch to fix a couple of compiler warnings from 80a5cf64 - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Patch to fix a couple of compiler warnings from 80a5cf64
Date
Msg-id 31597.1397401295@sss.pgh.pa.us
Whole thread Raw
In response to Patch to fix a couple of compiler warnings from 80a5cf64  (David Rowley <dgrowleyml@gmail.com>)
List 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 by date:

Previous
From: Thomas Mayer
Date:
Subject: Re: Window function optimisation, allow pushdowns of items matching PARTITION BY clauses
Next
From: Tom Lane
Date:
Subject: Re: Window function optimisation, allow pushdowns of items matching PARTITION BY clauses