Re: Rounding to even for numeric data type

Поиск
Список
Период
Сортировка
От Fabien COELHO
Тема Re: Rounding to even for numeric data type
Дата
Msg-id alpine.DEB.2.10.1505020842040.8161@sto
обсуждение исходный текст
Ответ на Re: Rounding to even for numeric data type  (Michael Paquier <michael.paquier@gmail.com>)
Ответы Re: Rounding to even for numeric data type  (Michael Paquier <michael.paquier@gmail.com>)
Список pgsql-hackers
> So, attached is a patch that does 1) and 2) to make clear to the user
> how numeric and double precision behave regarding rounding. I am
> adding it to CF 2015-06 to keep track of it...

Quick review: patches applies, make check is fine, all is well.

Two minor suggestions:

All the casting tests could be put in "numeric.sql", as there are all 
related to numeric and that would avoid duplicating the values lists.

For the documentation, I would also add 3.5 so that rounding to even is 
even clearer:-)

-- 
Fabien.



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

Предыдущее
От: Kohei KaiGai
Дата:
Сообщение: Re: feature freeze and beta schedule
Следующее
От: Fabien COELHO
Дата:
Сообщение: Re: PATCH: pgbench - merging transaction logs