BUG #14046: Bad mathematical rules for 0 cast

Поиск
Список
Период
Сортировка
От jaroslaw.stoklosa@nomino.pl
Тема BUG #14046: Bad mathematical rules for 0 cast
Дата
Msg-id 20160325085614.2915.72425@wrigleys.postgresql.org
обсуждение исходный текст
Ответы Re: BUG #14046: Bad mathematical rules for 0 cast  (John McKown <john.archie.mckown@gmail.com>)
Re: BUG #14046: Bad mathematical rules for 0 cast  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
The following bug has been logged on the website:

Bug reference:      14046
Logged by:          Jarosław Stokłosa
Email address:      jaroslaw.stoklosa@nomino.pl
PostgreSQL version: 9.4.5
Operating system:    x86_64-redhat-linux-gnu
Description:

Below query should return 2 times TRUE.

SELECT cast('+0' as FLOAT) = cast('-0' as FLOAT), cast('+0' as FLOAT)::TEXT
= cast('-0' as FLOAT)::TEXT

+0 and -0 should be casted to +0 or 0.

Regards

В списке pgsql-bugs по дате отправления:

Предыдущее
От: keler@poczta.onet.pl
Дата:
Сообщение: BUG #14045: ** BUILD FAILED **
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: Breakage with VACUUM ANALYSE + partitions