Re: BUG #12885: The result of casting a double to an integer depends on the database version - Mailing list pgsql-bugs

From Pedro Gimeno
Subject Re: BUG #12885: The result of casting a double to an integer depends on the database version
Date
Msg-id 55128EBB.4030008@personal.formauri.es
Whole thread Raw
In response to Re: BUG #12885: The result of casting a double to an integer depends on the database version  (Michael Paquier <michael.paquier@gmail.com>)
List pgsql-bugs
Michael Paquier wrote, On 2015-03-25 04:26:
> copysign is not that portable, at least it is not in the MSVC world.
> So as a patch you would get something like the attached with what you
> wrote.

Here's a version without copysign.


Attachment

pgsql-bugs by date:

Previous
From: anandhi.arumugam@nexenta.com
Date:
Subject: BUG #12896: Unable to export data from Postgresql database
Next
From: Pedro Gimeno
Date:
Subject: Re: BUG #12885: The result of casting a double to an integer depends on the database version