Re: Re: BUG #12885: The result of casting a double to an integer depends on the database version

Поиск
Список
Период
Сортировка
От 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  (Pedro Gimeno <pgsql-004@personal.formauri.es>)
Список 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 по дате отправления:

Предыдущее
От: Kevin Grittner
Дата:
Сообщение: Re: "no-slave yet" early CREATE TABLE transaction gets blocked when synchronous replication
Следующее
От: Sékine Coulibaly
Дата:
Сообщение: Re: "no-slave yet" early CREATE TABLE transaction gets blocked when synchronous replication