Re: NaNs in numeric_power (was Re: Postgres 11 release notes)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: NaNs in numeric_power (was Re: Postgres 11 release notes)
Дата
Msg-id 496.1526478272@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: NaNs in numeric_power (was Re: Postgres 11 release notes)  (Dean Rasheed <dean.a.rasheed@gmail.com>)
Ответы Re: NaNs in numeric_power (was Re: Postgres 11 release notes)  (Dean Rasheed <dean.a.rasheed@gmail.com>)
Список pgsql-hackers
Dean Rasheed <dean.a.rasheed@gmail.com> writes:
> On 15 May 2018 at 22:55, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Here's a proposed patch for that.

> In the case 1 ^ NaN = 1, what should the result scale be?

The result is exact, so I don't see a reason to be worried about its
scale.  Messing with the scale would also require expending even
more code on what is, in the end, a corner case that no users have
expressed concern about.

            regards, tom lane


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

Предыдущее
От: Alexander Korotkov
Дата:
Сообщение: Re: Memory unit GUC range checks
Следующее
От: Ashutosh Bapat
Дата:
Сообщение: Re: Expression errors with "FOR UPDATE" and postgres_fdw withpartition wise join enabled.