Re: Re: BUG #12885: The result of casting a double to an integer depends on the database version
В списке pgsql-bugs по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: Re: BUG #12885: The result of casting a double to an integer depends on the database version |
| Дата | |
| Msg-id | 3736.1427294258@sss.pgh.pa.us обсуждение |
| Ответ на | Re: BUG #12885: The result of casting a double to an integer depends on the database version (Michael Paquier <michael.paquier@gmail.com>) |
| Ответы |
Re: Re: BUG #12885: The result of casting a double to an integer
depends on the database version
|
| Список | pgsql-bugs |
Michael Paquier <michael.paquier@gmail.com> writes:
> On Wed, Mar 25, 2015 at 8:18 PM, Pedro Gimeno
> <pgsql-004@personal.formauri.es> wrote:
>> The only point of using copysign there was to deal with a negative zero
>> corner case. The attached removes copysign from the test program too,
>> relying instead on sprintf outputting the sign of minus zero when available.
> Cool, thanks. Applied to the code tree of Postgres, it gives the patch attached.
This is pretty desperately in need of some comments, but I'll see what
I can do with it.
I assume the consensus is that we should not back-patch this? It seems
like the kind of behavioral change that people might get annoyed about.
regards, tom lane
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера